Documentation
¶
Index ¶
- func CreateNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string, ...) error
- func CreateOrUpdateNodeUser(ctx context.Context, kubeProvider kubernetes.KubeClientProviderWithCtx, ...) error
- func DeleteNode(ctx context.Context, kubeCl *client.KubernetesClient, nodeName string) error
- func DeleteNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string) error
- func DeleteNodeUser(ctx context.Context, kubeProvider kubernetes.KubeClientProviderWithCtx, ...) error
- func GetCloudConfig(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string, ...) (string, error)
- func GetMetaConfig(ctx context.Context, kubeCl *client.KubernetesClient, logger log.Logger, ...) (*config.MetaConfig, error)
- func GetNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string) (*unstructured.Unstructured, error)
- func GetNodeGroupDirect(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string) (*unstructured.Unstructured, error)
- func GetNodeGroupTemplates(ctx context.Context, kubeCl *client.KubernetesClient) (map[string]map[string]interface{}, error)
- func GetNodeGroups(ctx context.Context, kubeCl *client.KubernetesClient) ([]unstructured.Unstructured, error)
- func IsNodeExistsInCluster(ctx context.Context, kubeCl *client.KubernetesClient, nodeName string, ...) (bool, error)
- func UnstructuredToNodeGroup(o *unstructured.Unstructured) (*v1.NodeGroup, error)
- func UpdateNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string, ...) error
- func WaitForNodesBecomeReady(ctx context.Context, kubeCl *client.KubernetesClient, ...) error
- func WaitForNodesListBecomeReady(ctx context.Context, kubeCl *client.KubernetesClient, nodes []string, ...) error
- func WaitForSingleNodeBecomeReady(ctx context.Context, kubeCl *client.KubernetesClient, nodeName string) error
- type NodeIP
- type NodeUserPresentsChecker
- type NodeUserPresentsWaiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNodeGroup ¶
func CreateOrUpdateNodeUser ¶
func CreateOrUpdateNodeUser(ctx context.Context, kubeProvider kubernetes.KubeClientProviderWithCtx, nodeUser *v1.NodeUser, loopParams retry.Params) error
func DeleteNode ¶
func DeleteNodeGroup ¶
func DeleteNodeUser ¶
func DeleteNodeUser(ctx context.Context, kubeProvider kubernetes.KubeClientProviderWithCtx, name string) error
func GetCloudConfig ¶
func GetMetaConfig ¶
func GetMetaConfig(ctx context.Context, kubeCl *client.KubernetesClient, logger log.Logger, dc *directoryconfig.DirectoryConfig) (*config.MetaConfig, error)
func GetNodeGroup ¶
func GetNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string) (*unstructured.Unstructured, error)
func GetNodeGroupDirect ¶
func GetNodeGroupDirect(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string) (*unstructured.Unstructured, error)
func GetNodeGroupTemplates ¶
func GetNodeGroups ¶
func GetNodeGroups(ctx context.Context, kubeCl *client.KubernetesClient) ([]unstructured.Unstructured, error)
func IsNodeExistsInCluster ¶
func UnstructuredToNodeGroup ¶
func UnstructuredToNodeGroup(o *unstructured.Unstructured) (*v1.NodeGroup, error)
func UpdateNodeGroup ¶
func UpdateNodeGroup(ctx context.Context, kubeCl *client.KubernetesClient, nodeGroupName string, ng *unstructured.Unstructured) error
func WaitForNodesBecomeReady ¶
func WaitForNodesListBecomeReady ¶
func WaitForNodesListBecomeReady(ctx context.Context, kubeCl *client.KubernetesClient, nodes []string, checker hook.NodeChecker) error
Types ¶
type NodeIP ¶
func GetMasterNodesIPs ¶
func GetMasterNodesIPs(ctx context.Context, kubeProvider kubernetes.KubeClientProviderWithCtx, loopParams retry.Params) ([]NodeIP, error)
type NodeUserPresentsChecker ¶
type NodeUserPresentsWaiter ¶
type NodeUserPresentsWaiter struct {
// contains filtered or unexported fields
}
func NewConvergerNodeUserExistsWaiter ¶
func NewConvergerNodeUserExistsWaiter(kubeProvider kubernetes.KubeClientProviderWithCtx) *NodeUserPresentsWaiter
func NewNodeUserExistsWaiter ¶
func NewNodeUserExistsWaiter(checker NodeUserPresentsChecker, kubeProvider kubernetes.KubeClientProviderWithCtx) *NodeUserPresentsWaiter
func (*NodeUserPresentsWaiter) WaitPresentOnNodes ¶
func (w *NodeUserPresentsWaiter) WaitPresentOnNodes(ctx context.Context, nodeUser *v1.NodeUserCredentials) error
func (*NodeUserPresentsWaiter) WithParams ¶
func (w *NodeUserPresentsWaiter) WithParams(params retry.Params) *NodeUserPresentsWaiter
Click to show internal directories.
Click to hide internal directories.