Nomad.Model.Allocation (nomad_client v0.10.0)

Link to this section Summary

Link to this section Types

Specs

t() :: %Nomad.Model.Allocation{
  AllocModifyIndex: integer() | nil,
  AllocatedResources: Nomad.Model.AllocatedResources.t() | nil,
  ClientDescription: String.t() | nil,
  ClientStatus: String.t() | nil,
  CreateIndex: integer() | nil,
  CreateTime: integer() | nil,
  DeploymentID: String.t() | nil,
  DeploymentStatus: Nomad.Model.AllocDeploymentStatus.t() | nil,
  DesiredDescription: String.t() | nil,
  DesiredStatus: String.t() | nil,
  DesiredTransition: Nomad.Model.DesiredTransition.t() | nil,
  EvalID: String.t() | nil,
  FollowupEvalID: String.t() | nil,
  ID: String.t() | nil,
  Job: Nomad.Model.Job.t() | nil,
  JobID: String.t() | nil,
  Metrics: Nomad.Model.AllocationMetric.t() | nil,
  ModifyIndex: integer() | nil,
  ModifyTime: integer() | nil,
  Name: String.t() | nil,
  Namespace: String.t() | nil,
  NextAllocation: String.t() | nil,
  NodeID: String.t() | nil,
  NodeName: String.t() | nil,
  PreemptedAllocations: [String.t()] | nil,
  PreemptedByAllocation: String.t() | nil,
  PreviousAllocation: String.t() | nil,
  RescheduleTracker: Nomad.Model.RescheduleTracker.t() | nil,
  Resources: Nomad.Model.Resources.t() | nil,
  Services: %{optional(String.t()) => String.t()} | nil,
  TaskGroup: String.t() | nil,
  TaskResources: %{optional(String.t()) => Nomad.Model.Resources.t()} | nil,
  TaskStates: %{optional(String.t()) => Nomad.Model.TaskState.t()} | nil
}