Documentation ¶
Index ¶
- type AlertChan
- type AlertMessage
- type AllocCpuStats
- type AllocMemoryStats
- type AllocationStats
- type Allocations
- type Attribute
- type DNSConfig
- type DrainMetadata
- type DrainStatus
- type DriverInfo
- type Events
- type FieldDiff
- type JobVersion
- type JobVersionDiff
- type Jobs
- type Metadata
- type Namespaces
- type NetworkResource
- type NodeCpuResources
- type NodeDevice
- type NodeDeviceLocality
- type NodeDeviceResource
- type NodeDiskResources
- type NodeMemoryResources
- type NodePools
- type NodeReservedCpuResources
- type NodeReservedDiskResources
- type NodeReservedMemoryResources
- type NodeReservedNetworkResources
- type NodeReservedResources
- type NodeResources
- type Nodes
- type NomadParams
- type ObjectDiff
- type Port
- type Regions
- type Summary
- type TaskConfig
- type TaskDiff
- type TaskGroupDiff
- type TaskGroups
- type TaskResource
- type TaskRestartPolicy
- type Tasks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertChan ¶
type AlertChan chan AlertMessage
type AlertMessage ¶
type AllocCpuStats ¶
type AllocMemoryStats ¶
type AllocationStats ¶
type AllocationStats struct { Memory AllocMemoryStats Cpu AllocCpuStats }
type Allocations ¶
type DrainMetadata ¶
type DrainStatus ¶
type DrainStatus string
type DriverInfo ¶
type JobVersion ¶
type JobVersionDiff ¶
type JobVersionDiff struct { Type string ID string Fields []*api.FieldDiff Objects []*api.ObjectDiff TaskGroups []*api.TaskGroupDiff }
type Namespaces ¶
type NetworkResource ¶
type NodeCpuResources ¶
type NodeDevice ¶
type NodeDevice struct { ID string Healthy bool HealthDescription string Locality *NodeDeviceLocality }
type NodeDeviceLocality ¶
type NodeDeviceLocality struct {
PciBusID string
}
type NodeDeviceResource ¶
type NodeDiskResources ¶
type NodeDiskResources struct {
DiskMB int64
}
type NodeMemoryResources ¶
type NodeMemoryResources struct {
MemoryMB int64
}
type NodeReservedCpuResources ¶
type NodeReservedCpuResources struct {
}type NodeReservedDiskResources ¶
type NodeReservedDiskResources struct {
DiskMB uint64
}
type NodeReservedMemoryResources ¶
type NodeReservedMemoryResources struct {
MemoryMB uint64
}
type NodeReservedNetworkResources ¶
type NodeReservedNetworkResources struct {
ReservedHostPorts string
}
type NodeReservedResources ¶
type NodeReservedResources struct { Cpu NodeReservedCpuResources Memory NodeReservedMemoryResources Disk NodeReservedDiskResources Networks NodeReservedNetworkResources }
type NodeResources ¶
type NodeResources struct { Cpu NodeCpuResources Memory NodeMemoryResources Disk NodeDiskResources Networks []*NetworkResource Devices []*NodeDeviceResource MinDynamicPort int MaxDynamicPort int }
type Nodes ¶
type Nodes struct { Address string ID string Attributes map[string]string Datacenter string Name string NodeClass string NodePool string Version string Drain bool SchedulingEligibility string Status string StatusDescription string AllocsCount int Drivers map[string]*DriverInfo NodeResources *NodeResources ReservedResources *NodeReservedResources LastDrain *DrainMetadata CreateIndex uint64 ModifyIndex uint64 }
type NomadParams ¶
type ObjectDiff ¶
type ObjectDiff struct { Type string Name string Fields []*FieldDiff Objects []*ObjectDiff }
type TaskConfig ¶
type TaskDiff ¶
type TaskDiff struct { Type string Name string Fields []*FieldDiff Objects []*ObjectDiff Annotations []string }
type TaskGroupDiff ¶
type TaskGroups ¶
type TaskResource ¶
type TaskRestartPolicy ¶
type Tasks ¶
type Tasks struct { Name string Driver string Config map[string]interface{} Env map[string]string Resources TaskResource RestartPolicy TaskRestartPolicy }
Click to show internal directories.
Click to hide internal directories.