Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNodePoolIdentifier ¶
type ClusterNodePoolIdentifier interface { // IsPoolMember identifies whether the node is a member of the node pool. // It is the responsibility of the implementation to read the node info if // the required information is not within the stub struct. IsPoolMember(*api.NodeListStub) bool // Key returns the string representation of the pool identifier. Key() string // Value returns the pool identifier value that nodes are being filtered // by. Value() string }
ClusterNodePoolIdentifier is the interface that defines how nodes are classed into pools of resources.
func NewNodeClassPoolIdentifier ¶
func NewNodeClassPoolIdentifier(id string) ClusterNodePoolIdentifier
NewNodeClassPoolIdentifier returns a new nodeClassClusterPoolIdentifier implementation of the ClusterNodePoolIdentifier interface.
Click to show internal directories.
Click to hide internal directories.