# Packages
No description provided by the author
Package mocks is a generated GoMock package.
No description provided by the author
# Functions
APIServerExtraArgs takes a map of API Server extra args and returns the relevant API server extra args if it's not nil or empty.
No description provided by the author
CgroupDriverExtraArgs args added for kube versions below 1.24.
CgroupDriverSystemdExtraArgs args added for kube versions 1.24 and above.
ChangeDiff generates a version change diff for the CAPI components.
Cluster builds a CAPI Cluster based on an eks-a cluster spec, infrastructureObject, controlPlaneObject and unstackedEtcdObject.
ClusterCASecretName returns the name of the cluster CA secret for the cluster.
ClusterKubeconfigSecretName returns the name of the kubeconfig secret for the cluster.
ClusterName generates the CAPI cluster name for an EKSA Cluster.
No description provided by the author
No description provided by the author
ControlPlaneMachineHealthCheckName returns a name for a kcp machine health check.
ControlPlaneMachineTemplateName sets the default object name on the control plane machine template.
No description provided by the author
CreateContainerdConfigFileInKubeadmConfigTemplate adds the prekubeadm command to create containerd config file in kubeadmConfigTemplate if registry mirror config exists.
CreateContainerdConfigFileInKubeadmControlPlane adds the prekubeadm command to create containerd config file in kubeadmControlPlane if registry mirror config exists.
No description provided by the author
No description provided by the author
EnsureNewNameIfChanged updates an object's name if such object is different from its current state in the cluster.
EtcdadmCluster builds a etcdadmCluster based on an eks-a cluster spec and infrastructureTemplate.
EtcdClusterName sets the default EtcdCluster object name.
EtcdEncryptionExtraArgs takes a list of EtcdEncryption configs and returns the relevant API server extra args if it's not nil or empty.
EtcdMachineTemplateName sets the default object name on the etcd machine template.
GetKubeadmConfigTemplate retrieves a KubeadmConfigTemplate using a client Implements ObjectRetriever.
GetProviders lists all installed CAPI providers across all namespaces from the kube-api server.
IncrementName takes an object name and increments the suffix number by one.
IncrementNameWithFallbackDefault calls the IncrementName and fallbacks to use the default name if IncrementName returns an error.
No description provided by the author
InitialTemplateNamesForWorkers returns the default initial names for workers machine templates and kubeadm config templates.
No description provided by the author
KubeadmConfigTemplateEqual returns true only if the new version of a KubeadmConfigTemplate involves changes with respect to the old one when applied to the cluster.
No description provided by the author
KubeadmControlPlaneName generates the kubeadmControlPlane name for an EKSA Cluster.
MachineDeployment builds a machineDeployment based on an eks-a cluster spec, workerNodeGroupConfig, bootstrapObject and infrastructureObject.
MachineDeploymentName returns the name for the corresponding MachineDeployment to an EKS-A worker node group.
MachineHealthCheckForControlPlane creates MachineHealthCheck resources for the control plane.
MachineHealthCheckForWorkers creates MachineHealthCheck resources for the workers.
MachineHealthCheckObjects creates MachineHealthCheck resources for control plane and all the worker node groups.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RestartContainerdInKubeadmConfigTemplate adds the prekubeadm command to restart containerd daemon in kubeadmConfigTemplate if registry mirror or proxy config exists.
RestartContainerdInKubeadmControlPlane adds the prekubeadm command to restart containerd daemon in kubeadmControlPlane if registry mirror or proxy config exists.
No description provided by the author
We don't need to add these once the Kubernetes components default to using the secure cipher suites.
SetBottlerocketAdminContainerImageInEtcdCluster overrides the default bottlerocket admin container image metadata in etcdadmCluster.
SetBottlerocketAdminContainerImageInKubeadmConfigTemplate overrides the default bottlerocket admin container image metadata in kubeadmConfigTemplate.
SetBottlerocketAdminContainerImageInKubeadmControlPlane overrides the default bottlerocket admin container image metadata in kubeadmControlPlane.
SetBottlerocketControlContainerImageInEtcdCluster overrides the default bottlerocket control container image metadata in etcdadmCluster.
SetBottlerocketControlContainerImageInKubeadmConfigTemplate overrides the default bottlerocket control container image metadata in kubeadmConfigTemplate.
SetBottlerocketControlContainerImageInKubeadmControlPlane overrides the default bottlerocket control container image metadata in kubeadmControlPlane.
SetBottlerocketHostConfigInEtcdCluster sets bottlerocket specific kernel settings in etcdadmCluster.
SetBottlerocketHostConfigInKubeadmConfigTemplate sets bottlerocket specific kernel settings in kubeadmConfigTemplate.
SetBottlerocketHostConfigInKubeadmControlPlane sets bottlerocket specific kernel settings in kubeadmControlPlane.
SetBottlerocketInEtcdCluster adds bottlerocket config in etcdadmCluster.
SetBottlerocketInKubeadmConfigTemplate adds bottlerocket bootstrap image metadata in kubeadmConfigTemplate.
SetBottlerocketInKubeadmControlPlane adds bottlerocket bootstrap image metadata in kubeadmControlPlane.
No description provided by the author
SetKubeVipInKubeadmControlPlane appends kube-vip manifest to kubeadmControlPlane's kubeadmConfigSpec files.
SetPodIAMAuthExtraArgs sets the api server extra args for the podIAMConfig.
SetProxyConfigInKubeadmConfigTemplateForBottlerocket sets up proxy configuration in kubeadmConfigTemplate for bottlerocket.
SetProxyConfigInKubeadmConfigTemplateForUbuntu sets up proxy configuration in kubeadmConfigTemplate for ubuntu.
SetProxyConfigInKubeadmControlPlaneForBottlerocket sets up proxy configuration in kubeadmControlPlane for bottlerocket.
SetProxyConfigInKubeadmControlPlaneForUbuntu sets up proxy configuration in kubeadmControlPlane for ubuntu.
SetRegistryMirrorInKubeadmConfigTemplateForBottlerocket sets up registry mirror configuration in kubeadmConfigTemplate for bottlerocket.
SetRegistryMirrorInKubeadmConfigTemplateForUbuntu sets up registry mirror configuration in kubeadmConfigTemplate for ubuntu.
SetRegistryMirrorInKubeadmControlPlaneForBottlerocket sets up registry mirror configuration in kubeadmControlPlane for bottlerocket.
SetRegistryMirrorInKubeadmControlPlaneForUbuntu sets up registry mirror configuration in kubeadmControlPlane for ubuntu.
SetUbuntuConfigInEtcdCluster sets up the etcd config in EtcdadmCluster.
SetUnstackedEtcdConfigInKubeadmControlPlaneForBottlerocket sets up unstacked etcd configuration in kubeadmControlPlane for bottlerocket.
SetUnstackedEtcdConfigInKubeadmControlPlaneForUbuntu sets up unstacked etcd configuration in kubeadmControlPlane for ubuntu.
SetUpgradeRolloutStrategyInKubeadmControlPlane updates the kubeadm control plane with the upgrade rollout strategy defined in an eksa cluster.
SetUpgradeRolloutStrategyInMachineDeployment updates the machine deployment with the upgrade rollout strategy defined in an eksa cluster.
WorkerMachineHealthCheckName returns a name for a worker machine health check.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
Autoscaler annotation constants.
Autoscaler annotation constants.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
ControlPlane represents the provider-specific spec for a CAPI control plane using the kubeadm CP provider.
No description provided by the author
No description provided by the author
No description provided by the author
WorkerGroup represents the provider specific CAPI spec for an eks-a worker group.
Workers represents the provider specific CAPI spec for an eks-a cluster's workers.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Object represents a kubernetes API object.
# Type aliases
No description provided by the author
ObjectComparator returns true only if only both kubernetes Object's are identical Most of the time, this only requires comparing the Spec field, but that can variate from object to object.
ObjectRetriever gets a kubernetes API object using the provided client If the object doesn't exist, it returns a NotFound error.