Documentation
¶
Index ¶
- func FindBySelector(mcps []*mcov1.MachineConfigPool, sel *metav1.LabelSelector) (*mcov1.MachineConfigPool, error)
- func FindListByNodeGroups(mcps *mcov1.MachineConfigPoolList, nodeGroups []nropv1alpha1.NodeGroup) ([]*mcov1.MachineConfigPool, error)
- func GetListByNodeGroups(ctx context.Context, cli client.Client, nodeGroups []nropv1alpha1.NodeGroup) ([]*mcov1.MachineConfigPool, error)
- func GetListFromMCOKubeletConfig(ctx context.Context, cli client.Client, mcoKubeletConfig mcov1.KubeletConfig) ([]*mcov1.MachineConfigPool, error)
- func GetNodeListFromMachineConfigPool(ctx context.Context, cli client.Client, mcp mcov1.MachineConfigPool) ([]corev1.Node, error)
- type NodeGroupTree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindBySelector ¶
func FindBySelector(mcps []*mcov1.MachineConfigPool, sel *metav1.LabelSelector) (*mcov1.MachineConfigPool, error)
func FindListByNodeGroups ¶
func FindListByNodeGroups(mcps *mcov1.MachineConfigPoolList, nodeGroups []nropv1alpha1.NodeGroup) ([]*mcov1.MachineConfigPool, error)
func GetListByNodeGroups ¶
func GetListByNodeGroups(ctx context.Context, cli client.Client, nodeGroups []nropv1alpha1.NodeGroup) ([]*mcov1.MachineConfigPool, error)
func GetListFromMCOKubeletConfig ¶
func GetListFromMCOKubeletConfig(ctx context.Context, cli client.Client, mcoKubeletConfig mcov1.KubeletConfig) ([]*mcov1.MachineConfigPool, error)
Types ¶
type NodeGroupTree ¶
type NodeGroupTree struct { NodeGroup *nropv1alpha1.NodeGroup MachineConfigPools []*mcov1.MachineConfigPool }
func FindTreesByNodeGroups ¶
func FindTreesByNodeGroups(mcps *mcov1.MachineConfigPoolList, nodeGroups []nropv1alpha1.NodeGroup) ([]NodeGroupTree, error)
func GetTreesByNodeGroup ¶
func GetTreesByNodeGroup(ctx context.Context, cli client.Client, nodeGroups []nropv1alpha1.NodeGroup) ([]NodeGroupTree, error)
func (NodeGroupTree) Clone ¶
func (ngt NodeGroupTree) Clone() NodeGroupTree
Click to show internal directories.
Click to hide internal directories.