machineconfigpools

package
v0.4.12-0.2022110301 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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)

func GetNodeListFromMachineConfigPool

func GetNodeListFromMachineConfigPool(ctx context.Context, cli client.Client, mcp mcov1.MachineConfigPool) ([]corev1.Node, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL