Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyCNINodeCount ¶ added in v1.5.0
VerifyCNINodeCount checks if the number of CNINodes is equal to number of nodes in the cluster, and verifies 1:1 mapping between CNINode and Node objects Returns nil if count and 1:1 mapping exists, else returns error
Types ¶
type Manager ¶
type Manager interface { GetNodesWithOS(os string) (*v1.NodeList, error) AddLabels(nodeList []v1.Node, label map[string]string) error RemoveLabels(nodeList []v1.Node, label map[string]string) error GetNode(node *v1.Node) (*v1.Node, error) GetNodeList() (*v1.NodeList, error) GetCNINode(node *v1.Node) (*cninode.CNINode, error) GetCNINodeList() (*cninode.CNINodeList, error) GetInstanceID(node *v1.Node) string DeleteCNINode(cniNode *cninode.CNINode) error UpdateCNINode(oldCNINode, newCNINode *cninode.CNINode) error }
func NewManager ¶
Click to show internal directories.
Click to hide internal directories.