NomadClient.Model.Allocation (nomad_client v0.12.4)

Link to this section Summary

Link to this section Types

Specs

t() :: %NomadClient.Model.Allocation{
  AllocModifyIndex: integer() | nil,
  AllocatedResources: NomadClient.Model.AllocatedResources.t() | nil,
  ClientDescription: String.t() | nil,
  ClientStatus: String.t() | nil,
  CreateIndex: integer() | nil,
  CreateTime: integer() | nil,
  DeploymentID: String.t() | nil,
  DeploymentStatus: NomadClient.Model.AllocDeploymentStatus.t() | nil,
  DesiredDescription: String.t() | nil,
  DesiredStatus: String.t() | nil,
  DesiredTransition: NomadClient.Model.DesiredTransition.t() | nil,
  EvalID: String.t() | nil,
  FollowupEvalID: String.t() | nil,
  ID: String.t() | nil,
  Job: NomadClient.Model.Job.t() | nil,
  JobID: String.t() | nil,
  Metrics: NomadClient.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: NomadClient.Model.RescheduleTracker.t() | nil,
  Resources: NomadClient.Model.Resources.t() | nil,
  Services: %{optional(String.t()) => String.t()} | nil,
  TaskGroup: String.t() | nil,
  TaskResources:
    %{optional(String.t()) => NomadClient.Model.Resources.t()} | nil,
  TaskStates: %{optional(String.t()) => NomadClient.Model.TaskState.t()} | nil
}