Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultEksaImage() string
- func ExecutablesInDocker() bool
- func GetHelmValueArgs(values []string) []string
- func InitInDockerExecutablesBuilder(ctx context.Context, image string, mountDirs ...string) (*ExecutablesBuilder, Closer, error)
- func NewDockerContainerCustomBinary(docker DockerClient) *dockerContainer
- func NewDockerExecutableBuilder(dockerContainer DockerContainer) *dockerExecutableBuilder
- func NoOpClose(ctx context.Context) error
- type AwsCli
- type Closer
- type CloudStackDatacenterConfigResponse
- type CloudStackMachineConfigResponse
- type Clusterawsadm
- func (c *Clusterawsadm) BootstrapCreds(ctx context.Context, envs map[string]string) (string, error)
- func (c *Clusterawsadm) BootstrapIam(ctx context.Context, envs map[string]string, configFile string) error
- func (c *Clusterawsadm) DeleteCloudformationStack(ctx context.Context, envs map[string]string, fileName string) error
- func (c *Clusterawsadm) ListAccessKeys(ctx context.Context, userName string) (string, error)
- type Clusterctl
- func (c *Clusterctl) GetWorkloadKubeconfig(ctx context.Context, clusterName string, cluster *types.Cluster) ([]byte, error)
- func (c *Clusterctl) InitInfrastructure(ctx context.Context, clusterSpec *cluster.Spec, cluster *types.Cluster, ...) error
- func (c *Clusterctl) InstallEtcdadmProviders(ctx context.Context, clusterSpec *cluster.Spec, cluster *types.Cluster, ...) error
- func (c *Clusterctl) MoveManagement(ctx context.Context, from, to *types.Cluster) error
- func (c *Clusterctl) Upgrade(ctx context.Context, managementCluster *types.Cluster, ...) error
- type ClustersResponse
- type Cmk
- func (c *Cmk) CleanupVms(ctx context.Context, profile string, clusterName string, dryRun bool) error
- func (c *Cmk) Close(ctx context.Context) error
- func (c *Cmk) GetManagementApiEndpoint(profile string) (string, error)
- func (c *Cmk) ValidateAccountPresent(ctx context.Context, profile string, account string, domainId string) error
- func (c *Cmk) ValidateAffinityGroupsPresent(ctx context.Context, profile string, domainId string, account string, ...) error
- func (c *Cmk) ValidateCloudStackConnection(ctx context.Context, profile string) error
- func (c *Cmk) ValidateDiskOfferingPresent(ctx context.Context, profile string, zoneId string, ...) error
- func (c *Cmk) ValidateDomainAndGetId(ctx context.Context, profile string, domain string) (string, error)
- func (c *Cmk) ValidateNetworkPresent(ctx context.Context, profile string, domainId string, ...) error
- func (c *Cmk) ValidateServiceOfferingPresent(ctx context.Context, profile string, zoneId string, ...) error
- func (c *Cmk) ValidateTemplatePresent(ctx context.Context, profile string, domainId string, zoneId string, ...) error
- func (c *Cmk) ValidateZoneAndGetId(ctx context.Context, profile string, zone v1alpha1.CloudStackZone) (string, error)
- type Command
- type Docker
- func (d *Docker) AllocatedMemory(ctx context.Context) (uint64, error)
- func (d *Docker) CgroupVersion(ctx context.Context) (int, error)
- func (d *Docker) CheckContainerExistence(ctx context.Context, name string) (bool, error)
- func (d *Docker) ForceRemove(ctx context.Context, name string) error
- func (d *Docker) GetDockerLBPort(ctx context.Context, clusterName string) (port string, err error)
- func (d *Docker) LoadFromFile(ctx context.Context, filepath string) error
- func (d *Docker) Login(ctx context.Context, endpoint, username, password string) error
- func (d *Docker) PullImage(ctx context.Context, image string) error
- func (d *Docker) PushImage(ctx context.Context, image string, endpoint string) error
- func (d *Docker) Run(ctx context.Context, image string, name string, cmd []string, flags ...string) error
- func (d *Docker) SaveToFile(ctx context.Context, filepath string, images ...string) error
- func (d *Docker) TagImage(ctx context.Context, image string, endpoint string) error
- func (d *Docker) Version(ctx context.Context) (int, error)
- type DockerClient
- type DockerContainer
- type Executable
- type ExecutableBuilder
- type ExecutablesBuilder
- func (b *ExecutablesBuilder) BuildAwsCli() *AwsCli
- func (b *ExecutablesBuilder) BuildClusterAwsAdmExecutable() *Clusterawsadm
- func (b *ExecutablesBuilder) BuildClusterCtlExecutable(writer filewriter.FileWriter) *Clusterctl
- func (b *ExecutablesBuilder) BuildCmkExecutable(writer filewriter.FileWriter, configs []decoder.CloudStackProfileConfig) *Cmk
- func (b *ExecutablesBuilder) BuildFluxExecutable() *Flux
- func (b *ExecutablesBuilder) BuildGovcExecutable(writer filewriter.FileWriter, opts ...GovcOpt) *Govc
- func (b *ExecutablesBuilder) BuildHelmExecutable(opts ...HelmOpt) *Helm
- func (b *ExecutablesBuilder) BuildKindExecutable(writer filewriter.FileWriter) *Kind
- func (b *ExecutablesBuilder) BuildKubectlExecutable() *Kubectl
- func (b *ExecutablesBuilder) BuildTroubleshootExecutable() *Troubleshoot
- func (b *ExecutablesBuilder) Init(ctx context.Context) (Closer, error)
- type Flux
- func (f *Flux) BootstrapGit(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig, ...) error
- func (f *Flux) BootstrapGithub(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
- func (f *Flux) Reconcile(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
- func (f *Flux) ResumeKustomization(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
- func (f *Flux) SuspendKustomization(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
- func (f *Flux) Uninstall(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
- type FolderType
- type GitOpsConfigResponse
- type Govc
- func (g *Govc) AddTag(ctx context.Context, path, tag string) error
- func (g *Govc) CleanupVms(ctx context.Context, clusterName string, dryRun bool) error
- func (g *Govc) Close(ctx context.Context) error
- func (g *Govc) ConfigureCertThumbprint(ctx context.Context, server, thumbprint string) error
- func (g *Govc) CreateCategoryForVM(ctx context.Context, name string) error
- func (g *Govc) CreateLibrary(ctx context.Context, datastore, library string) error
- func (g *Govc) CreateTag(ctx context.Context, tag, category string) error
- func (g *Govc) DatacenterExists(ctx context.Context, datacenter string) (bool, error)
- func (g *Govc) DeleteLibraryElement(ctx context.Context, element string) error
- func (g *Govc) DeleteTemplate(ctx context.Context, resourcePool, templatePath string) error
- func (g *Govc) DeployTemplate(ctx context.Context, ...) error
- func (g *Govc) DeployTemplateFromLibrary(ctx context.Context, ...) error
- func (g *Govc) DevicesInfo(ctx context.Context, datacenter, template string) (interface{}, error)
- func (g *Govc) GetCertThumbprint(ctx context.Context) (string, error)
- func (g *Govc) GetLibraryElementContentVersion(ctx context.Context, element string) (string, error)
- func (g *Govc) GetTags(ctx context.Context, path string) ([]string, error)
- func (g *Govc) GetWorkloadAvailableSpace(ctx context.Context, datastore string) (float64, error)
- func (g *Govc) ImportTemplate(ctx context.Context, library, ovaURL, name string) error
- func (g *Govc) IsCertSelfSigned(ctx context.Context) bool
- func (g *Govc) LibraryElementExists(ctx context.Context, library string) (bool, error)
- func (g *Govc) ListCategories(ctx context.Context) ([]string, error)
- func (g *Govc) ListTags(ctx context.Context) ([]string, error)
- func (g *Govc) Logout(ctx context.Context) error
- func (g *Govc) NetworkExists(ctx context.Context, network string) (bool, error)
- func (g *Govc) ResizeDisk(ctx context.Context, datacenter, template, diskName string, diskSizeInGB int) error
- func (g *Govc) SearchTemplate(ctx context.Context, datacenter string, ...) (string, error)
- func (g *Govc) TemplateHasSnapshot(ctx context.Context, template string) (bool, error)
- func (g *Govc) ValidateVCenterAuthentication(ctx context.Context) error
- func (g *Govc) ValidateVCenterConnection(ctx context.Context, server string) error
- func (g *Govc) ValidateVCenterSetupMachineConfig(ctx context.Context, datacenterConfig *v1alpha1.VSphereDatacenterConfig, ...) error
- type GovcOpt
- type Helm
- func (h *Helm) InstallChart(ctx context.Context, chart, ociURI, version, kubeconfigFilePath string, ...) error
- func (h *Helm) InstallChartFromName(ctx context.Context, ociURI, kubeConfig, name, version string) error
- func (h *Helm) InstallChartWithValuesFile(ctx context.Context, ...) error
- func (h *Helm) PullChart(ctx context.Context, ociURI, version string) error
- func (h *Helm) PushChart(ctx context.Context, chart, registry string) error
- func (h *Helm) RegistryLogin(ctx context.Context, registry, username, password string) error
- func (h *Helm) SaveChart(ctx context.Context, ociURI, version, folder string) error
- func (h *Helm) Template(ctx context.Context, ociURI, version, namespace string, values interface{}, ...) ([]byte, error)
- type HelmOpt
- type IdentityProviderConfigResponse
- type Kind
- func (k *Kind) ClusterExists(ctx context.Context, clusterName string) (bool, error)
- func (k *Kind) CreateBootstrapCluster(ctx context.Context, clusterSpec *cluster.Spec, ...) (kubeconfig string, err error)
- func (k *Kind) DeleteBootstrapCluster(ctx context.Context, cluster *types.Cluster) error
- func (k *Kind) GetKubeconfig(ctx context.Context, clusterName string) (string, error)
- func (k *Kind) WithDefaultCNIDisabled() bootstrapper.BootstrapClusterClientOption
- func (k *Kind) WithEnv(env map[string]string) bootstrapper.BootstrapClusterClientOption
- func (k *Kind) WithExtraDockerMounts() bootstrapper.BootstrapClusterClientOption
- func (k *Kind) WithExtraPortMappings(ports []int) bootstrapper.BootstrapClusterClientOption
- func (k *Kind) WithRegistryMirror(endpoint string, caCertFile string) bootstrapper.BootstrapClusterClientOption
- type Kubectl
- func (k *Kubectl) ApplyKubeSpec(ctx context.Context, cluster *types.Cluster, spec string) error
- func (k *Kubectl) ApplyKubeSpecFromBytes(ctx context.Context, cluster *types.Cluster, data []byte) error
- func (k *Kubectl) ApplyKubeSpecFromBytesForce(ctx context.Context, cluster *types.Cluster, data []byte) error
- func (k *Kubectl) ApplyKubeSpecFromBytesWithNamespace(ctx context.Context, cluster *types.Cluster, data []byte, namespace string) error
- func (k *Kubectl) ApplyKubeSpecWithNamespace(ctx context.Context, cluster *types.Cluster, spec string, namespace string) error
- func (k *Kubectl) ApplyTolerationsFromTaints(ctx context.Context, oldTaints []corev1.Taint, newTaints []corev1.Taint, ...) error
- func (k *Kubectl) ApplyTolerationsFromTaintsToDaemonSet(ctx context.Context, oldTaints []corev1.Taint, newTaints []corev1.Taint, ...) error
- func (k *Kubectl) CheckProviderExists(ctx context.Context, kubeconfigFile, name, namespace string) (bool, error)
- func (k *Kubectl) CloudstackWorkerNodesMachineTemplate(ctx context.Context, clusterName string, kubeconfig string, namespace string) (*cloudstackv1.CloudStackMachineTemplate, error)
- func (k *Kubectl) CountMachineDeploymentReplicasReady(ctx context.Context, clusterName string, kubeconfig string) (ready, total int, err error)
- func (k *Kubectl) CreateNamespace(ctx context.Context, kubeconfig string, namespace string) error
- func (k *Kubectl) CreateNamespaceIfNotPresent(ctx context.Context, kubeconfig string, namespace string) error
- func (k *Kubectl) Delete(ctx context.Context, resourceType, name, namespace, kubeconfig string) error
- func (k *Kubectl) DeleteAWSIamConfig(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) DeleteCluster(ctx context.Context, managementCluster, clusterToDelete *types.Cluster) error
- func (k *Kubectl) DeleteEKSACluster(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) DeleteEksaCloudStackDatacenterConfig(ctx context.Context, cloudstackDatacenterConfigName string, ...) error
- func (k *Kubectl) DeleteEksaCloudStackMachineConfig(ctx context.Context, cloudstackMachineConfigName string, kubeconfigFile string, ...) error
- func (k *Kubectl) DeleteEksaDatacenterConfig(ctx context.Context, eksaDatacenterResourceType string, ...) error
- func (k *Kubectl) DeleteEksaMachineConfig(ctx context.Context, eksaMachineConfigResourceType string, ...) error
- func (k *Kubectl) DeleteFluxConfig(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) DeleteGitOpsConfig(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) DeleteKubeSpecFromBytes(ctx context.Context, cluster *types.Cluster, data []byte) error
- func (k *Kubectl) DeleteNamespace(ctx context.Context, kubeconfig string, namespace string) error
- func (k *Kubectl) DeleteOIDCConfig(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) DeleteOldWorkerNodeGroup(ctx context.Context, md *clusterv1.MachineDeployment, kubeconfig string) error
- func (k *Kubectl) DeleteSecret(ctx context.Context, managementCluster *types.Cluster, ...) error
- func (k *Kubectl) ExecuteCommand(ctx context.Context, opts ...string) (bytes.Buffer, error)
- func (k *Kubectl) ExecuteFromYaml(ctx context.Context, yaml []byte, opts ...string) (bytes.Buffer, error)
- func (k *Kubectl) GetApiServerUrl(ctx context.Context, cluster *types.Cluster) (string, error)
- func (k *Kubectl) GetBundles(ctx context.Context, kubeconfigFile, name, namespace string) (*releasev1alpha1.Bundles, error)
- func (k *Kubectl) GetClusterCATlsCert(ctx context.Context, clusterName string, cluster *types.Cluster, ...) ([]byte, error)
- func (k *Kubectl) GetClusterResourceSet(ctx context.Context, kubeconfigFile, name, namespace string) (*addons.ClusterResourceSet, error)
- func (k *Kubectl) GetClusters(ctx context.Context, cluster *types.Cluster) ([]types.CAPICluster, error)
- func (k *Kubectl) GetConfigMap(ctx context.Context, kubeconfigFile, name, namespace string) (*corev1.ConfigMap, error)
- func (k *Kubectl) GetControlPlaneNodes(ctx context.Context, kubeconfig string) ([]corev1.Node, error)
- func (k *Kubectl) GetCurrentClusterContext(ctx context.Context, cluster *types.Cluster) (string, error)
- func (k *Kubectl) GetDaemonSet(ctx context.Context, name, namespace, kubeconfig string) (*appsv1.DaemonSet, error)
- func (k *Kubectl) GetDeployment(ctx context.Context, name, namespace, kubeconfig string) (*appsv1.Deployment, error)
- func (k *Kubectl) GetDeployments(ctx context.Context, opts ...KubectlOpt) ([]appsv1.Deployment, error)
- func (k *Kubectl) GetEksaAWSDatacenterConfig(ctx context.Context, awsDatacenterConfigName string, kubeconfigFile string, ...) (*v1alpha1.AWSDatacenterConfig, error)
- func (k *Kubectl) GetEksaAWSIamConfig(ctx context.Context, awsIamConfigName string, kubeconfigFile string, ...) (*v1alpha1.AWSIamConfig, error)
- func (k *Kubectl) GetEksaCloudStackDatacenterConfig(ctx context.Context, cloudstackDatacenterConfigName string, ...) (*v1alpha1.CloudStackDatacenterConfig, error)
- func (k *Kubectl) GetEksaCloudStackMachineConfig(ctx context.Context, cloudstackMachineConfigName string, kubeconfigFile string, ...) (*v1alpha1.CloudStackMachineConfig, error)
- func (k *Kubectl) GetEksaCluster(ctx context.Context, cluster *types.Cluster, clusterName string) (*v1alpha1.Cluster, error)
- func (k *Kubectl) GetEksaFluxConfig(ctx context.Context, gitOpsConfigName string, kubeconfigFile string, ...) (*v1alpha1.FluxConfig, error)
- func (k *Kubectl) GetEksaGitOpsConfig(ctx context.Context, gitOpsConfigName string, kubeconfigFile string, ...) (*v1alpha1.GitOpsConfig, error)
- func (k *Kubectl) GetEksaOIDCConfig(ctx context.Context, oidcConfigName string, kubeconfigFile string, ...) (*v1alpha1.OIDCConfig, error)
- func (k *Kubectl) GetEksaTinkerbellDatacenterConfig(ctx context.Context, tinkerbellDatacenterConfigName string, ...) (*v1alpha1.TinkerbellDatacenterConfig, error)
- func (k *Kubectl) GetEksaTinkerbellMachineConfig(ctx context.Context, tinkerbellMachineConfigName string, kubeconfigFile string, ...) (*v1alpha1.TinkerbellMachineConfig, error)
- func (k *Kubectl) GetEksaVSphereDatacenterConfig(ctx context.Context, vsphereDatacenterConfigName string, kubeconfigFile string, ...) (*v1alpha1.VSphereDatacenterConfig, error)
- func (k *Kubectl) GetEksaVSphereMachineConfig(ctx context.Context, vsphereMachineConfigName string, kubeconfigFile string, ...) (*v1alpha1.VSphereMachineConfig, error)
- func (k *Kubectl) GetEksdRelease(ctx context.Context, name, namespace, kubeconfigFile string) (*eksdv1alpha1.Release, error)
- func (k *Kubectl) GetEtcdadmCluster(ctx context.Context, cluster *types.Cluster, clusterName string, ...) (*etcdv1.EtcdadmCluster, error)
- func (k *Kubectl) GetKubeadmControlPlane(ctx context.Context, cluster *types.Cluster, clusterName string, ...) (*controlplanev1.KubeadmControlPlane, error)
- func (k *Kubectl) GetKubeadmControlPlanes(ctx context.Context, opts ...KubectlOpt) ([]controlplanev1.KubeadmControlPlane, error)
- func (k *Kubectl) GetMachineDeployment(ctx context.Context, workerNodeGroupName string, opts ...KubectlOpt) (*clusterv1.MachineDeployment, error)
- func (k *Kubectl) GetMachineDeployments(ctx context.Context, opts ...KubectlOpt) ([]clusterv1.MachineDeployment, error)
- func (k *Kubectl) GetMachineSets(ctx context.Context, machineDeploymentName string, cluster *types.Cluster) ([]clusterv1.MachineSet, error)
- func (k *Kubectl) GetMachines(ctx context.Context, cluster *types.Cluster, clusterName string) ([]types.Machine, error)
- func (k *Kubectl) GetNamespace(ctx context.Context, kubeconfig string, namespace string) error
- func (k *Kubectl) GetNodes(ctx context.Context, kubeconfig string) ([]corev1.Node, error)
- func (k *Kubectl) GetObject(ctx context.Context, resourceType, name, namespace, kubeconfig string, ...) error
- func (k *Kubectl) GetPods(ctx context.Context, opts ...KubectlOpt) ([]corev1.Pod, error)
- func (k *Kubectl) GetProvisionedTinkerbellHardware(ctx context.Context, kubeconfig, namespace string) ([]tinkv1alpha1.Hardware, error)
- func (k *Kubectl) GetResource(ctx context.Context, resourceType string, name string, kubeconfig string, ...) (bool, error)
- func (k *Kubectl) GetSecret(ctx context.Context, secretObjectName string, opts ...KubectlOpt) (*corev1.Secret, error)
- func (k *Kubectl) GetSecretFromNamespace(ctx context.Context, kubeconfigFile, name, namespace string) (*corev1.Secret, error)
- func (k *Kubectl) GetUnprovisionedTinkerbellHardware(ctx context.Context, kubeconfig, namespace string) ([]tinkv1alpha1.Hardware, error)
- func (k *Kubectl) KubeconfigSecretAvailable(ctx context.Context, kubeconfig string, clusterName string, namespace string) (bool, error)
- func (k *Kubectl) ListCluster(ctx context.Context) error
- func (k *Kubectl) LoadSecret(ctx context.Context, secretObject string, secretObjectType string, ...) error
- func (k *Kubectl) MachineTemplateName(ctx context.Context, clusterName string, kubeconfig string, opts ...KubectlOpt) (string, error)
- func (k *Kubectl) RemoveAnnotation(ctx context.Context, resourceType, objectName string, key string, ...) error
- func (k *Kubectl) RemoveAnnotationInNamespace(ctx context.Context, resourceType, objectName, key string, ...) error
- func (k *Kubectl) RolloutRestartDaemonSet(ctx context.Context, dsName, dsNamespace, kubeconfig string) error
- func (k *Kubectl) SaveLog(ctx context.Context, cluster *types.Cluster, deployment *types.Deployment, ...) error
- func (k *Kubectl) SearchCloudStackDatacenterConfig(ctx context.Context, name string, kubeconfigFile string, namespace string) ([]*v1alpha1.CloudStackDatacenterConfig, error)
- func (k *Kubectl) SearchCloudStackMachineConfig(ctx context.Context, name string, kubeconfigFile string, namespace string) ([]*v1alpha1.CloudStackMachineConfig, error)
- func (k *Kubectl) SearchEksaGitOpsConfig(ctx context.Context, gitOpsConfigName string, kubeconfigFile string, ...) ([]*v1alpha1.GitOpsConfig, error)
- func (k *Kubectl) SearchIdentityProviderConfig(ctx context.Context, ipName string, kind string, kubeconfigFile string, ...) ([]*v1alpha1.VSphereDatacenterConfig, error)
- func (k *Kubectl) SearchVsphereDatacenterConfig(ctx context.Context, datacenterName string, kubeconfigFile string, ...) ([]*v1alpha1.VSphereDatacenterConfig, error)
- func (k *Kubectl) SearchVsphereMachineConfig(ctx context.Context, name string, kubeconfigFile string, namespace string) ([]*v1alpha1.VSphereMachineConfig, error)
- func (k *Kubectl) SetDaemonSetImage(ctx context.Context, kubeconfigFile, name, namespace, container, image string) error
- func (k *Kubectl) SetEksaControllerEnvVar(ctx context.Context, envVar, envVarVal, kubeconfig string) error
- func (k *Kubectl) UpdateAnnotation(ctx context.Context, resourceType, objectName string, ...) error
- func (k *Kubectl) UpdateAnnotationInNamespace(ctx context.Context, resourceType, objectName string, ...) error
- func (k *Kubectl) UpdateEnvironmentVariables(ctx context.Context, resourceType, resourceName string, ...) error
- func (k *Kubectl) UpdateEnvironmentVariablesInNamespace(ctx context.Context, resourceType, resourceName string, ...) error
- func (k *Kubectl) ValidateClustersCRD(ctx context.Context, cluster *types.Cluster) error
- func (k *Kubectl) ValidateControlPlaneNodes(ctx context.Context, cluster *types.Cluster, clusterName string) error
- func (k *Kubectl) ValidateEKSAClustersCRD(ctx context.Context, cluster *types.Cluster) error
- func (k *Kubectl) ValidateNodes(ctx context.Context, kubeconfig string) error
- func (k *Kubectl) ValidateNodesVersion(ctx context.Context, kubeconfig string, kubeVersion v1alpha1.KubernetesVersion) error
- func (k *Kubectl) ValidatePods(ctx context.Context, kubeconfig string) error
- func (k *Kubectl) ValidateWorkerNodes(ctx context.Context, clusterName string, kubeconfig string) error
- func (k *Kubectl) Version(ctx context.Context, cluster *types.Cluster) (*VersionResponse, error)
- func (k *Kubectl) VsphereWorkerNodesMachineTemplate(ctx context.Context, clusterName string, kubeconfig string, namespace string) (*vspherev1.VSphereMachineTemplate, error)
- func (k *Kubectl) Wait(ctx context.Context, kubeconfig string, timeout string, forCondition string, ...) error
- func (k *Kubectl) WaitForClusterReady(ctx context.Context, cluster *types.Cluster, timeout string, ...) error
- func (k *Kubectl) WaitForControlPlaneNotReady(ctx context.Context, cluster *types.Cluster, timeout string, ...) error
- func (k *Kubectl) WaitForControlPlaneReady(ctx context.Context, cluster *types.Cluster, timeout string, ...) error
- func (k *Kubectl) WaitForDeployment(ctx context.Context, cluster *types.Cluster, timeout string, condition string, ...) error
- func (k *Kubectl) WaitForManagedExternalEtcdNotReady(ctx context.Context, cluster *types.Cluster, timeout string, ...) error
- func (k *Kubectl) WaitForManagedExternalEtcdReady(ctx context.Context, cluster *types.Cluster, timeout string, ...) error
- func (k *Kubectl) WaitForService(ctx context.Context, kubeconfig string, timeout string, target string, ...) error
- type KubectlOpt
- func WithAllNamespaces() KubectlOpt
- func WithCluster(c *types.Cluster) KubectlOpt
- func WithKubeconfig(kubeconfigFile string) KubectlOpt
- func WithNamespace(n string) KubectlOpt
- func WithOverwrite() KubectlOpt
- func WithServer(s string) KubectlOpt
- func WithSkipTLSVerify() KubectlOpt
- func WithToken(t string) KubectlOpt
- type Sonobuoy
- type SupportBundleAnalysis
- type Toleration
- type Troubleshoot
- type VSphereDatacenterConfigResponse
- type VSphereMachineConfigResponse
- type VersionResponse
Constants ¶
const (
DeployOptsFile = "deploy-opts.json"
)
const (
)Variables ¶
var (
TinkerbellHardwareResourceType = fmt.Sprintf("hardware.%s", tinkv1alpha1.GroupVersion.Group)
)
Functions ¶
func DefaultEksaImage ¶
func DefaultEksaImage() string
func ExecutablesInDocker ¶ added in v0.11.0
func ExecutablesInDocker() bool
RunExecutablesInDocker determines if binary executables should be ran from a docker container or native binaries from the host path It reads MR_TOOLS_DISABLE variable
func GetHelmValueArgs ¶ added in v0.9.0
func InitInDockerExecutablesBuilder ¶ added in v0.11.0
func InitInDockerExecutablesBuilder(ctx context.Context, image string, mountDirs ...string) (*ExecutablesBuilder, Closer, error)
InitInDockerExecutablesBuilder builds and inits a default ExecutablesBuilder to run executables in a docker container that will make use of a long running docker container
func NewDockerContainerCustomBinary ¶ added in v0.9.1
func NewDockerContainerCustomBinary(docker DockerClient) *dockerContainer
func NewDockerExecutableBuilder ¶ added in v0.11.0
func NewDockerExecutableBuilder(dockerContainer DockerContainer) *dockerExecutableBuilder
Types ¶
type AwsCli ¶
type AwsCli struct {
Executable
}
func NewAwsCli ¶
func NewAwsCli(executable Executable) *AwsCli
type Closer ¶ added in v0.7.0
type CloudStackDatacenterConfigResponse ¶ added in v0.9.0
type CloudStackDatacenterConfigResponse struct {
Items []*v1alpha1.CloudStackDatacenterConfig `json:"items,omitempty"`
}
type CloudStackMachineConfigResponse ¶ added in v0.9.0
type CloudStackMachineConfigResponse struct {
Items []*v1alpha1.CloudStackMachineConfig `json:"items,omitempty"`
}
type Clusterawsadm ¶
type Clusterawsadm struct {
Executable
}
func NewClusterawsadm ¶
func NewClusterawsadm(executable Executable) *Clusterawsadm
func (*Clusterawsadm) BootstrapCreds ¶
func (*Clusterawsadm) BootstrapIam ¶
func (*Clusterawsadm) DeleteCloudformationStack ¶
func (*Clusterawsadm) ListAccessKeys ¶
type Clusterctl ¶
type Clusterctl struct { Executable // contains filtered or unexported fields }
func NewClusterctl ¶
func NewClusterctl(executable Executable, writer filewriter.FileWriter) *Clusterctl
func (*Clusterctl) GetWorkloadKubeconfig ¶
func (*Clusterctl) InitInfrastructure ¶
func (*Clusterctl) InstallEtcdadmProviders ¶ added in v0.6.0
func (*Clusterctl) MoveManagement ¶
func (*Clusterctl) Upgrade ¶ added in v0.6.0
func (c *Clusterctl) Upgrade(ctx context.Context, managementCluster *types.Cluster, provider providers.Provider, newSpec *cluster.Spec, changeDiff *clusterapi.CAPIChangeDiff) error
type ClustersResponse ¶
type ClustersResponse struct {
Items []types.CAPICluster `json:"items,omitempty"`
}
type Cmk ¶ added in v0.8.0
type Cmk struct {
// contains filtered or unexported fields
}
Cmk this struct wraps around the CloudMonkey executable CLI to perform operations against a CloudStack endpoint
func NewCmk ¶ added in v0.8.0
func NewCmk(executable Executable, writer filewriter.FileWriter, configs []decoder.CloudStackProfileConfig) *Cmk
func (*Cmk) CleanupVms ¶ added in v0.9.1
func (*Cmk) GetManagementApiEndpoint ¶ added in v0.11.0
func (*Cmk) ValidateAccountPresent ¶ added in v0.8.0
func (*Cmk) ValidateAffinityGroupsPresent ¶ added in v0.8.0
func (*Cmk) ValidateCloudStackConnection ¶ added in v0.8.0
ValidateCloudStackConnection Calls `cmk sync` to ensure that the endpoint and credentials + domain are valid
func (*Cmk) ValidateDiskOfferingPresent ¶ added in v0.9.0
func (*Cmk) ValidateDomainAndGetId ¶ added in v0.11.0
func (*Cmk) ValidateNetworkPresent ¶ added in v0.8.0
func (*Cmk) ValidateServiceOfferingPresent ¶ added in v0.8.0
func (*Cmk) ValidateTemplatePresent ¶ added in v0.8.0
func (*Cmk) ValidateZoneAndGetId ¶ added in v0.11.0
type Command ¶ added in v0.7.0
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶ added in v0.7.0
func (*Command) WithEnvVars ¶ added in v0.7.0
type Docker ¶
type Docker struct {
Executable
}
func BuildDockerExecutable ¶
func BuildDockerExecutable() *Docker
func NewDocker ¶
func NewDocker(executable Executable) *Docker
func (*Docker) AllocatedMemory ¶
func (*Docker) CgroupVersion ¶ added in v0.8.0
func (*Docker) CheckContainerExistence ¶ added in v0.9.2
CheckContainerExistence checks whether a Docker container with the provided name exists It returns true if a container with the name exists, false if it doesn't and an error if it encounters some other error
func (*Docker) ForceRemove ¶ added in v0.9.2
func (*Docker) GetDockerLBPort ¶
func (*Docker) LoadFromFile ¶ added in v0.8.0
func (*Docker) SaveToFile ¶ added in v0.8.0
type DockerClient ¶ added in v0.9.1
type DockerContainer ¶ added in v0.11.0
type Executable ¶
type Executable interface { Execute(ctx context.Context, args ...string) (stdout bytes.Buffer, err error) ExecuteWithEnv(ctx context.Context, envs map[string]string, args ...string) (stdout bytes.Buffer, err error) // TODO: remove this from interface in favor of Command ExecuteWithStdin(ctx context.Context, in []byte, args ...string) (stdout bytes.Buffer, err error) // TODO: remove this from interface in favor of Command Command(ctx context.Context, args ...string) *Command Run(cmd *Command) (stdout bytes.Buffer, err error) }
func NewDockerExecutable ¶
func NewDockerExecutable(cli string, containerName string) Executable
This currently returns a linuxDockerExecutable, but if we support other types of docker executables we can change the name of this constructor
func NewExecutable ¶
func NewExecutable(cli string) Executable
this should only be called through the executables.builder
type ExecutableBuilder ¶
type ExecutablesBuilder ¶ added in v0.11.0
type ExecutablesBuilder struct {
// contains filtered or unexported fields
}
func NewExecutablesBuilder ¶ added in v0.11.0
func NewExecutablesBuilder(executableBuilder ExecutableBuilder) *ExecutablesBuilder
func NewInDockerExecutablesBuilder ¶ added in v0.11.0
func NewInDockerExecutablesBuilder(dockerClient DockerClient, image string, mountDirs ...string) (*ExecutablesBuilder, error)
NewInDockerExecutablesBuilder builds an executables builder for docker
func NewLocalExecutablesBuilder ¶ added in v0.11.0
func NewLocalExecutablesBuilder() *ExecutablesBuilder
func (*ExecutablesBuilder) BuildAwsCli ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildAwsCli() *AwsCli
func (*ExecutablesBuilder) BuildClusterAwsAdmExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildClusterAwsAdmExecutable() *Clusterawsadm
func (*ExecutablesBuilder) BuildClusterCtlExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildClusterCtlExecutable(writer filewriter.FileWriter) *Clusterctl
func (*ExecutablesBuilder) BuildCmkExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildCmkExecutable(writer filewriter.FileWriter, configs []decoder.CloudStackProfileConfig) *Cmk
func (*ExecutablesBuilder) BuildFluxExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildFluxExecutable() *Flux
func (*ExecutablesBuilder) BuildGovcExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildGovcExecutable(writer filewriter.FileWriter, opts ...GovcOpt) *Govc
func (*ExecutablesBuilder) BuildHelmExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildHelmExecutable(opts ...HelmOpt) *Helm
func (*ExecutablesBuilder) BuildKindExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildKindExecutable(writer filewriter.FileWriter) *Kind
func (*ExecutablesBuilder) BuildKubectlExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildKubectlExecutable() *Kubectl
func (*ExecutablesBuilder) BuildTroubleshootExecutable ¶ added in v0.11.0
func (b *ExecutablesBuilder) BuildTroubleshootExecutable() *Troubleshoot
func (*ExecutablesBuilder) Init ¶ added in v0.11.0
func (b *ExecutablesBuilder) Init(ctx context.Context) (Closer, error)
Init initializes the executable builder and returns a Closer that needs to be called once the executables are not in used anymore The closer will cleanup and free all internal resources
type Flux ¶
type Flux struct {
Executable
}
func NewFlux ¶
func NewFlux(executable Executable) *Flux
func (*Flux) BootstrapGit ¶ added in v0.11.0
func (f *Flux) BootstrapGit(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig, cliConfig *config.CliConfig) error
BootstrapGit commits the toolkit components manifests to the branch of a Git repository. It then configures the target cluster to synchronize with the repository. If the toolkit components are present on the cluster, the bootstrap command will perform an upgrade if needed.
func (*Flux) BootstrapGithub ¶ added in v0.11.0
func (f *Flux) BootstrapGithub(ctx context.Context, cluster *types.Cluster, fluxConfig *v1alpha1.FluxConfig) error
BootstrapGithub creates the GitHub repository if it doesn’t exist, and commits the toolkit components manifests to the main branch. Then it configures the target cluster to synchronize with the repository. If the toolkit components are present on the cluster, the bootstrap command will perform an upgrade if needed.
func (*Flux) ResumeKustomization ¶
func (*Flux) SuspendKustomization ¶ added in v0.11.0
type FolderType ¶
type FolderType string
type GitOpsConfigResponse ¶ added in v0.6.0
type GitOpsConfigResponse struct {
Items []*v1alpha1.GitOpsConfig `json:"items,omitempty"`
}
type Govc ¶
type Govc struct { Executable *retrier.Retrier // contains filtered or unexported fields }
func NewGovc ¶
func NewGovc(executable Executable, writer filewriter.FileWriter, opts ...GovcOpt) *Govc
func (*Govc) CleanupVms ¶
func (*Govc) ConfigureCertThumbprint ¶ added in v0.7.0
func (*Govc) CreateCategoryForVM ¶
func (*Govc) CreateLibrary ¶
func (*Govc) DatacenterExists ¶ added in v0.7.0
func (*Govc) DeleteLibraryElement ¶ added in v0.6.0
func (*Govc) DeleteTemplate ¶
func (*Govc) DeployTemplate ¶ added in v0.9.2
func (*Govc) DeployTemplateFromLibrary ¶
func (*Govc) DevicesInfo ¶
func (*Govc) GetCertThumbprint ¶ added in v0.7.0
func (*Govc) GetLibraryElementContentVersion ¶ added in v0.6.0
func (*Govc) GetWorkloadAvailableSpace ¶
func (*Govc) ImportTemplate ¶
func (*Govc) IsCertSelfSigned ¶ added in v0.7.0
func (*Govc) LibraryElementExists ¶
func (*Govc) NetworkExists ¶ added in v0.7.0
func (*Govc) ResizeDisk ¶
func (*Govc) SearchTemplate ¶
func (*Govc) TemplateHasSnapshot ¶
func (*Govc) ValidateVCenterAuthentication ¶ added in v0.7.0
func (*Govc) ValidateVCenterConnection ¶ added in v0.7.0
func (*Govc) ValidateVCenterSetupMachineConfig ¶
func (g *Govc) ValidateVCenterSetupMachineConfig(ctx context.Context, datacenterConfig *v1alpha1.VSphereDatacenterConfig, machineConfig *v1alpha1.VSphereMachineConfig, _ *bool) error
type Helm ¶ added in v0.7.0
type Helm struct {
// contains filtered or unexported fields
}
func NewHelm ¶ added in v0.7.0
func NewHelm(executable Executable, opts ...HelmOpt) *Helm
func (*Helm) InstallChart ¶ added in v0.9.0
func (*Helm) InstallChartFromName ¶ added in v0.9.0
func (*Helm) InstallChartWithValuesFile ¶ added in v0.9.2
func (h *Helm) InstallChartWithValuesFile(ctx context.Context, chart, ociURI, version, kubeconfigFilePath, valuesFilePath string) error
InstallChartWithValuesFile installs a helm chart with the provided values file and waits for the chart deployment to be ready The default timeout for the chart to reach ready state is 5m
func (*Helm) RegistryLogin ¶ added in v0.8.0
type HelmOpt ¶ added in v0.9.0
type HelmOpt func(*Helm)
func WithInsecure ¶ added in v0.10.0
func WithInsecure() HelmOpt
func WithRegistryMirror ¶ added in v0.9.0
type IdentityProviderConfigResponse ¶ added in v0.6.0
type Kind ¶
type Kind struct { Executable // contains filtered or unexported fields }
func NewKind ¶
func NewKind(executable Executable, writer filewriter.FileWriter) *Kind
func (*Kind) ClusterExists ¶
func (*Kind) CreateBootstrapCluster ¶
func (k *Kind) CreateBootstrapCluster(ctx context.Context, clusterSpec *cluster.Spec, opts ...bootstrapper.BootstrapClusterClientOption) (kubeconfig string, err error)
func (*Kind) DeleteBootstrapCluster ¶
func (*Kind) GetKubeconfig ¶
func (*Kind) WithDefaultCNIDisabled ¶
func (k *Kind) WithDefaultCNIDisabled() bootstrapper.BootstrapClusterClientOption
func (*Kind) WithEnv ¶
func (k *Kind) WithEnv(env map[string]string) bootstrapper.BootstrapClusterClientOption
func (*Kind) WithExtraDockerMounts ¶
func (k *Kind) WithExtraDockerMounts() bootstrapper.BootstrapClusterClientOption
func (*Kind) WithExtraPortMappings ¶ added in v0.9.0
func (k *Kind) WithExtraPortMappings(ports []int) bootstrapper.BootstrapClusterClientOption
func (*Kind) WithRegistryMirror ¶ added in v0.6.0
func (k *Kind) WithRegistryMirror(endpoint string, caCertFile string) bootstrapper.BootstrapClusterClientOption
type Kubectl ¶
type Kubectl struct {
Executable
}
func NewKubectl ¶
func NewKubectl(executable Executable) *Kubectl
func (*Kubectl) ApplyKubeSpec ¶
func (*Kubectl) ApplyKubeSpecFromBytes ¶
func (*Kubectl) ApplyKubeSpecFromBytesForce ¶
func (*Kubectl) ApplyKubeSpecFromBytesWithNamespace ¶ added in v0.6.0
func (*Kubectl) ApplyKubeSpecWithNamespace ¶
func (*Kubectl) ApplyTolerationsFromTaints ¶ added in v0.6.1
func (*Kubectl) ApplyTolerationsFromTaintsToDaemonSet ¶ added in v0.6.1
func (*Kubectl) CheckProviderExists ¶ added in v0.6.0
func (*Kubectl) CloudstackWorkerNodesMachineTemplate ¶ added in v0.9.0
func (k *Kubectl) CloudstackWorkerNodesMachineTemplate(ctx context.Context, clusterName string, kubeconfig string, namespace string) (*cloudstackv1.CloudStackMachineTemplate, error)
func (*Kubectl) CountMachineDeploymentReplicasReady ¶ added in v0.9.2
func (*Kubectl) CreateNamespace ¶
func (*Kubectl) CreateNamespaceIfNotPresent ¶ added in v0.11.0
func (*Kubectl) Delete ¶ added in v0.9.0
func (k *Kubectl) Delete(ctx context.Context, resourceType, name, namespace, kubeconfig string) error
Delete performs a DELETE call to the kube API server authenticating with a kubeconfig file
func (*Kubectl) DeleteAWSIamConfig ¶ added in v0.6.0
func (*Kubectl) DeleteCluster ¶
func (*Kubectl) DeleteEKSACluster ¶ added in v0.6.0
func (*Kubectl) DeleteEksaCloudStackDatacenterConfig ¶ added in v0.8.0
func (*Kubectl) DeleteEksaCloudStackMachineConfig ¶ added in v0.8.0
func (*Kubectl) DeleteEksaDatacenterConfig ¶ added in v0.7.0
func (*Kubectl) DeleteEksaMachineConfig ¶ added in v0.7.0
func (*Kubectl) DeleteFluxConfig ¶ added in v0.9.0
func (*Kubectl) DeleteGitOpsConfig ¶ added in v0.6.0
func (*Kubectl) DeleteKubeSpecFromBytes ¶ added in v0.6.0
func (*Kubectl) DeleteNamespace ¶ added in v0.6.0
func (*Kubectl) DeleteOIDCConfig ¶ added in v0.6.0
func (*Kubectl) DeleteOldWorkerNodeGroup ¶ added in v0.7.1
func (*Kubectl) DeleteSecret ¶ added in v0.6.1
func (*Kubectl) ExecuteCommand ¶ added in v0.9.0
func (*Kubectl) ExecuteFromYaml ¶ added in v0.11.0
func (*Kubectl) GetApiServerUrl ¶
func (*Kubectl) GetBundles ¶ added in v0.6.0
func (*Kubectl) GetClusterCATlsCert ¶ added in v0.6.0
func (*Kubectl) GetClusterResourceSet ¶ added in v0.6.0
func (*Kubectl) GetClusters ¶
func (*Kubectl) GetConfigMap ¶ added in v0.6.0
func (*Kubectl) GetControlPlaneNodes ¶ added in v0.7.1
func (*Kubectl) GetCurrentClusterContext ¶
func (*Kubectl) GetDaemonSet ¶ added in v0.7.0
func (*Kubectl) GetDeployment ¶ added in v0.7.0
func (*Kubectl) GetDeployments ¶
func (k *Kubectl) GetDeployments(ctx context.Context, opts ...KubectlOpt) ([]appsv1.Deployment, error)
func (*Kubectl) GetEksaAWSDatacenterConfig ¶
func (*Kubectl) GetEksaAWSIamConfig ¶ added in v0.6.0
func (*Kubectl) GetEksaCloudStackDatacenterConfig ¶ added in v0.8.0
func (*Kubectl) GetEksaCloudStackMachineConfig ¶ added in v0.8.0
func (*Kubectl) GetEksaCluster ¶
func (*Kubectl) GetEksaFluxConfig ¶ added in v0.9.0
func (*Kubectl) GetEksaGitOpsConfig ¶
func (*Kubectl) GetEksaOIDCConfig ¶
func (*Kubectl) GetEksaTinkerbellDatacenterConfig ¶ added in v0.9.0
func (*Kubectl) GetEksaTinkerbellMachineConfig ¶ added in v0.9.0
func (*Kubectl) GetEksaVSphereDatacenterConfig ¶
func (*Kubectl) GetEksaVSphereMachineConfig ¶
func (*Kubectl) GetEksdRelease ¶ added in v0.8.0
func (*Kubectl) GetEtcdadmCluster ¶
func (k *Kubectl) GetEtcdadmCluster(ctx context.Context, cluster *types.Cluster, clusterName string, opts ...KubectlOpt) (*etcdv1.EtcdadmCluster, error)
func (*Kubectl) GetKubeadmControlPlane ¶
func (k *Kubectl) GetKubeadmControlPlane(ctx context.Context, cluster *types.Cluster, clusterName string, opts ...KubectlOpt) (*controlplanev1.KubeadmControlPlane, error)
func (*Kubectl) GetKubeadmControlPlanes ¶
func (k *Kubectl) GetKubeadmControlPlanes(ctx context.Context, opts ...KubectlOpt) ([]controlplanev1.KubeadmControlPlane, error)
func (*Kubectl) GetMachineDeployment ¶
func (k *Kubectl) GetMachineDeployment(ctx context.Context, workerNodeGroupName string, opts ...KubectlOpt) (*clusterv1.MachineDeployment, error)
func (*Kubectl) GetMachineDeployments ¶
func (k *Kubectl) GetMachineDeployments(ctx context.Context, opts ...KubectlOpt) ([]clusterv1.MachineDeployment, error)
func (*Kubectl) GetMachineSets ¶ added in v0.7.1
func (*Kubectl) GetMachines ¶
func (*Kubectl) GetNamespace ¶ added in v0.6.0
func (*Kubectl) GetObject ¶ added in v0.9.0
func (k *Kubectl) GetObject(ctx context.Context, resourceType, name, namespace, kubeconfig string, obj runtime.Object) error
GetObject performs a GET call to the kube API server authenticating with a kubeconfig file and unmarshalls the response into the provdied Object If the object is not found, it returns an error implementing apimachinery errors.APIStatus
func (*Kubectl) GetProvisionedTinkerbellHardware ¶ added in v0.11.0
func (k *Kubectl) GetProvisionedTinkerbellHardware(ctx context.Context, kubeconfig, namespace string) ([]tinkv1alpha1.Hardware, error)
GetProvisionedTinkerbellHardware retrieves provisioned Tinkerbell Hardware objects. Provisioned objects are those with owner reference information.
func (*Kubectl) GetResource ¶ added in v0.6.1
func (*Kubectl) GetSecretFromNamespace ¶ added in v0.6.0
func (*Kubectl) GetUnprovisionedTinkerbellHardware ¶ added in v0.9.2
func (k *Kubectl) GetUnprovisionedTinkerbellHardware(ctx context.Context, kubeconfig, namespace string) ([]tinkv1alpha1.Hardware, error)
GetUnprovisionedTinkerbellHardware retrieves unprovisioned Tinkerbell Hardware objects. Unprovisioned objects are those without any owner reference information.
func (*Kubectl) KubeconfigSecretAvailable ¶ added in v0.6.1
func (*Kubectl) LoadSecret ¶
func (*Kubectl) MachineTemplateName ¶
func (*Kubectl) RemoveAnnotation ¶
func (*Kubectl) RemoveAnnotationInNamespace ¶
func (*Kubectl) RolloutRestartDaemonSet ¶ added in v0.9.1
func (*Kubectl) SaveLog ¶
func (k *Kubectl) SaveLog(ctx context.Context, cluster *types.Cluster, deployment *types.Deployment, fileName string, writer filewriter.FileWriter) error
func (*Kubectl) SearchCloudStackDatacenterConfig ¶ added in v0.8.0
func (*Kubectl) SearchCloudStackMachineConfig ¶ added in v0.8.0
func (*Kubectl) SearchEksaGitOpsConfig ¶ added in v0.6.0
func (*Kubectl) SearchIdentityProviderConfig ¶ added in v0.6.0
func (*Kubectl) SearchVsphereDatacenterConfig ¶ added in v0.6.0
func (*Kubectl) SearchVsphereMachineConfig ¶ added in v0.6.0
func (*Kubectl) SetDaemonSetImage ¶ added in v0.6.0
func (*Kubectl) SetEksaControllerEnvVar ¶ added in v0.9.0
func (*Kubectl) UpdateAnnotation ¶
func (*Kubectl) UpdateAnnotationInNamespace ¶
func (*Kubectl) UpdateEnvironmentVariables ¶ added in v0.6.0
func (*Kubectl) UpdateEnvironmentVariablesInNamespace ¶ added in v0.6.0
func (*Kubectl) ValidateClustersCRD ¶
func (*Kubectl) ValidateControlPlaneNodes ¶
func (*Kubectl) ValidateEKSAClustersCRD ¶ added in v0.6.0
func (*Kubectl) ValidateNodes ¶
func (*Kubectl) ValidateNodesVersion ¶
func (*Kubectl) ValidatePods ¶
func (*Kubectl) ValidateWorkerNodes ¶
func (*Kubectl) VsphereWorkerNodesMachineTemplate ¶
func (*Kubectl) WaitForClusterReady ¶ added in v0.10.1
func (*Kubectl) WaitForControlPlaneNotReady ¶ added in v0.9.0
func (*Kubectl) WaitForControlPlaneReady ¶
func (*Kubectl) WaitForDeployment ¶
func (*Kubectl) WaitForManagedExternalEtcdNotReady ¶ added in v0.10.1
func (*Kubectl) WaitForManagedExternalEtcdReady ¶
func (*Kubectl) WaitForService ¶ added in v0.9.2
func (k *Kubectl) WaitForService(ctx context.Context, kubeconfig string, timeout string, target string, namespace string) error
WaitForService blocks until an IP address is assigned.
Until more generic status matching comes around (possibly in 1.23), poll the service, checking for an IP address. Would you like to know more? https://github.com/kubernetes/kubernetes/issues/83094
type KubectlOpt ¶
type KubectlOpt func(*[]string)
func WithAllNamespaces ¶
func WithAllNamespaces() KubectlOpt
func WithCluster ¶
func WithCluster(c *types.Cluster) KubectlOpt
func WithKubeconfig ¶ added in v0.6.0
func WithKubeconfig(kubeconfigFile string) KubectlOpt
func WithNamespace ¶
func WithNamespace(n string) KubectlOpt
func WithOverwrite ¶
func WithOverwrite() KubectlOpt
func WithServer ¶
func WithServer(s string) KubectlOpt
func WithSkipTLSVerify ¶
func WithSkipTLSVerify() KubectlOpt
func WithToken ¶
func WithToken(t string) KubectlOpt
type Sonobuoy ¶
type Sonobuoy struct {
Executable
}
func BuildSonobuoyExecutable ¶
func BuildSonobuoyExecutable() *Sonobuoy
func NewSonobuoy ¶
func NewSonobuoy(executable Executable) *Sonobuoy
func (*Sonobuoy) GetResults ¶ added in v0.6.0
type SupportBundleAnalysis ¶ added in v0.6.0
type Toleration ¶ added in v0.6.1
type Troubleshoot ¶ added in v0.6.0
type Troubleshoot struct {
Executable
}
func NewTroubleshoot ¶ added in v0.6.0
func NewTroubleshoot(executable Executable) *Troubleshoot
func (*Troubleshoot) Analyze ¶ added in v0.6.0
func (t *Troubleshoot) Analyze(ctx context.Context, bundleSpecPath string, archivePath string) ([]*SupportBundleAnalysis, error)
type VSphereDatacenterConfigResponse ¶ added in v0.6.0
type VSphereDatacenterConfigResponse struct {
Items []*v1alpha1.VSphereDatacenterConfig `json:"items,omitempty"`
}
type VSphereMachineConfigResponse ¶ added in v0.6.0
type VSphereMachineConfigResponse struct {
Items []*v1alpha1.VSphereMachineConfig `json:"items,omitempty"`
}