NomadClient.Model.Job (nomad_client v0.12.4)

Link to this section Summary

Link to this section Types

Specs

t() :: %NomadClient.Model.Job{
  Affinities: [NomadClient.Model.Affinity.t()] | nil,
  AllAtOnce: boolean() | nil,
  Constraints: [NomadClient.Model.Constraint.t()] | nil,
  ConsulToken: String.t() | nil,
  CreateIndex: integer() | nil,
  Datacenters: [String.t()] | nil,
  Dispatched: boolean() | nil,
  ID: String.t() | nil,
  JobModifyIndex: integer() | nil,
  Meta: %{optional(String.t()) => String.t()} | nil,
  Migrate: NomadClient.Model.MigrateStrategy.t() | nil,
  ModifyIndex: integer() | nil,
  Name: String.t() | nil,
  Namespace: String.t() | nil,
  ParameterizedJob: NomadClient.Model.ParameterizedJobConfig.t() | nil,
  ParentID: String.t() | nil,
  Payload: binary() | nil,
  Periodic: NomadClient.Model.PeriodicConfig.t() | nil,
  Priority: integer() | nil,
  Region: String.t() | nil,
  Reschedule: NomadClient.Model.ReschedulePolicy.t() | nil,
  Spreads: [NomadClient.Model.Spread.t()] | nil,
  Stable: boolean() | nil,
  Status: String.t() | nil,
  StatusDescription: String.t() | nil,
  Stop: boolean() | nil,
  SubmitTime: integer() | nil,
  TaskGroups: [NomadClient.Model.TaskGroup.t()] | nil,
  Type: String.t() | nil,
  Update: NomadClient.Model.UpdateStrategy.t() | nil,
  VaultToken: String.t() | nil,
  Version: integer() | nil
}