mocks

package
v0.21.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAwsIamAuth added in v0.6.0

type MockAwsIamAuth struct {
	// contains filtered or unexported fields
}

MockAwsIamAuth is a mock of AwsIamAuth interface.

func NewMockAwsIamAuth added in v0.6.0

func NewMockAwsIamAuth(ctrl *gomock.Controller) *MockAwsIamAuth

NewMockAwsIamAuth creates a new mock instance.

func (*MockAwsIamAuth) CreateAndInstallAWSIAMAuthCASecret added in v0.13.0

func (m *MockAwsIamAuth) CreateAndInstallAWSIAMAuthCASecret(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

CreateAndInstallAWSIAMAuthCASecret mocks base method.

func (*MockAwsIamAuth) EXPECT added in v0.6.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAwsIamAuth) GenerateKubeconfig added in v0.19.0

func (m *MockAwsIamAuth) GenerateKubeconfig(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error

GenerateKubeconfig mocks base method.

func (*MockAwsIamAuth) GenerateManagementAWSIAMKubeconfig added in v0.19.0

func (m *MockAwsIamAuth) GenerateManagementAWSIAMKubeconfig(arg0 context.Context, arg1 *types.Cluster) error

GenerateManagementAWSIAMKubeconfig mocks base method.

func (*MockAwsIamAuth) InstallAWSIAMAuth added in v0.13.0

func (m *MockAwsIamAuth) InstallAWSIAMAuth(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error

InstallAWSIAMAuth mocks base method.

func (*MockAwsIamAuth) UpgradeAWSIAMAuth added in v0.13.0

func (m *MockAwsIamAuth) UpgradeAWSIAMAuth(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error

UpgradeAWSIAMAuth mocks base method.

type MockAwsIamAuthMockRecorder added in v0.6.0

type MockAwsIamAuthMockRecorder struct {
	// contains filtered or unexported fields
}

MockAwsIamAuthMockRecorder is the mock recorder for MockAwsIamAuth.

func (*MockAwsIamAuthMockRecorder) CreateAndInstallAWSIAMAuthCASecret added in v0.13.0

func (mr *MockAwsIamAuthMockRecorder) CreateAndInstallAWSIAMAuthCASecret(arg0, arg1, arg2 interface{}) *gomock.Call

CreateAndInstallAWSIAMAuthCASecret indicates an expected call of CreateAndInstallAWSIAMAuthCASecret.

func (*MockAwsIamAuthMockRecorder) GenerateKubeconfig added in v0.19.0

func (mr *MockAwsIamAuthMockRecorder) GenerateKubeconfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateKubeconfig indicates an expected call of GenerateKubeconfig.

func (*MockAwsIamAuthMockRecorder) GenerateManagementAWSIAMKubeconfig added in v0.19.0

func (mr *MockAwsIamAuthMockRecorder) GenerateManagementAWSIAMKubeconfig(arg0, arg1 interface{}) *gomock.Call

GenerateManagementAWSIAMKubeconfig indicates an expected call of GenerateManagementAWSIAMKubeconfig.

func (*MockAwsIamAuthMockRecorder) InstallAWSIAMAuth added in v0.13.0

func (mr *MockAwsIamAuthMockRecorder) InstallAWSIAMAuth(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

InstallAWSIAMAuth indicates an expected call of InstallAWSIAMAuth.

func (*MockAwsIamAuthMockRecorder) UpgradeAWSIAMAuth added in v0.13.0

func (mr *MockAwsIamAuthMockRecorder) UpgradeAWSIAMAuth(arg0, arg1, arg2 interface{}) *gomock.Call

UpgradeAWSIAMAuth indicates an expected call of UpgradeAWSIAMAuth.

type MockCAPIClient added in v0.19.0

type MockCAPIClient struct {
	// contains filtered or unexported fields
}

MockCAPIClient is a mock of CAPIClient interface.

func NewMockCAPIClient added in v0.19.0

func NewMockCAPIClient(ctrl *gomock.Controller) *MockCAPIClient

NewMockCAPIClient creates a new mock instance.

func (*MockCAPIClient) BackupManagement added in v0.19.0

func (m *MockCAPIClient) BackupManagement(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

BackupManagement mocks base method.

func (*MockCAPIClient) EXPECT added in v0.19.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCAPIClient) GetWorkloadKubeconfig added in v0.19.0

func (m *MockCAPIClient) GetWorkloadKubeconfig(arg0 context.Context, arg1 string, arg2 *types.Cluster) ([]byte, error)

GetWorkloadKubeconfig mocks base method.

func (*MockCAPIClient) InitInfrastructure added in v0.19.0

func (m *MockCAPIClient) InitInfrastructure(arg0 context.Context, arg1 *cluster.ManagementComponents, arg2 *cluster.Spec, arg3 *types.Cluster, arg4 providers.Provider) error

InitInfrastructure mocks base method.

func (*MockCAPIClient) MoveManagement added in v0.19.0

func (m *MockCAPIClient) MoveManagement(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string) error

MoveManagement mocks base method.

type MockCAPIClientMockRecorder added in v0.19.0

type MockCAPIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockCAPIClientMockRecorder is the mock recorder for MockCAPIClient.

func (*MockCAPIClientMockRecorder) BackupManagement added in v0.19.0

func (mr *MockCAPIClientMockRecorder) BackupManagement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

BackupManagement indicates an expected call of BackupManagement.

func (*MockCAPIClientMockRecorder) GetWorkloadKubeconfig added in v0.19.0

func (mr *MockCAPIClientMockRecorder) GetWorkloadKubeconfig(arg0, arg1, arg2 interface{}) *gomock.Call

GetWorkloadKubeconfig indicates an expected call of GetWorkloadKubeconfig.

func (*MockCAPIClientMockRecorder) InitInfrastructure added in v0.19.0

func (mr *MockCAPIClientMockRecorder) InitInfrastructure(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

InitInfrastructure indicates an expected call of InitInfrastructure.

func (*MockCAPIClientMockRecorder) MoveManagement added in v0.19.0

func (mr *MockCAPIClientMockRecorder) MoveManagement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

MoveManagement indicates an expected call of MoveManagement.

type MockClientFactory added in v0.15.0

type MockClientFactory struct {
	// contains filtered or unexported fields
}

MockClientFactory is a mock of ClientFactory interface.

func NewMockClientFactory added in v0.15.0

func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory

NewMockClientFactory creates a new mock instance.

func (*MockClientFactory) BuildClientFromKubeconfig added in v0.15.0

func (m *MockClientFactory) BuildClientFromKubeconfig(arg0 string) (kubernetes.Client, error)

BuildClientFromKubeconfig mocks base method.

func (*MockClientFactory) EXPECT added in v0.15.0

EXPECT returns an object that allows the caller to indicate expected use.

type MockClientFactoryMockRecorder added in v0.15.0

type MockClientFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.

func (*MockClientFactoryMockRecorder) BuildClientFromKubeconfig added in v0.15.0

func (mr *MockClientFactoryMockRecorder) BuildClientFromKubeconfig(arg0 interface{}) *gomock.Call

BuildClientFromKubeconfig indicates an expected call of BuildClientFromKubeconfig.

type MockClusterApplier added in v0.19.0

type MockClusterApplier struct {
	// contains filtered or unexported fields
}

MockClusterApplier is a mock of ClusterApplier interface.

func NewMockClusterApplier added in v0.19.0

func NewMockClusterApplier(ctrl *gomock.Controller) *MockClusterApplier

NewMockClusterApplier creates a new mock instance.

func (*MockClusterApplier) EXPECT added in v0.19.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterApplier) Run added in v0.19.0

func (m *MockClusterApplier) Run(arg0 context.Context, arg1 *cluster.Spec, arg2 types.Cluster) error

Run mocks base method.

type MockClusterApplierMockRecorder added in v0.19.0

type MockClusterApplierMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterApplierMockRecorder is the mock recorder for MockClusterApplier.

func (*MockClusterApplierMockRecorder) Run added in v0.19.0

func (mr *MockClusterApplierMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockClusterClient

type MockClusterClient struct {
	// contains filtered or unexported fields
}

MockClusterClient is a mock of ClusterClient interface.

func NewMockClusterClient

func NewMockClusterClient(ctrl *gomock.Controller) *MockClusterClient

NewMockClusterClient creates a new mock instance.

func (*MockClusterClient) Apply added in v0.13.0

Apply mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytes

func (m *MockClusterClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytes mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytesForce

func (m *MockClusterClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytesForce mocks base method.

func (*MockClusterClient) ApplyKubeSpecFromBytesWithNamespace added in v0.6.0

func (m *MockClusterClient) ApplyKubeSpecFromBytesWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2 []byte, arg3 string) error

ApplyKubeSpecFromBytesWithNamespace mocks base method.

func (*MockClusterClient) BackupManagement added in v0.14.4

func (m *MockClusterClient) BackupManagement(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

BackupManagement mocks base method.

func (*MockClusterClient) CountMachineDeploymentReplicasReady added in v0.9.2

func (m *MockClusterClient) CountMachineDeploymentReplicasReady(arg0 context.Context, arg1, arg2 string) (int, int, error)

CountMachineDeploymentReplicasReady mocks base method.

func (*MockClusterClient) CreateNamespaceIfNotPresent added in v0.11.0

func (m *MockClusterClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error

CreateNamespaceIfNotPresent mocks base method.

func (*MockClusterClient) DeleteAWSIamConfig added in v0.6.0

func (m *MockClusterClient) DeleteAWSIamConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteAWSIamConfig mocks base method.

func (*MockClusterClient) DeleteCluster

func (m *MockClusterClient) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster) error

DeleteCluster mocks base method.

func (*MockClusterClient) DeleteEKSACluster added in v0.6.0

func (m *MockClusterClient) DeleteEKSACluster(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteEKSACluster mocks base method.

func (*MockClusterClient) DeleteGitOpsConfig added in v0.6.0

func (m *MockClusterClient) DeleteGitOpsConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteGitOpsConfig mocks base method.

func (*MockClusterClient) DeleteOIDCConfig added in v0.6.0

func (m *MockClusterClient) DeleteOIDCConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteOIDCConfig mocks base method.

func (*MockClusterClient) DeleteOldWorkerNodeGroup added in v0.7.1

func (m *MockClusterClient) DeleteOldWorkerNodeGroup(arg0 context.Context, arg1 *v1beta1.MachineDeployment, arg2 string) error

DeleteOldWorkerNodeGroup mocks base method.

func (*MockClusterClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClusterClient) GetApiServerUrl added in v0.6.0

func (m *MockClusterClient) GetApiServerUrl(arg0 context.Context, arg1 *types.Cluster) (string, error)

GetApiServerUrl mocks base method.

func (*MockClusterClient) GetBundles added in v0.6.0

func (m *MockClusterClient) GetBundles(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha10.Bundles, error)

GetBundles mocks base method.

func (*MockClusterClient) GetClusters

func (m *MockClusterClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)

GetClusters mocks base method.

func (*MockClusterClient) GetConfigMap added in v0.19.0

func (m *MockClusterClient) GetConfigMap(arg0 context.Context, arg1, arg2, arg3 string) (*v1.ConfigMap, error)

GetConfigMap mocks base method.

func (*MockClusterClient) GetEksaAWSIamConfig added in v0.12.0

func (m *MockClusterClient) GetEksaAWSIamConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.AWSIamConfig, error)

GetEksaAWSIamConfig mocks base method.

func (*MockClusterClient) GetEksaCloudStackMachineConfig added in v0.9.0

func (m *MockClusterClient) GetEksaCloudStackMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.CloudStackMachineConfig, error)

GetEksaCloudStackMachineConfig mocks base method.

func (*MockClusterClient) GetEksaCluster

func (m *MockClusterClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)

GetEksaCluster mocks base method.

func (*MockClusterClient) GetEksaFluxConfig added in v0.9.0

func (m *MockClusterClient) GetEksaFluxConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.FluxConfig, error)

GetEksaFluxConfig mocks base method.

func (*MockClusterClient) GetEksaGitOpsConfig added in v0.6.1

func (m *MockClusterClient) GetEksaGitOpsConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.GitOpsConfig, error)

GetEksaGitOpsConfig mocks base method.

func (*MockClusterClient) GetEksaOIDCConfig added in v0.8.0

func (m *MockClusterClient) GetEksaOIDCConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.OIDCConfig, error)

GetEksaOIDCConfig mocks base method.

func (*MockClusterClient) GetEksaVSphereDatacenterConfig

func (m *MockClusterClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereDatacenterConfig, error)

GetEksaVSphereDatacenterConfig mocks base method.

func (*MockClusterClient) GetEksaVSphereMachineConfig

func (m *MockClusterClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereMachineConfig, error)

GetEksaVSphereMachineConfig mocks base method.

func (*MockClusterClient) GetEksdRelease added in v0.8.0

func (m *MockClusterClient) GetEksdRelease(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha11.Release, error)

GetEksdRelease mocks base method.

func (*MockClusterClient) GetKubeadmControlPlane added in v0.13.0

func (m *MockClusterClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta10.KubeadmControlPlane, error)

GetKubeadmControlPlane mocks base method.

func (*MockClusterClient) GetMachineDeployment added in v0.7.1

func (m *MockClusterClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta1.MachineDeployment, error)

GetMachineDeployment mocks base method.

func (*MockClusterClient) GetMachineDeploymentsForCluster added in v0.13.0

func (m *MockClusterClient) GetMachineDeploymentsForCluster(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) ([]v1beta1.MachineDeployment, error)

GetMachineDeploymentsForCluster mocks base method.

func (*MockClusterClient) GetMachines

func (m *MockClusterClient) GetMachines(arg0 context.Context, arg1 *types.Cluster, arg2 string) ([]types.Machine, error)

GetMachines mocks base method.

func (*MockClusterClient) GetWorkloadKubeconfig

func (m *MockClusterClient) GetWorkloadKubeconfig(arg0 context.Context, arg1 string, arg2 *types.Cluster) ([]byte, error)

GetWorkloadKubeconfig mocks base method.

func (*MockClusterClient) InitInfrastructure

func (m *MockClusterClient) InitInfrastructure(arg0 context.Context, arg1 *cluster.ManagementComponents, arg2 *cluster.Spec, arg3 *types.Cluster, arg4 providers.Provider) error

InitInfrastructure mocks base method.

func (*MockClusterClient) KubeconfigSecretAvailable added in v0.6.1

func (m *MockClusterClient) KubeconfigSecretAvailable(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)

KubeconfigSecretAvailable mocks base method.

func (*MockClusterClient) ListObjects added in v0.12.0

func (m *MockClusterClient) ListObjects(arg0 context.Context, arg1, arg2, arg3 string, arg4 kubernetes.ObjectList) error

ListObjects mocks base method.

func (*MockClusterClient) MoveManagement

func (m *MockClusterClient) MoveManagement(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string) error

MoveManagement mocks base method.

func (*MockClusterClient) PauseCAPICluster added in v0.16.0

func (m *MockClusterClient) PauseCAPICluster(arg0 context.Context, arg1, arg2 string) error

PauseCAPICluster mocks base method.

func (*MockClusterClient) RemoveAnnotationInNamespace

func (m *MockClusterClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, arg5 string) error

RemoveAnnotationInNamespace mocks base method.

func (*MockClusterClient) ResumeCAPICluster added in v0.16.0

func (m *MockClusterClient) ResumeCAPICluster(arg0 context.Context, arg1, arg2 string) error

ResumeCAPICluster mocks base method.

func (*MockClusterClient) SaveLog

func (m *MockClusterClient) SaveLog(arg0 context.Context, arg1 *types.Cluster, arg2 *types.Deployment, arg3 string, arg4 filewriter.FileWriter) error

SaveLog mocks base method.

func (*MockClusterClient) SetEksaControllerEnvVar added in v0.9.0

func (m *MockClusterClient) SetEksaControllerEnvVar(arg0 context.Context, arg1, arg2, arg3 string) error

SetEksaControllerEnvVar mocks base method.

func (*MockClusterClient) UpdateAnnotationInNamespace

func (m *MockClusterClient) UpdateAnnotationInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateAnnotationInNamespace mocks base method.

func (*MockClusterClient) UpdateEnvironmentVariablesInNamespace added in v0.6.0

func (m *MockClusterClient) UpdateEnvironmentVariablesInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateEnvironmentVariablesInNamespace mocks base method.

func (*MockClusterClient) ValidateControlPlaneNodes

func (m *MockClusterClient) ValidateControlPlaneNodes(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

ValidateControlPlaneNodes mocks base method.

func (*MockClusterClient) ValidateWorkerNodes

func (m *MockClusterClient) ValidateWorkerNodes(arg0 context.Context, arg1, arg2 string) error

ValidateWorkerNodes mocks base method.

func (*MockClusterClient) WaitForClusterReady added in v0.10.1

func (m *MockClusterClient) WaitForClusterReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForClusterReady mocks base method.

func (*MockClusterClient) WaitForControlPlaneAvailable added in v0.13.0

func (m *MockClusterClient) WaitForControlPlaneAvailable(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneAvailable mocks base method.

func (*MockClusterClient) WaitForControlPlaneNotReady added in v0.9.0

func (m *MockClusterClient) WaitForControlPlaneNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneNotReady mocks base method.

func (*MockClusterClient) WaitForControlPlaneReady

func (m *MockClusterClient) WaitForControlPlaneReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneReady mocks base method.

func (*MockClusterClient) WaitForDeployment

func (m *MockClusterClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error

WaitForDeployment mocks base method.

func (*MockClusterClient) WaitForManagedExternalEtcdNotReady added in v0.10.1

func (m *MockClusterClient) WaitForManagedExternalEtcdNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdNotReady mocks base method.

func (*MockClusterClient) WaitForManagedExternalEtcdReady

func (m *MockClusterClient) WaitForManagedExternalEtcdReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdReady mocks base method.

type MockClusterClientMockRecorder

type MockClusterClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClusterClientMockRecorder is the mock recorder for MockClusterClient.

func (*MockClusterClientMockRecorder) Apply added in v0.13.0

func (mr *MockClusterClientMockRecorder) Apply(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytes

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytesForce

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytesForce(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytesForce indicates an expected call of ApplyKubeSpecFromBytesForce.

func (*MockClusterClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace added in v0.6.0

func (mr *MockClusterClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ApplyKubeSpecFromBytesWithNamespace indicates an expected call of ApplyKubeSpecFromBytesWithNamespace.

func (*MockClusterClientMockRecorder) BackupManagement added in v0.14.4

func (mr *MockClusterClientMockRecorder) BackupManagement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

BackupManagement indicates an expected call of BackupManagement.

func (*MockClusterClientMockRecorder) CountMachineDeploymentReplicasReady added in v0.9.2

func (mr *MockClusterClientMockRecorder) CountMachineDeploymentReplicasReady(arg0, arg1, arg2 interface{}) *gomock.Call

CountMachineDeploymentReplicasReady indicates an expected call of CountMachineDeploymentReplicasReady.

func (*MockClusterClientMockRecorder) CreateNamespaceIfNotPresent added in v0.11.0

func (mr *MockClusterClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNamespaceIfNotPresent indicates an expected call of CreateNamespaceIfNotPresent.

func (*MockClusterClientMockRecorder) DeleteAWSIamConfig added in v0.6.0

func (mr *MockClusterClientMockRecorder) DeleteAWSIamConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteAWSIamConfig indicates an expected call of DeleteAWSIamConfig.

func (*MockClusterClientMockRecorder) DeleteCluster

func (mr *MockClusterClientMockRecorder) DeleteCluster(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockClusterClientMockRecorder) DeleteEKSACluster added in v0.6.0

func (mr *MockClusterClientMockRecorder) DeleteEKSACluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteEKSACluster indicates an expected call of DeleteEKSACluster.

func (*MockClusterClientMockRecorder) DeleteGitOpsConfig added in v0.6.0

func (mr *MockClusterClientMockRecorder) DeleteGitOpsConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteGitOpsConfig indicates an expected call of DeleteGitOpsConfig.

func (*MockClusterClientMockRecorder) DeleteOIDCConfig added in v0.6.0

func (mr *MockClusterClientMockRecorder) DeleteOIDCConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteOIDCConfig indicates an expected call of DeleteOIDCConfig.

func (*MockClusterClientMockRecorder) DeleteOldWorkerNodeGroup added in v0.7.1

func (mr *MockClusterClientMockRecorder) DeleteOldWorkerNodeGroup(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteOldWorkerNodeGroup indicates an expected call of DeleteOldWorkerNodeGroup.

func (*MockClusterClientMockRecorder) GetApiServerUrl added in v0.6.0

func (mr *MockClusterClientMockRecorder) GetApiServerUrl(arg0, arg1 interface{}) *gomock.Call

GetApiServerUrl indicates an expected call of GetApiServerUrl.

func (*MockClusterClientMockRecorder) GetBundles added in v0.6.0

func (mr *MockClusterClientMockRecorder) GetBundles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetBundles indicates an expected call of GetBundles.

func (*MockClusterClientMockRecorder) GetClusters

func (mr *MockClusterClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call

GetClusters indicates an expected call of GetClusters.

func (*MockClusterClientMockRecorder) GetConfigMap added in v0.19.0

func (mr *MockClusterClientMockRecorder) GetConfigMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetConfigMap indicates an expected call of GetConfigMap.

func (*MockClusterClientMockRecorder) GetEksaAWSIamConfig added in v0.12.0

func (mr *MockClusterClientMockRecorder) GetEksaAWSIamConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaAWSIamConfig indicates an expected call of GetEksaAWSIamConfig.

func (*MockClusterClientMockRecorder) GetEksaCloudStackMachineConfig added in v0.9.0

func (mr *MockClusterClientMockRecorder) GetEksaCloudStackMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaCloudStackMachineConfig indicates an expected call of GetEksaCloudStackMachineConfig.

func (*MockClusterClientMockRecorder) GetEksaCluster

func (mr *MockClusterClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockClusterClientMockRecorder) GetEksaFluxConfig added in v0.9.0

func (mr *MockClusterClientMockRecorder) GetEksaFluxConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaFluxConfig indicates an expected call of GetEksaFluxConfig.

func (*MockClusterClientMockRecorder) GetEksaGitOpsConfig added in v0.6.1

func (mr *MockClusterClientMockRecorder) GetEksaGitOpsConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaGitOpsConfig indicates an expected call of GetEksaGitOpsConfig.

func (*MockClusterClientMockRecorder) GetEksaOIDCConfig added in v0.8.0

func (mr *MockClusterClientMockRecorder) GetEksaOIDCConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaOIDCConfig indicates an expected call of GetEksaOIDCConfig.

func (*MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig

func (mr *MockClusterClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.

func (*MockClusterClientMockRecorder) GetEksaVSphereMachineConfig

func (mr *MockClusterClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaVSphereMachineConfig indicates an expected call of GetEksaVSphereMachineConfig.

func (*MockClusterClientMockRecorder) GetEksdRelease added in v0.8.0

func (mr *MockClusterClientMockRecorder) GetEksdRelease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksdRelease indicates an expected call of GetEksdRelease.

func (*MockClusterClientMockRecorder) GetKubeadmControlPlane added in v0.13.0

func (mr *MockClusterClientMockRecorder) GetKubeadmControlPlane(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.

func (*MockClusterClientMockRecorder) GetMachineDeployment added in v0.7.1

func (mr *MockClusterClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeployment indicates an expected call of GetMachineDeployment.

func (*MockClusterClientMockRecorder) GetMachineDeploymentsForCluster added in v0.13.0

func (mr *MockClusterClientMockRecorder) GetMachineDeploymentsForCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeploymentsForCluster indicates an expected call of GetMachineDeploymentsForCluster.

func (*MockClusterClientMockRecorder) GetMachines

func (mr *MockClusterClientMockRecorder) GetMachines(arg0, arg1, arg2 interface{}) *gomock.Call

GetMachines indicates an expected call of GetMachines.

func (*MockClusterClientMockRecorder) GetWorkloadKubeconfig

func (mr *MockClusterClientMockRecorder) GetWorkloadKubeconfig(arg0, arg1, arg2 interface{}) *gomock.Call

GetWorkloadKubeconfig indicates an expected call of GetWorkloadKubeconfig.

func (*MockClusterClientMockRecorder) InitInfrastructure

func (mr *MockClusterClientMockRecorder) InitInfrastructure(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

InitInfrastructure indicates an expected call of InitInfrastructure.

func (*MockClusterClientMockRecorder) KubeconfigSecretAvailable added in v0.6.1

func (mr *MockClusterClientMockRecorder) KubeconfigSecretAvailable(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

KubeconfigSecretAvailable indicates an expected call of KubeconfigSecretAvailable.

func (*MockClusterClientMockRecorder) ListObjects added in v0.12.0

func (mr *MockClusterClientMockRecorder) ListObjects(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListObjects indicates an expected call of ListObjects.

func (*MockClusterClientMockRecorder) MoveManagement

func (mr *MockClusterClientMockRecorder) MoveManagement(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

MoveManagement indicates an expected call of MoveManagement.

func (*MockClusterClientMockRecorder) PauseCAPICluster added in v0.16.0

func (mr *MockClusterClientMockRecorder) PauseCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

PauseCAPICluster indicates an expected call of PauseCAPICluster.

func (*MockClusterClientMockRecorder) RemoveAnnotationInNamespace

func (mr *MockClusterClientMockRecorder) RemoveAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

RemoveAnnotationInNamespace indicates an expected call of RemoveAnnotationInNamespace.

func (*MockClusterClientMockRecorder) ResumeCAPICluster added in v0.16.0

func (mr *MockClusterClientMockRecorder) ResumeCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

ResumeCAPICluster indicates an expected call of ResumeCAPICluster.

func (*MockClusterClientMockRecorder) SaveLog

func (mr *MockClusterClientMockRecorder) SaveLog(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SaveLog indicates an expected call of SaveLog.

func (*MockClusterClientMockRecorder) SetEksaControllerEnvVar added in v0.9.0

func (mr *MockClusterClientMockRecorder) SetEksaControllerEnvVar(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetEksaControllerEnvVar indicates an expected call of SetEksaControllerEnvVar.

func (*MockClusterClientMockRecorder) UpdateAnnotationInNamespace

func (mr *MockClusterClientMockRecorder) UpdateAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateAnnotationInNamespace indicates an expected call of UpdateAnnotationInNamespace.

func (*MockClusterClientMockRecorder) UpdateEnvironmentVariablesInNamespace added in v0.6.0

func (mr *MockClusterClientMockRecorder) UpdateEnvironmentVariablesInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateEnvironmentVariablesInNamespace indicates an expected call of UpdateEnvironmentVariablesInNamespace.

func (*MockClusterClientMockRecorder) ValidateControlPlaneNodes

func (mr *MockClusterClientMockRecorder) ValidateControlPlaneNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.

func (*MockClusterClientMockRecorder) ValidateWorkerNodes

func (mr *MockClusterClientMockRecorder) ValidateWorkerNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.

func (*MockClusterClientMockRecorder) WaitForClusterReady added in v0.10.1

func (mr *MockClusterClientMockRecorder) WaitForClusterReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForClusterReady indicates an expected call of WaitForClusterReady.

func (*MockClusterClientMockRecorder) WaitForControlPlaneAvailable added in v0.13.0

func (mr *MockClusterClientMockRecorder) WaitForControlPlaneAvailable(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneAvailable indicates an expected call of WaitForControlPlaneAvailable.

func (*MockClusterClientMockRecorder) WaitForControlPlaneNotReady added in v0.9.0

func (mr *MockClusterClientMockRecorder) WaitForControlPlaneNotReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneNotReady indicates an expected call of WaitForControlPlaneNotReady.

func (*MockClusterClientMockRecorder) WaitForControlPlaneReady

func (mr *MockClusterClientMockRecorder) WaitForControlPlaneReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneReady indicates an expected call of WaitForControlPlaneReady.

func (*MockClusterClientMockRecorder) WaitForDeployment

func (mr *MockClusterClientMockRecorder) WaitForDeployment(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

WaitForDeployment indicates an expected call of WaitForDeployment.

func (*MockClusterClientMockRecorder) WaitForManagedExternalEtcdNotReady added in v0.10.1

func (mr *MockClusterClientMockRecorder) WaitForManagedExternalEtcdNotReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForManagedExternalEtcdNotReady indicates an expected call of WaitForManagedExternalEtcdNotReady.

func (*MockClusterClientMockRecorder) WaitForManagedExternalEtcdReady

func (mr *MockClusterClientMockRecorder) WaitForManagedExternalEtcdReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForManagedExternalEtcdReady indicates an expected call of WaitForManagedExternalEtcdReady.

type MockEKSAComponents added in v0.13.0

type MockEKSAComponents struct {
	// contains filtered or unexported fields
}

MockEKSAComponents is a mock of EKSAComponents interface.

func NewMockEKSAComponents added in v0.13.0

func NewMockEKSAComponents(ctrl *gomock.Controller) *MockEKSAComponents

NewMockEKSAComponents creates a new mock instance.

func (*MockEKSAComponents) EXPECT added in v0.13.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEKSAComponents) Install added in v0.13.0

Install mocks base method.

func (*MockEKSAComponents) Upgrade added in v0.13.0

func (m *MockEKSAComponents) Upgrade(arg0 context.Context, arg1 logr.Logger, arg2 *types.Cluster, arg3, arg4 *cluster.ManagementComponents, arg5 *cluster.Spec) (*types.ChangeDiff, error)

Upgrade mocks base method.

type MockEKSAComponentsMockRecorder added in v0.13.0

type MockEKSAComponentsMockRecorder struct {
	// contains filtered or unexported fields
}

MockEKSAComponentsMockRecorder is the mock recorder for MockEKSAComponents.

func (*MockEKSAComponentsMockRecorder) Install added in v0.13.0

func (mr *MockEKSAComponentsMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockEKSAComponentsMockRecorder) Upgrade added in v0.13.0

func (mr *MockEKSAComponentsMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type MockKubernetesClient added in v0.13.0

type MockKubernetesClient struct {
	// contains filtered or unexported fields
}

MockKubernetesClient is a mock of KubernetesClient interface.

func NewMockKubernetesClient added in v0.13.0

func NewMockKubernetesClient(ctrl *gomock.Controller) *MockKubernetesClient

NewMockKubernetesClient creates a new mock instance.

func (*MockKubernetesClient) Apply added in v0.13.0

Apply mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytes added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytes(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytes mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytesForce added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytesForce mocks base method.

func (*MockKubernetesClient) ApplyKubeSpecFromBytesWithNamespace added in v0.13.0

func (m *MockKubernetesClient) ApplyKubeSpecFromBytesWithNamespace(arg0 context.Context, arg1 *types.Cluster, arg2 []byte, arg3 string) error

ApplyKubeSpecFromBytesWithNamespace mocks base method.

func (*MockKubernetesClient) CountMachineDeploymentReplicasReady added in v0.19.0

func (m *MockKubernetesClient) CountMachineDeploymentReplicasReady(arg0 context.Context, arg1, arg2 string) (int, int, error)

CountMachineDeploymentReplicasReady mocks base method.

func (*MockKubernetesClient) CreateNamespaceIfNotPresent added in v0.19.0

func (m *MockKubernetesClient) CreateNamespaceIfNotPresent(arg0 context.Context, arg1, arg2 string) error

CreateNamespaceIfNotPresent mocks base method.

func (*MockKubernetesClient) DeleteAWSIamConfig added in v0.19.0

func (m *MockKubernetesClient) DeleteAWSIamConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteAWSIamConfig mocks base method.

func (*MockKubernetesClient) DeleteCluster added in v0.19.0

func (m *MockKubernetesClient) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster) error

DeleteCluster mocks base method.

func (*MockKubernetesClient) DeleteEKSACluster added in v0.19.0

func (m *MockKubernetesClient) DeleteEKSACluster(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteEKSACluster mocks base method.

func (*MockKubernetesClient) DeleteGitOpsConfig added in v0.19.0

func (m *MockKubernetesClient) DeleteGitOpsConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteGitOpsConfig mocks base method.

func (*MockKubernetesClient) DeleteOIDCConfig added in v0.19.0

func (m *MockKubernetesClient) DeleteOIDCConfig(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

DeleteOIDCConfig mocks base method.

func (*MockKubernetesClient) DeleteOldWorkerNodeGroup added in v0.19.0

func (m *MockKubernetesClient) DeleteOldWorkerNodeGroup(arg0 context.Context, arg1 *v1beta1.MachineDeployment, arg2 string) error

DeleteOldWorkerNodeGroup mocks base method.

func (*MockKubernetesClient) EXPECT added in v0.13.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKubernetesClient) GetApiServerUrl added in v0.19.0

func (m *MockKubernetesClient) GetApiServerUrl(arg0 context.Context, arg1 *types.Cluster) (string, error)

GetApiServerUrl mocks base method.

func (*MockKubernetesClient) GetBundles added in v0.19.0

func (m *MockKubernetesClient) GetBundles(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha10.Bundles, error)

GetBundles mocks base method.

func (*MockKubernetesClient) GetClusters added in v0.19.0

func (m *MockKubernetesClient) GetClusters(arg0 context.Context, arg1 *types.Cluster) ([]types.CAPICluster, error)

GetClusters mocks base method.

func (*MockKubernetesClient) GetConfigMap added in v0.19.0

func (m *MockKubernetesClient) GetConfigMap(arg0 context.Context, arg1, arg2, arg3 string) (*v1.ConfigMap, error)

GetConfigMap mocks base method.

func (*MockKubernetesClient) GetEksaAWSIamConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaAWSIamConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.AWSIamConfig, error)

GetEksaAWSIamConfig mocks base method.

func (*MockKubernetesClient) GetEksaCloudStackMachineConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaCloudStackMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.CloudStackMachineConfig, error)

GetEksaCloudStackMachineConfig mocks base method.

func (*MockKubernetesClient) GetEksaCluster added in v0.19.0

func (m *MockKubernetesClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)

GetEksaCluster mocks base method.

func (*MockKubernetesClient) GetEksaFluxConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaFluxConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.FluxConfig, error)

GetEksaFluxConfig mocks base method.

func (*MockKubernetesClient) GetEksaGitOpsConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaGitOpsConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.GitOpsConfig, error)

GetEksaGitOpsConfig mocks base method.

func (*MockKubernetesClient) GetEksaOIDCConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaOIDCConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.OIDCConfig, error)

GetEksaOIDCConfig mocks base method.

func (*MockKubernetesClient) GetEksaVSphereDatacenterConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaVSphereDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereDatacenterConfig, error)

GetEksaVSphereDatacenterConfig mocks base method.

func (*MockKubernetesClient) GetEksaVSphereMachineConfig added in v0.19.0

func (m *MockKubernetesClient) GetEksaVSphereMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.VSphereMachineConfig, error)

GetEksaVSphereMachineConfig mocks base method.

func (*MockKubernetesClient) GetEksdRelease added in v0.19.0

func (m *MockKubernetesClient) GetEksdRelease(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha11.Release, error)

GetEksdRelease mocks base method.

func (*MockKubernetesClient) GetKubeadmControlPlane added in v0.19.0

func (m *MockKubernetesClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta10.KubeadmControlPlane, error)

GetKubeadmControlPlane mocks base method.

func (*MockKubernetesClient) GetMachineDeployment added in v0.19.0

func (m *MockKubernetesClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta1.MachineDeployment, error)

GetMachineDeployment mocks base method.

func (*MockKubernetesClient) GetMachineDeploymentsForCluster added in v0.19.0

func (m *MockKubernetesClient) GetMachineDeploymentsForCluster(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) ([]v1beta1.MachineDeployment, error)

GetMachineDeploymentsForCluster mocks base method.

func (*MockKubernetesClient) GetMachines added in v0.19.0

func (m *MockKubernetesClient) GetMachines(arg0 context.Context, arg1 *types.Cluster, arg2 string) ([]types.Machine, error)

GetMachines mocks base method.

func (*MockKubernetesClient) KubeconfigSecretAvailable added in v0.19.0

func (m *MockKubernetesClient) KubeconfigSecretAvailable(arg0 context.Context, arg1, arg2, arg3 string) (bool, error)

KubeconfigSecretAvailable mocks base method.

func (*MockKubernetesClient) ListObjects added in v0.19.0

func (m *MockKubernetesClient) ListObjects(arg0 context.Context, arg1, arg2, arg3 string, arg4 kubernetes.ObjectList) error

ListObjects mocks base method.

func (*MockKubernetesClient) PauseCAPICluster added in v0.19.0

func (m *MockKubernetesClient) PauseCAPICluster(arg0 context.Context, arg1, arg2 string) error

PauseCAPICluster mocks base method.

func (*MockKubernetesClient) RemoveAnnotationInNamespace added in v0.13.0

func (m *MockKubernetesClient) RemoveAnnotationInNamespace(arg0 context.Context, arg1, arg2, arg3 string, arg4 *types.Cluster, arg5 string) error

RemoveAnnotationInNamespace mocks base method.

func (*MockKubernetesClient) ResumeCAPICluster added in v0.19.0

func (m *MockKubernetesClient) ResumeCAPICluster(arg0 context.Context, arg1, arg2 string) error

ResumeCAPICluster mocks base method.

func (*MockKubernetesClient) SaveLog added in v0.19.0

func (m *MockKubernetesClient) SaveLog(arg0 context.Context, arg1 *types.Cluster, arg2 *types.Deployment, arg3 string, arg4 filewriter.FileWriter) error

SaveLog mocks base method.

func (*MockKubernetesClient) SetEksaControllerEnvVar added in v0.19.0

func (m *MockKubernetesClient) SetEksaControllerEnvVar(arg0 context.Context, arg1, arg2, arg3 string) error

SetEksaControllerEnvVar mocks base method.

func (*MockKubernetesClient) UpdateAnnotationInNamespace added in v0.13.0

func (m *MockKubernetesClient) UpdateAnnotationInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateAnnotationInNamespace mocks base method.

func (*MockKubernetesClient) UpdateEnvironmentVariablesInNamespace added in v0.19.0

func (m *MockKubernetesClient) UpdateEnvironmentVariablesInNamespace(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 *types.Cluster, arg5 string) error

UpdateEnvironmentVariablesInNamespace mocks base method.

func (*MockKubernetesClient) ValidateControlPlaneNodes added in v0.19.0

func (m *MockKubernetesClient) ValidateControlPlaneNodes(arg0 context.Context, arg1 *types.Cluster, arg2 string) error

ValidateControlPlaneNodes mocks base method.

func (*MockKubernetesClient) ValidateWorkerNodes added in v0.19.0

func (m *MockKubernetesClient) ValidateWorkerNodes(arg0 context.Context, arg1, arg2 string) error

ValidateWorkerNodes mocks base method.

func (*MockKubernetesClient) WaitForClusterReady added in v0.19.0

func (m *MockKubernetesClient) WaitForClusterReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForClusterReady mocks base method.

func (*MockKubernetesClient) WaitForControlPlaneAvailable added in v0.19.0

func (m *MockKubernetesClient) WaitForControlPlaneAvailable(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneAvailable mocks base method.

func (*MockKubernetesClient) WaitForControlPlaneNotReady added in v0.19.0

func (m *MockKubernetesClient) WaitForControlPlaneNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneNotReady mocks base method.

func (*MockKubernetesClient) WaitForControlPlaneReady added in v0.19.0

func (m *MockKubernetesClient) WaitForControlPlaneReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForControlPlaneReady mocks base method.

func (*MockKubernetesClient) WaitForDeployment added in v0.13.0

func (m *MockKubernetesClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error

WaitForDeployment mocks base method.

func (*MockKubernetesClient) WaitForManagedExternalEtcdNotReady added in v0.19.0

func (m *MockKubernetesClient) WaitForManagedExternalEtcdNotReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdNotReady mocks base method.

func (*MockKubernetesClient) WaitForManagedExternalEtcdReady added in v0.19.0

func (m *MockKubernetesClient) WaitForManagedExternalEtcdReady(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error

WaitForManagedExternalEtcdReady mocks base method.

type MockKubernetesClientMockRecorder added in v0.13.0

type MockKubernetesClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockKubernetesClientMockRecorder is the mock recorder for MockKubernetesClient.

func (*MockKubernetesClientMockRecorder) Apply added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) Apply(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytes added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytes(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytes indicates an expected call of ApplyKubeSpecFromBytes.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesForce added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesForce(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyKubeSpecFromBytesForce indicates an expected call of ApplyKubeSpecFromBytesForce.

func (*MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) ApplyKubeSpecFromBytesWithNamespace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ApplyKubeSpecFromBytesWithNamespace indicates an expected call of ApplyKubeSpecFromBytesWithNamespace.

func (*MockKubernetesClientMockRecorder) CountMachineDeploymentReplicasReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) CountMachineDeploymentReplicasReady(arg0, arg1, arg2 interface{}) *gomock.Call

CountMachineDeploymentReplicasReady indicates an expected call of CountMachineDeploymentReplicasReady.

func (*MockKubernetesClientMockRecorder) CreateNamespaceIfNotPresent added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) CreateNamespaceIfNotPresent(arg0, arg1, arg2 interface{}) *gomock.Call

CreateNamespaceIfNotPresent indicates an expected call of CreateNamespaceIfNotPresent.

func (*MockKubernetesClientMockRecorder) DeleteAWSIamConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteAWSIamConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteAWSIamConfig indicates an expected call of DeleteAWSIamConfig.

func (*MockKubernetesClientMockRecorder) DeleteCluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteCluster(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCluster indicates an expected call of DeleteCluster.

func (*MockKubernetesClientMockRecorder) DeleteEKSACluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteEKSACluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteEKSACluster indicates an expected call of DeleteEKSACluster.

func (*MockKubernetesClientMockRecorder) DeleteGitOpsConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteGitOpsConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteGitOpsConfig indicates an expected call of DeleteGitOpsConfig.

func (*MockKubernetesClientMockRecorder) DeleteOIDCConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteOIDCConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteOIDCConfig indicates an expected call of DeleteOIDCConfig.

func (*MockKubernetesClientMockRecorder) DeleteOldWorkerNodeGroup added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) DeleteOldWorkerNodeGroup(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteOldWorkerNodeGroup indicates an expected call of DeleteOldWorkerNodeGroup.

func (*MockKubernetesClientMockRecorder) GetApiServerUrl added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetApiServerUrl(arg0, arg1 interface{}) *gomock.Call

GetApiServerUrl indicates an expected call of GetApiServerUrl.

func (*MockKubernetesClientMockRecorder) GetBundles added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetBundles(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetBundles indicates an expected call of GetBundles.

func (*MockKubernetesClientMockRecorder) GetClusters added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetClusters(arg0, arg1 interface{}) *gomock.Call

GetClusters indicates an expected call of GetClusters.

func (*MockKubernetesClientMockRecorder) GetConfigMap added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetConfigMap(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetConfigMap indicates an expected call of GetConfigMap.

func (*MockKubernetesClientMockRecorder) GetEksaAWSIamConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaAWSIamConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaAWSIamConfig indicates an expected call of GetEksaAWSIamConfig.

func (*MockKubernetesClientMockRecorder) GetEksaCloudStackMachineConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaCloudStackMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaCloudStackMachineConfig indicates an expected call of GetEksaCloudStackMachineConfig.

func (*MockKubernetesClientMockRecorder) GetEksaCluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockKubernetesClientMockRecorder) GetEksaFluxConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaFluxConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaFluxConfig indicates an expected call of GetEksaFluxConfig.

func (*MockKubernetesClientMockRecorder) GetEksaGitOpsConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaGitOpsConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaGitOpsConfig indicates an expected call of GetEksaGitOpsConfig.

func (*MockKubernetesClientMockRecorder) GetEksaOIDCConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaOIDCConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaOIDCConfig indicates an expected call of GetEksaOIDCConfig.

func (*MockKubernetesClientMockRecorder) GetEksaVSphereDatacenterConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaVSphereDatacenterConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaVSphereDatacenterConfig indicates an expected call of GetEksaVSphereDatacenterConfig.

func (*MockKubernetesClientMockRecorder) GetEksaVSphereMachineConfig added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksaVSphereMachineConfig(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksaVSphereMachineConfig indicates an expected call of GetEksaVSphereMachineConfig.

func (*MockKubernetesClientMockRecorder) GetEksdRelease added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetEksdRelease(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetEksdRelease indicates an expected call of GetEksdRelease.

func (*MockKubernetesClientMockRecorder) GetKubeadmControlPlane added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetKubeadmControlPlane(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.

func (*MockKubernetesClientMockRecorder) GetMachineDeployment added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeployment indicates an expected call of GetMachineDeployment.

func (*MockKubernetesClientMockRecorder) GetMachineDeploymentsForCluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetMachineDeploymentsForCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeploymentsForCluster indicates an expected call of GetMachineDeploymentsForCluster.

func (*MockKubernetesClientMockRecorder) GetMachines added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) GetMachines(arg0, arg1, arg2 interface{}) *gomock.Call

GetMachines indicates an expected call of GetMachines.

func (*MockKubernetesClientMockRecorder) KubeconfigSecretAvailable added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) KubeconfigSecretAvailable(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

KubeconfigSecretAvailable indicates an expected call of KubeconfigSecretAvailable.

func (*MockKubernetesClientMockRecorder) ListObjects added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) ListObjects(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListObjects indicates an expected call of ListObjects.

func (*MockKubernetesClientMockRecorder) PauseCAPICluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) PauseCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

PauseCAPICluster indicates an expected call of PauseCAPICluster.

func (*MockKubernetesClientMockRecorder) RemoveAnnotationInNamespace added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) RemoveAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

RemoveAnnotationInNamespace indicates an expected call of RemoveAnnotationInNamespace.

func (*MockKubernetesClientMockRecorder) ResumeCAPICluster added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) ResumeCAPICluster(arg0, arg1, arg2 interface{}) *gomock.Call

ResumeCAPICluster indicates an expected call of ResumeCAPICluster.

func (*MockKubernetesClientMockRecorder) SaveLog added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) SaveLog(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SaveLog indicates an expected call of SaveLog.

func (*MockKubernetesClientMockRecorder) SetEksaControllerEnvVar added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) SetEksaControllerEnvVar(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetEksaControllerEnvVar indicates an expected call of SetEksaControllerEnvVar.

func (*MockKubernetesClientMockRecorder) UpdateAnnotationInNamespace added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) UpdateAnnotationInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateAnnotationInNamespace indicates an expected call of UpdateAnnotationInNamespace.

func (*MockKubernetesClientMockRecorder) UpdateEnvironmentVariablesInNamespace added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) UpdateEnvironmentVariablesInNamespace(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

UpdateEnvironmentVariablesInNamespace indicates an expected call of UpdateEnvironmentVariablesInNamespace.

func (*MockKubernetesClientMockRecorder) ValidateControlPlaneNodes added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) ValidateControlPlaneNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateControlPlaneNodes indicates an expected call of ValidateControlPlaneNodes.

func (*MockKubernetesClientMockRecorder) ValidateWorkerNodes added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) ValidateWorkerNodes(arg0, arg1, arg2 interface{}) *gomock.Call

ValidateWorkerNodes indicates an expected call of ValidateWorkerNodes.

func (*MockKubernetesClientMockRecorder) WaitForClusterReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForClusterReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForClusterReady indicates an expected call of WaitForClusterReady.

func (*MockKubernetesClientMockRecorder) WaitForControlPlaneAvailable added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForControlPlaneAvailable(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneAvailable indicates an expected call of WaitForControlPlaneAvailable.

func (*MockKubernetesClientMockRecorder) WaitForControlPlaneNotReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForControlPlaneNotReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneNotReady indicates an expected call of WaitForControlPlaneNotReady.

func (*MockKubernetesClientMockRecorder) WaitForControlPlaneReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForControlPlaneReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForControlPlaneReady indicates an expected call of WaitForControlPlaneReady.

func (*MockKubernetesClientMockRecorder) WaitForDeployment added in v0.13.0

func (mr *MockKubernetesClientMockRecorder) WaitForDeployment(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

WaitForDeployment indicates an expected call of WaitForDeployment.

func (*MockKubernetesClientMockRecorder) WaitForManagedExternalEtcdNotReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForManagedExternalEtcdNotReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForManagedExternalEtcdNotReady indicates an expected call of WaitForManagedExternalEtcdNotReady.

func (*MockKubernetesClientMockRecorder) WaitForManagedExternalEtcdReady added in v0.19.0

func (mr *MockKubernetesClientMockRecorder) WaitForManagedExternalEtcdReady(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForManagedExternalEtcdReady indicates an expected call of WaitForManagedExternalEtcdReady.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL