Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeManager ¶
type NodeManager interface { GetNodeByName(ctx context.Context, nodeName string) (*corev1.Node, error) ListNodes(ctx context.Context, opts ...client.ListOption) (*corev1.NodeList, error) MatchLabelSelector(ctx context.Context, nodeName string, labelSelector *metav1.LabelSelector) (bool, error) }
func NewNodeManager ¶
func NewNodeManager(c client.Client) (NodeManager, error)
Click to show internal directories.
Click to hide internal directories.