Documentation ¶
Index ¶
- func AdaptFunc(clusterID string, oneoff bool, deployOrbiter bool, ...) orbiter.AdaptFunc
- func EnsureBoomArtifacts(monitor mntr.Monitor, client *Client, version string, ...) error
- func EnsureCommonArtifacts(monitor mntr.Monitor, client *Client) error
- func EnsureConfigArtifacts(monitor mntr.Monitor, client *Client, orb *orb.Orb) error
- func EnsureOrbiterArtifacts(monitor mntr.Monitor, client *Client, orbiterversion string, ...) error
- func EnsureZitadelArtifacts(monitor mntr.Monitor, client *Client, version string, ...) error
- func GetProviderInfos(desired *DesiredV0, providerCurrents map[string]interface{}) (map[string]map[string]infra.Pool, *infra.Address, error)
- func KubernetesSoftware(current common.Software) common.Software
- func ScaleZitadelOperator(monitor mntr.Monitor, client *Client, replicaCount int) error
- type Client
- func (c *Client) ApplyClusterRole(rsc *rbac.ClusterRole) error
- func (c *Client) ApplyClusterRoleBinding(rsc *rbac.ClusterRoleBinding) error
- func (c *Client) ApplyConfigmap(rsc *core.ConfigMap) error
- func (c *Client) ApplyCronJob(rsc *v1beta1.CronJob) error
- func (c *Client) ApplyDeployment(rsc *apps.Deployment) error
- func (c *Client) ApplyJob(rsc *batch.Job) error
- func (c *Client) ApplyNamespace(rsc *core.Namespace) error
- func (c *Client) ApplyNamespacedCRDResource(group, version, kind, namespace, name string, crd *unstructured.Unstructured) error
- func (c *Client) ApplyPodDisruptionBudget(rsc *policy.PodDisruptionBudget) error
- func (c *Client) ApplyRole(rsc *rbac.Role) error
- func (c *Client) ApplyRoleBinding(rsc *rbac.RoleBinding) error
- func (c *Client) ApplySecret(rsc *core.Secret) error
- func (c *Client) ApplyService(rsc *core.Service) error
- func (c *Client) ApplyServiceAccount(rsc *core.ServiceAccount) error
- func (c *Client) ApplyStatefulSet(rsc *apps.StatefulSet) error
- func (c *Client) Available() bool
- func (c *Client) CheckCRD(name string) (*apixv1beta1.CustomResourceDefinition, error)
- func (c *Client) DeleteClusterRole(name string) error
- func (c *Client) DeleteClusterRoleBinding(name string) error
- func (c *Client) DeleteConfigmap(namespace, name string) error
- func (c *Client) DeleteCronJob(namespace string, name string) error
- func (c *Client) DeleteDeployment(namespace, name string) error
- func (c *Client) DeleteJob(namespace string, name string) error
- func (c *Client) DeleteNamespace(name string) error
- func (c *Client) DeleteNamespacedCRDResource(group, version, kind, namespace, name string) error
- func (c *Client) DeletePod(namespace, name string) error
- func (c *Client) DeletePodDisruptionBudget(namespace string, name string) error
- func (c *Client) DeletePodsByLabels(namespace string, labels map[string]string) error
- func (c *Client) DeleteRole(namespace, name string) error
- func (c *Client) DeleteRoleBinding(namespace, name string) error
- func (c *Client) DeleteSecret(namespace, name string) error
- func (c *Client) DeleteService(namespace, name string) error
- func (c *Client) DeleteServiceAccount(namespace, name string) error
- func (c *Client) DeleteStatefulset(namespace, name string) error
- func (c *Client) Drain(machine *Machine, node *core.Node, reason drainReason) (err error)
- func (c *Client) EnsureDeleted(name string, machine *Machine, node NodeWithKubeadm) (err error)
- func (c *Client) ExecInPod(namespace, name, container, command string) error
- func (c *Client) ExecInPodOfDeployment(namespace, name, container, command string) error
- func (c *Client) GetConfigMap(namespace, name string) (*core.ConfigMap, error)
- func (c *Client) GetDeployment(namespace, name string) (*apps.Deployment, error)
- func (c *Client) GetJob(namespace, name string) (*batch.Job, error)
- func (c *Client) GetNamespacedCRDResource(group, version, kind, namespace, name string) (*unstructured.Unstructured, error)
- func (c *Client) GetNode(id string) (node *core.Node, err error)
- func (c *Client) ListNamespaces() (*core.NamespaceList, error)
- func (c *Client) ListNodes(filterID ...string) (nodes []core.Node, err error)
- func (c *Client) ListSecrets(namespace string, labels map[string]string) (*core.SecretList, error)
- func (c *Client) Refresh(kubeconfig *string) (err error)
- func (c *Client) RefreshConfig(config *rest.Config) (err error)
- func (c *Client) RemoveFromTaints(taints []core.Taint, reason drainReason) (result []core.Taint)
- func (c *Client) ScaleDeployment(namespace, name string, replicaCount int) error
- func (c *Client) Tainted(node *core.Node, reason drainReason) bool
- func (c *Client) WaitForConfigMap(namespace string, name string, timeoutSeconds time.Duration) error
- func (c *Client) WaitForSecret(namespace string, name string, timeoutSeconds time.Duration) error
- func (c *Client) WaitUntilDeploymentReady(namespace string, name string, containerCheck, readyCheck bool, ...) error
- func (c *Client) WaitUntilJobCompleted(namespace string, name string, timeoutSeconds time.Duration) error
- func (c *Client) WaitUntilStatefulsetIsReady(namespace string, name string, containerCheck, readyCheck bool, ...) error
- type CloudIntegration
- type Current
- type CurrentCluster
- type DesiredV0
- type File
- type IDFunc
- type KubernetesVersion
- func (k KubernetesVersion) DefineSoftware() common.Software
- func (k KubernetesVersion) ExtractMinor(monitor mntr.Monitor) (int, error)
- func (k KubernetesVersion) ExtractPatch(monitor mntr.Monitor) (int, error)
- func (k KubernetesVersion) NextHighestMinor() KubernetesVersion
- func (k KubernetesVersion) String() string
- type Machine
- type MachineMetadata
- type Machines
- type NodeWithKubeadm
- type NotAvailableError
- type Pool
- type Spec
- type Taint
- type Taints
- type Tier
- type Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBoomArtifacts ¶ added in v0.21.0
func EnsureCommonArtifacts ¶ added in v0.21.0
func EnsureConfigArtifacts ¶ added in v0.21.0
func EnsureOrbiterArtifacts ¶ added in v0.21.0
func EnsureZitadelArtifacts ¶ added in v0.30.0
func GetProviderInfos ¶ added in v0.26.0
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ApplyClusterRole ¶
func (c *Client) ApplyClusterRole(rsc *rbac.ClusterRole) error
func (*Client) ApplyClusterRoleBinding ¶
func (c *Client) ApplyClusterRoleBinding(rsc *rbac.ClusterRoleBinding) error
func (*Client) ApplyConfigmap ¶ added in v0.30.0
func (*Client) ApplyCronJob ¶ added in v0.30.0
func (*Client) ApplyDeployment ¶
func (c *Client) ApplyDeployment(rsc *apps.Deployment) error
func (*Client) ApplyNamespacedCRDResource ¶ added in v0.30.0
func (c *Client) ApplyNamespacedCRDResource(group, version, kind, namespace, name string, crd *unstructured.Unstructured) error
func (*Client) ApplyPodDisruptionBudget ¶ added in v0.30.0
func (c *Client) ApplyPodDisruptionBudget(rsc *policy.PodDisruptionBudget) error
func (*Client) ApplyRoleBinding ¶
func (c *Client) ApplyRoleBinding(rsc *rbac.RoleBinding) error
func (*Client) ApplyServiceAccount ¶
func (c *Client) ApplyServiceAccount(rsc *core.ServiceAccount) error
func (*Client) ApplyStatefulSet ¶ added in v0.30.0
func (c *Client) ApplyStatefulSet(rsc *apps.StatefulSet) error
func (*Client) CheckCRD ¶ added in v0.30.0
func (c *Client) CheckCRD(name string) (*apixv1beta1.CustomResourceDefinition, error)
func (*Client) DeleteClusterRole ¶ added in v0.30.0
func (*Client) DeleteClusterRoleBinding ¶ added in v0.30.0
func (*Client) DeleteConfigmap ¶ added in v0.30.0
func (*Client) DeleteCronJob ¶ added in v0.30.0
func (*Client) DeleteDeployment ¶
func (*Client) DeleteNamespace ¶ added in v0.30.0
func (*Client) DeleteNamespacedCRDResource ¶ added in v0.30.0
func (*Client) DeletePodDisruptionBudget ¶ added in v0.30.0
func (*Client) DeletePodsByLabels ¶ added in v0.30.0
func (*Client) DeleteRole ¶ added in v0.30.0
func (*Client) DeleteRoleBinding ¶ added in v0.30.0
func (*Client) DeleteSecret ¶ added in v0.30.0
func (*Client) DeleteService ¶ added in v0.30.0
func (*Client) DeleteServiceAccount ¶ added in v0.30.0
func (*Client) DeleteStatefulset ¶ added in v0.30.0
func (*Client) EnsureDeleted ¶
func (c *Client) EnsureDeleted(name string, machine *Machine, node NodeWithKubeadm) (err error)
func (*Client) ExecInPodOfDeployment ¶ added in v0.30.0
func (*Client) GetConfigMap ¶ added in v0.30.0
func (*Client) GetDeployment ¶ added in v0.30.0
func (c *Client) GetDeployment(namespace, name string) (*apps.Deployment, error)
func (*Client) GetNamespacedCRDResource ¶ added in v0.30.0
func (c *Client) GetNamespacedCRDResource(group, version, kind, namespace, name string) (*unstructured.Unstructured, error)
func (*Client) ListNamespaces ¶ added in v0.30.0
func (c *Client) ListNamespaces() (*core.NamespaceList, error)
func (*Client) ListSecrets ¶ added in v0.30.0
func (*Client) RefreshConfig ¶ added in v0.25.0
func (*Client) RemoveFromTaints ¶ added in v0.29.0
func (*Client) ScaleDeployment ¶ added in v0.30.0
func (*Client) WaitForConfigMap ¶ added in v0.30.0
func (*Client) WaitForSecret ¶ added in v0.30.0
func (*Client) WaitUntilDeploymentReady ¶ added in v0.30.0
func (*Client) WaitUntilJobCompleted ¶ added in v0.30.0
type CloudIntegration ¶ added in v0.22.0
type CloudIntegration int
type Current ¶
type Current struct { Common tree.Common `yaml:",inline"` Current *CurrentCluster }
type CurrentCluster ¶
type KubernetesVersion ¶
type KubernetesVersion int
const ( Unknown KubernetesVersion = iota V1x15x0 V1x15x1 V1x15x2 V1x15x3 V1x15x4 V1x15x5 V1x15x6 V1x15x7 V1x15x8 V1x15x9 V1x15x10 V1x15x11 V1x15x12 V1x16x0 V1x16x1 V1x16x2 V1x16x3 V1x16x4 V1x16x5 V1x16x6 V1x16x7 V1x16x8 V1x16x9 V1x16x10 V1x16x11 V1x16x12 V1x16x13 V1x16x14 V1x17x0 V1x17x1 V1x17x2 V1x17x3 V1x17x4 V1x17x5 V1x17x6 V1x17x7 V1x17x8 V1x17x9 V1x17x10 V1x17x11 V1x18x0 V1x18x1 V1x18x2 V1x18x3 V1x18x4 V1x18x5 V1x18x6 V1x18x7 V1x18x8 )
func ParseString ¶
func ParseString(version string) KubernetesVersion
func (KubernetesVersion) DefineSoftware ¶
func (k KubernetesVersion) DefineSoftware() common.Software
func (KubernetesVersion) ExtractMinor ¶
func (k KubernetesVersion) ExtractMinor(monitor mntr.Monitor) (int, error)
func (KubernetesVersion) ExtractPatch ¶
func (k KubernetesVersion) ExtractPatch(monitor mntr.Monitor) (int, error)
func (KubernetesVersion) NextHighestMinor ¶
func (k KubernetesVersion) NextHighestMinor() KubernetesVersion
func (KubernetesVersion) String ¶
func (k KubernetesVersion) String() string
type MachineMetadata ¶
type Machines ¶ added in v0.23.0
type NodeWithKubeadm ¶
type NotAvailableError ¶
type NotAvailableError struct{}
func (*NotAvailableError) Error ¶
func (n *NotAvailableError) Error() string
type Spec ¶
type Spec struct { ControlPlane Pool Kubeconfig *secret.Secret `yaml:",omitempty"` Networking struct { DNSDomain string Network string ServiceCidr orbiter.CIDR PodCidr orbiter.CIDR } Verbose bool Versions struct { Kubernetes string Orbiter string } // Use this registry to pull all kubernetes and ORBITER container images from //@default: ghcr.io CustomImageRegistry string Workers []*Pool }
type Taint ¶
type Taint struct { Key string `yaml:"key"` Value string `yaml:"value,omitempty"` Effect core.TaintEffect `yaml:"effect"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.