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.Container Images []*cluster.Image UsedMemory int64 UsedCpus int64 TotalMemory int64 TotalCpus int64 IsHealthy bool }
Node is an abstract type used by the scheduler
func (*Node) AddContainer ¶
AddContainer inject a container into the internal state.
Click to show internal directories.
Click to hide internal directories.