Documentation ¶
Index ¶
- func DefaultEksaImage() string
- type AwsCli
- 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 Docker
- func (d *Docker) AllocatedMemory(ctx context.Context) (uint64, error)
- func (d *Docker) GetDockerLBPort(ctx context.Context, clusterName string) (port string, err 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) SetUpCLITools(ctx context.Context, image string) error
- func (d *Docker) TagImage(ctx context.Context, image string, endpoint string) error
- func (d *Docker) Version(ctx context.Context) (int, error)
- type Executable
- type ExecutableBuilder
- func (b *ExecutableBuilder) BuildAwsCli() *AwsCli
- func (b *ExecutableBuilder) BuildClusterAwsAdmExecutable() *Clusterawsadm
- func (b *ExecutableBuilder) BuildClusterCtlExecutable(writer filewriter.FileWriter) *Clusterctl
- func (b *ExecutableBuilder) BuildFluxExecutable() *Flux
- func (b *ExecutableBuilder) BuildGovcExecutable(writer filewriter.FileWriter) *Govc
- func (b *ExecutableBuilder) BuildKindExecutable(writer filewriter.FileWriter) *Kind
- func (b *ExecutableBuilder) BuildKubectlExecutable() *Kubectl
- func (b *ExecutableBuilder) BuildTroubleshootExecutable() *Troubleshoot
- type Flux
- func (f *Flux) BootstrapToolkitsComponents(ctx context.Context, cluster *types.Cluster, ...) error
- func (f *Flux) PauseKustomization(ctx context.Context, cluster *types.Cluster, ...) error
- func (f *Flux) Reconcile(ctx context.Context, cluster *types.Cluster, ...) error
- func (f *Flux) ResumeKustomization(ctx context.Context, cluster *types.Cluster, ...) error
- func (f *Flux) UninstallToolkitsComponents(ctx context.Context, cluster *types.Cluster, ...) 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) 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) DeleteLibraryElement(ctx context.Context, element string) error
- func (g *Govc) DeleteTemplate(ctx context.Context, resourcePool, templatePath string) error
- func (g *Govc) DeployTemplateFromLibrary(ctx context.Context, ...) error
- func (g *Govc) DevicesInfo(ctx context.Context, template string) (interface{}, 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, machineConfig *v1alpha1.VSphereMachineConfig) (float64, error)
- func (g *Govc) ImportTemplate(ctx context.Context, library, ovaURL, name string) error
- 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) ResizeDisk(ctx context.Context, 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) ValidateVCenterSetup(ctx context.Context, datacenterConfig *v1alpha1.VSphereDatacenterConfig, ...) error
- func (g *Govc) ValidateVCenterSetupMachineConfig(ctx context.Context, datacenterConfig *v1alpha1.VSphereDatacenterConfig, ...) error
- 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) 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) CheckProviderExists(ctx context.Context, kubeconfigFile, name, namespace string) (bool, error)
- func (k *Kubectl) CreateNamespace(ctx context.Context, kubeconfig string, namespace 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) DeleteEksaVSphereDatacenterConfig(ctx context.Context, vsphereDatacenterConfigName string, kubeconfigFile string, ...) error
- func (k *Kubectl) DeleteEksaVSphereMachineConfig(ctx context.Context, vsphereMachineConfigName string, kubeconfigFile string, ...) 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) 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, cluster *types.Cluster, namespace string) ([]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) GetCurrentClusterContext(ctx context.Context, cluster *types.Cluster) (string, 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) GetEksaCluster(ctx context.Context, cluster *types.Cluster, clusterName string) (*v1alpha1.Cluster, 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) 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) GetEtcdadmCluster(ctx context.Context, cluster *types.Cluster, clusterName string, ...) (*etcdv1alpha3.EtcdadmCluster, error)
- func (k *Kubectl) GetKubeadmControlPlane(ctx context.Context, cluster *types.Cluster, clusterName string, ...) (*kubeadmnv1alpha3.KubeadmControlPlane, error)
- func (k *Kubectl) GetKubeadmControlPlanes(ctx context.Context, opts ...KubectlOpt) ([]kubeadmnv1alpha3.KubeadmControlPlane, error)
- func (k *Kubectl) GetMachineDeployment(ctx context.Context, cluster *types.Cluster, clusterName string, ...) (*v1alpha3.MachineDeployment, error)
- func (k *Kubectl) GetMachineDeployments(ctx context.Context, opts ...KubectlOpt) ([]v1alpha3.MachineDeployment, 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) GetPods(ctx context.Context, opts ...KubectlOpt) ([]corev1.Pod, 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) 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) SaveLog(ctx context.Context, cluster *types.Cluster, deployment *types.Deployment, ...) 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) 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, cluster *types.Cluster, clusterName 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) (*vspherev3.VSphereMachineTemplate, error)
- func (k *Kubectl) Wait(ctx context.Context, kubeconfig string, timeout string, forCondition 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) WaitForManagedExternalEtcdReady(ctx context.Context, cluster *types.Cluster, timeout 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 Troubleshoot
- type VSphereDatacenterConfigResponse
- type VSphereMachineConfigResponse
- type VersionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEksaImage ¶
func DefaultEksaImage() string
Types ¶
type AwsCli ¶
type AwsCli struct {
// contains filtered or unexported fields
}
func NewAwsCli ¶
func NewAwsCli(executable Executable) *AwsCli
type Clusterawsadm ¶
type Clusterawsadm struct {
// contains filtered or unexported fields
}
func NewClusterawsadm ¶
func NewClusterawsadm(executable Executable) *Clusterawsadm
func (*Clusterawsadm) BootstrapCreds ¶
func (*Clusterawsadm) BootstrapIam ¶
func (*Clusterawsadm) DeleteCloudformationStack ¶
func (*Clusterawsadm) ListAccessKeys ¶
type Clusterctl ¶
type Clusterctl struct {
// 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 Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func BuildDockerExecutable ¶
func BuildDockerExecutable() *Docker
func NewDocker ¶
func NewDocker(executable Executable) *Docker
func (*Docker) AllocatedMemory ¶
func (*Docker) GetDockerLBPort ¶
func (*Docker) SetUpCLITools ¶
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) ExecuteWithStdin(ctx context.Context, in []byte, args ...string) (stdout bytes.Buffer, err error) }
func NewDockerExecutable ¶
func NewDockerExecutable(cli, image string, mountDir 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 ExecutableBuilder struct {
// contains filtered or unexported fields
}
func NewExecutableBuilder ¶
func NewExecutableBuilder(ctx context.Context, image string) (*ExecutableBuilder, error)
func NewLocalExecutableBuilder ¶ added in v0.6.0
func NewLocalExecutableBuilder() *ExecutableBuilder
func (*ExecutableBuilder) BuildAwsCli ¶
func (b *ExecutableBuilder) BuildAwsCli() *AwsCli
func (*ExecutableBuilder) BuildClusterAwsAdmExecutable ¶
func (b *ExecutableBuilder) BuildClusterAwsAdmExecutable() *Clusterawsadm
func (*ExecutableBuilder) BuildClusterCtlExecutable ¶
func (b *ExecutableBuilder) BuildClusterCtlExecutable(writer filewriter.FileWriter) *Clusterctl
func (*ExecutableBuilder) BuildFluxExecutable ¶
func (b *ExecutableBuilder) BuildFluxExecutable() *Flux
func (*ExecutableBuilder) BuildGovcExecutable ¶
func (b *ExecutableBuilder) BuildGovcExecutable(writer filewriter.FileWriter) *Govc
func (*ExecutableBuilder) BuildKindExecutable ¶
func (b *ExecutableBuilder) BuildKindExecutable(writer filewriter.FileWriter) *Kind
func (*ExecutableBuilder) BuildKubectlExecutable ¶
func (b *ExecutableBuilder) BuildKubectlExecutable() *Kubectl
func (*ExecutableBuilder) BuildTroubleshootExecutable ¶ added in v0.6.0
func (b *ExecutableBuilder) BuildTroubleshootExecutable() *Troubleshoot
type Flux ¶
type Flux struct {
// contains filtered or unexported fields
}
func NewFlux ¶
func NewFlux(executable Executable) *Flux
func (*Flux) BootstrapToolkitsComponents ¶
func (f *Flux) BootstrapToolkitsComponents(ctx context.Context, cluster *types.Cluster, gitOpsConfig *v1alpha1.GitOpsConfig) error
BootstrapToolkitsComponents 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) PauseKustomization ¶
func (*Flux) ResumeKustomization ¶
func (*Flux) UninstallToolkitsComponents ¶
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 {
// contains filtered or unexported fields
}
func NewGovc ¶
func NewGovc(executable Executable, writer filewriter.FileWriter) *Govc
func (*Govc) CleanupVms ¶
func (*Govc) CreateCategoryForVM ¶
func (*Govc) CreateLibrary ¶
func (*Govc) DeleteLibraryElement ¶ added in v0.6.0
func (*Govc) DeleteTemplate ¶
func (*Govc) DeployTemplateFromLibrary ¶
func (*Govc) DevicesInfo ¶
func (*Govc) GetLibraryElementContentVersion ¶ added in v0.6.0
func (*Govc) GetWorkloadAvailableSpace ¶
func (*Govc) ImportTemplate ¶
func (*Govc) LibraryElementExists ¶
func (*Govc) ResizeDisk ¶
func (*Govc) SearchTemplate ¶
func (*Govc) TemplateHasSnapshot ¶
func (*Govc) ValidateVCenterSetup ¶
func (*Govc) ValidateVCenterSetupMachineConfig ¶
func (g *Govc) ValidateVCenterSetupMachineConfig(ctx context.Context, datacenterConfig *v1alpha1.VSphereDatacenterConfig, machineConfig *v1alpha1.VSphereMachineConfig, selfSigned *bool) error
type IdentityProviderConfigResponse ¶ added in v0.6.0
type Kind ¶
type Kind struct {
// 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) WithRegistryMirror ¶ added in v0.6.0
func (k *Kind) WithRegistryMirror(endpoint string, caCertFile string) bootstrapper.BootstrapClusterClientOption
type Kubectl ¶
type Kubectl struct {
// contains filtered or unexported fields
}
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) CheckProviderExists ¶ added in v0.6.0
func (*Kubectl) CreateNamespace ¶
func (*Kubectl) DeleteAWSIamConfig ¶ added in v0.6.0
func (*Kubectl) DeleteCluster ¶
func (*Kubectl) DeleteEKSACluster ¶ added in v0.6.0
func (*Kubectl) DeleteEksaVSphereDatacenterConfig ¶ added in v0.6.0
func (*Kubectl) DeleteEksaVSphereMachineConfig ¶ added in v0.6.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) 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) GetCurrentClusterContext ¶
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) GetEksaCluster ¶
func (*Kubectl) GetEksaGitOpsConfig ¶
func (*Kubectl) GetEksaOIDCConfig ¶
func (*Kubectl) GetEksaVSphereDatacenterConfig ¶
func (*Kubectl) GetEksaVSphereMachineConfig ¶
func (*Kubectl) GetEtcdadmCluster ¶
func (k *Kubectl) GetEtcdadmCluster(ctx context.Context, cluster *types.Cluster, clusterName string, opts ...KubectlOpt) (*etcdv1alpha3.EtcdadmCluster, error)
func (*Kubectl) GetKubeadmControlPlane ¶
func (k *Kubectl) GetKubeadmControlPlane(ctx context.Context, cluster *types.Cluster, clusterName string, opts ...KubectlOpt) (*kubeadmnv1alpha3.KubeadmControlPlane, error)
func (*Kubectl) GetKubeadmControlPlanes ¶
func (k *Kubectl) GetKubeadmControlPlanes(ctx context.Context, opts ...KubectlOpt) ([]kubeadmnv1alpha3.KubeadmControlPlane, error)
func (*Kubectl) GetMachineDeployment ¶
func (k *Kubectl) GetMachineDeployment(ctx context.Context, cluster *types.Cluster, clusterName string, opts ...KubectlOpt) (*v1alpha3.MachineDeployment, error)
func (*Kubectl) GetMachineDeployments ¶
func (k *Kubectl) GetMachineDeployments(ctx context.Context, opts ...KubectlOpt) ([]v1alpha3.MachineDeployment, error)
func (*Kubectl) GetMachines ¶
func (*Kubectl) GetNamespace ¶ added in v0.6.0
func (*Kubectl) GetSecretFromNamespace ¶ added in v0.6.0
func (*Kubectl) LoadSecret ¶
func (*Kubectl) MachineTemplateName ¶
func (*Kubectl) RemoveAnnotation ¶
func (*Kubectl) RemoveAnnotationInNamespace ¶
func (*Kubectl) SaveLog ¶
func (k *Kubectl) SaveLog(ctx context.Context, cluster *types.Cluster, deployment *types.Deployment, fileName string, writer filewriter.FileWriter) error
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) 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) WaitForControlPlaneReady ¶
func (*Kubectl) WaitForDeployment ¶
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 {
// contains filtered or unexported fields
}
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 Troubleshoot ¶ added in v0.6.0
type Troubleshoot struct {
// contains filtered or unexported fields
}
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"`
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.