Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { ID string IP string Addr string Name string Labels map[string]string Containers cluster.Containers Images []*cluster.Image UsedMemory int64 UsedCpus int64 TotalMemory int64 TotalCpus int64 HealthIndicator int64 }
Node is an abstract type used by the scheduler.
func (*Node) AddContainer ¶
AddContainer injects a container into the internal state.
Click to show internal directories.
Click to hide internal directories.