controller

package
v1.13.12 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// ClusterStatusSucceeded The Succeeeded state indicates the cluster has been
	// created and is fully usable, return code 0
	ClusterStatusSucceeded = "Succeeded"

	// ClusterStatusFailed The Failed state indicates the cluster is unusable, return code 1
	ClusterStatusFailed = "Failed"

	// ClusterStatusInProgress The InProgress state indicates that some work is
	// actively being done on the cluster, such as upgrading the master or
	// node software, return code 3
	ClusterStatusInProgress = "InProgress"

	// ClusterStatusUpdating The Updating state indicates the cluster is updating
	ClusterStatusUpdating = "Updating"

	// ClusterStatusCanceled The Canceled state indicates that create or update was canceled, return code 2
	ClusterStatusCanceled = "Canceled"

	// ClusterStatusDeleting The Deleting state indicates that cluster was removed, return code 4
	ClusterStatusDeleting = "Deleting"

	// NodePoolSucceeded The Succeeeded state indicates the node pool has been
	// created and is fully usable, return code 0
	NodePoolSucceeded = "Succeeded"

	// NodePoolCreating The Creating state indicates that node pool is creating
	NodePoolCreating = "Creating"

	// NodePoolScaling The Scaling state indicates that node pool is being scaled
	NodePoolScaling = "Scaling"

	// NodePoolDeleting The Deleting state indicates that node pool is being deleted
	NodePoolDeleting = "Deleting"

	// NodePoolUpgrading The Upgrading state indicates that node pool is upgrading
	NodePoolUpgrading = "Upgrading"
)

Cluster Status

Variables

This section is empty.

Functions

func BuildUpstreamClusterState

func BuildUpstreamClusterState(ctx context.Context, secretsCache wranglerv1.SecretCache, secretClient wranglerv1.SecretClient, spec *aksv1.AKSClusterConfigSpec) (*aksv1.AKSClusterConfigSpec, error)

BuildUpstreamClusterState creates an AKSClusterConfigSpec (spec for the AKS cluster state) from the existing cluster configuration.

func GetClusterKubeConfig

func GetClusterKubeConfig(ctx context.Context, secretsCache wranglerv1.SecretCache, secretClient wranglerv1.SecretClient, spec *aksv1.AKSClusterConfigSpec) (restConfig *rest.Config, err error)

GetClusterKubeConfig returns a kubeconfig for a given cluster. This function is imported in rancher/rancher and has to stay for compatibility.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) OnAksConfigChanged

func (h *Handler) OnAksConfigChanged(_ string, config *aksv1.AKSClusterConfig) (*aksv1.AKSClusterConfig, error)

func (*Handler) OnAksConfigRemoved

func (h *Handler) OnAksConfigRemoved(_ string, config *aksv1.AKSClusterConfig) (*aksv1.AKSClusterConfig, error)

Jump to

Keyboard shortcuts

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