# Functions
ClusterPhase derives the cluster phase from the Kubernetes namespace.
LabelUser encodes an arbitrary user string into a Kubernetes label value compatible value.
LoadSecrets loads secrets from the given path.
MarshalCluster updates a Kubernetes namespace from a Kubermatic cluster.
NamespaceName create a namespace name for a given cluster.
NewKubernetesFakeProvider creates a new kubernetes provider object.
NewKubernetesProvider creates a new kubernetes provider object.
NewSeedProvider creates a new seed provider object.
Providers creates KubernetesProviders for each context in the kubeconfig.
UnmarshalCluster decodes a Kubernetes namespace into a Kubermatic cluster.
# Constants
ClusterRoleLabel is the value of the role label of a cluster namespace.
kubermatic.io/last-deployed-master-verion.
kubermatic.io/master-update-phase.
kubermatic.io/master-verion.
RoleLabelKey is the label key set to the value kubermatic-cluster.
WorkerNameLabelKey identifies clusters that are only processed by workerName cluster controllers.