Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBootstrapper
- func (m *MockBootstrapper) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, ...) (*types.Cluster, error)
- func (m *MockBootstrapper) DeleteBootstrapCluster(arg0 context.Context, arg1 *types.Cluster, arg2 constants.Operation, arg3 bool) error
- func (m *MockBootstrapper) EXPECT() *MockBootstrapperMockRecorder
- type MockBootstrapperMockRecorder
- type MockCAPIManager
- func (m *MockCAPIManager) EXPECT() *MockCAPIManagerMockRecorder
- func (m *MockCAPIManager) EnsureEtcdProvidersInstallation(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider, ...) error
- func (m *MockCAPIManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider, ...) (*types.ChangeDiff, error)
- type MockCAPIManagerMockRecorder
- type MockClientFactory
- type MockClientFactoryMockRecorder
- type MockClusterCreator
- type MockClusterCreatorMockRecorder
- type MockClusterDeleter
- type MockClusterDeleterMockRecorder
- type MockClusterManager
- func (m *MockClusterManager) AllowDeleteWhilePaused(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockClusterManager) ApplyBundles(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
- func (m *MockClusterManager) ApplyReleases(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
- func (m *MockClusterManager) BackupCAPI(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
- func (m *MockClusterManager) BackupCAPIWaitForInfrastructure(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
- func (m *MockClusterManager) CreateEKSANamespace(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) CreateRegistryCredSecret(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
- func (m *MockClusterManager) GenerateAWSIAMKubeconfig(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) GetCurrentClusterSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*cluster.Spec, error)
- func (m *MockClusterManager) InstallCAPI(arg0 context.Context, arg1 *cluster.ManagementComponents, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) MoveCAPI(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string, ...) error
- func (m *MockClusterManager) PauseCAPIWorkloadClusters(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) PauseEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) ResumeCAPIWorkloadClusters(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) ResumeEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) SaveLogsManagementCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
- func (m *MockClusterManager) SaveLogsWorkloadCluster(arg0 context.Context, arg1 providers.Provider, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, ...) (*types.ChangeDiff, error)
- type MockClusterManagerMockRecorder
- func (mr *MockClusterManagerMockRecorder) AllowDeleteWhilePaused(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ApplyBundles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ApplyReleases(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) BackupCAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) BackupCAPIWaitForInfrastructure(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateEKSANamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateRegistryCredSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) GenerateAWSIAMKubeconfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) GetCurrentClusterSpec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallCAPI(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) MoveCAPI(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) PauseCAPIWorkloadClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) PauseEKSAControllerReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ResumeCAPIWorkloadClusters(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) ResumeEKSAControllerReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) SaveLogsManagementCluster(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) SaveLogsWorkloadCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockClusterMover
- type MockClusterMoverMockRecorder
- type MockClusterUpgrader
- type MockClusterUpgraderMockRecorder
- type MockEksaInstaller
- type MockEksaInstallerMockRecorder
- type MockEksdInstaller
- type MockEksdInstallerMockRecorder
- type MockEksdUpgrader
- type MockEksdUpgraderMockRecorder
- type MockGitOpsManager
- func (m *MockGitOpsManager) CleanupGitRepo(arg0 context.Context, arg1 *cluster.Spec) error
- func (m *MockGitOpsManager) EXPECT() *MockGitOpsManagerMockRecorder
- func (m *MockGitOpsManager) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockGitOpsManager) Install(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.ManagementComponents, ...) error
- func (m *MockGitOpsManager) InstallGitOps(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.ManagementComponents, ...) error
- func (m *MockGitOpsManager) PauseClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockGitOpsManager) ResumeClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockGitOpsManager) UpdateGitEksaSpec(arg0 context.Context, arg1 *cluster.Spec, arg2 providers.DatacenterConfig, ...) error
- func (m *MockGitOpsManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, ...) (*types.ChangeDiff, error)
- func (m *MockGitOpsManager) Validations(arg0 context.Context, arg1 *cluster.Spec) []validations.Validation
- type MockGitOpsManagerMockRecorder
- func (mr *MockGitOpsManagerMockRecorder) CleanupGitRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) InstallGitOps(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) PauseClusterResourcesReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) ResumeClusterResourcesReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) UpdateGitEksaSpec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockGitOpsManagerMockRecorder) Validations(arg0, arg1 interface{}) *gomock.Call
- type MockPackageManager
- type MockPackageManagerMockRecorder
- type MockValidator
- type MockValidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBootstrapper ¶
type MockBootstrapper struct {
// contains filtered or unexported fields
}
MockBootstrapper is a mock of Bootstrapper interface.
func NewMockBootstrapper ¶
func NewMockBootstrapper(ctrl *gomock.Controller) *MockBootstrapper
NewMockBootstrapper creates a new mock instance.
func (*MockBootstrapper) CreateBootstrapCluster ¶
func (m *MockBootstrapper) CreateBootstrapCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 ...bootstrapper.BootstrapClusterOption) (*types.Cluster, error)
CreateBootstrapCluster mocks base method.
func (*MockBootstrapper) DeleteBootstrapCluster ¶
func (m *MockBootstrapper) DeleteBootstrapCluster(arg0 context.Context, arg1 *types.Cluster, arg2 constants.Operation, arg3 bool) error
DeleteBootstrapCluster mocks base method.
func (*MockBootstrapper) EXPECT ¶
func (m *MockBootstrapper) EXPECT() *MockBootstrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBootstrapperMockRecorder ¶
type MockBootstrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockBootstrapperMockRecorder is the mock recorder for MockBootstrapper.
func (*MockBootstrapperMockRecorder) CreateBootstrapCluster ¶
func (mr *MockBootstrapperMockRecorder) CreateBootstrapCluster(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateBootstrapCluster indicates an expected call of CreateBootstrapCluster.
func (*MockBootstrapperMockRecorder) DeleteBootstrapCluster ¶
func (mr *MockBootstrapperMockRecorder) DeleteBootstrapCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteBootstrapCluster indicates an expected call of DeleteBootstrapCluster.
type MockCAPIManager ¶ added in v0.6.0
type MockCAPIManager struct {
// contains filtered or unexported fields
}
MockCAPIManager is a mock of CAPIManager interface.
func NewMockCAPIManager ¶ added in v0.6.0
func NewMockCAPIManager(ctrl *gomock.Controller) *MockCAPIManager
NewMockCAPIManager creates a new mock instance.
func (*MockCAPIManager) EXPECT ¶ added in v0.6.0
func (m *MockCAPIManager) EXPECT() *MockCAPIManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCAPIManager) EnsureEtcdProvidersInstallation ¶ added in v0.6.0
func (m *MockCAPIManager) EnsureEtcdProvidersInstallation(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider, arg3 *cluster.ManagementComponents, arg4 *cluster.Spec) error
EnsureEtcdProvidersInstallation mocks base method.
type MockCAPIManagerMockRecorder ¶ added in v0.6.0
type MockCAPIManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockCAPIManagerMockRecorder is the mock recorder for MockCAPIManager.
func (*MockCAPIManagerMockRecorder) EnsureEtcdProvidersInstallation ¶ added in v0.6.0
func (mr *MockCAPIManagerMockRecorder) EnsureEtcdProvidersInstallation(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
EnsureEtcdProvidersInstallation indicates an expected call of EnsureEtcdProvidersInstallation.
func (*MockCAPIManagerMockRecorder) Upgrade ¶ added in v0.6.0
func (mr *MockCAPIManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
type MockClientFactory ¶ added in v0.19.0
type MockClientFactory struct {
// contains filtered or unexported fields
}
MockClientFactory is a mock of ClientFactory interface.
func NewMockClientFactory ¶ added in v0.19.0
func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory
NewMockClientFactory creates a new mock instance.
func (*MockClientFactory) BuildClientFromKubeconfig ¶ added in v0.19.0
func (m *MockClientFactory) BuildClientFromKubeconfig(arg0 string) (kubernetes.Client, error)
BuildClientFromKubeconfig mocks base method.
func (*MockClientFactory) EXPECT ¶ added in v0.19.0
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientFactoryMockRecorder ¶ added in v0.19.0
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.
func (*MockClientFactoryMockRecorder) BuildClientFromKubeconfig ¶ added in v0.19.0
func (mr *MockClientFactoryMockRecorder) BuildClientFromKubeconfig(arg0 interface{}) *gomock.Call
BuildClientFromKubeconfig indicates an expected call of BuildClientFromKubeconfig.
type MockClusterCreator ¶ added in v0.19.0
type MockClusterCreator struct {
// contains filtered or unexported fields
}
MockClusterCreator is a mock of ClusterCreator interface.
func NewMockClusterCreator ¶ added in v0.19.0
func NewMockClusterCreator(ctrl *gomock.Controller) *MockClusterCreator
NewMockClusterCreator creates a new mock instance.
func (*MockClusterCreator) CreateSync ¶ added in v0.19.0
func (m *MockClusterCreator) CreateSync(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) (*types.Cluster, error)
CreateSync mocks base method.
func (*MockClusterCreator) EXPECT ¶ added in v0.19.0
func (m *MockClusterCreator) EXPECT() *MockClusterCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClusterCreatorMockRecorder ¶ added in v0.19.0
type MockClusterCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterCreatorMockRecorder is the mock recorder for MockClusterCreator.
func (*MockClusterCreatorMockRecorder) CreateSync ¶ added in v0.19.0
func (mr *MockClusterCreatorMockRecorder) CreateSync(arg0, arg1, arg2 interface{}) *gomock.Call
CreateSync indicates an expected call of CreateSync.
func (*MockClusterCreatorMockRecorder) Run ¶ added in v0.19.0
func (mr *MockClusterCreatorMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run.
type MockClusterDeleter ¶ added in v0.19.0
type MockClusterDeleter struct {
// contains filtered or unexported fields
}
MockClusterDeleter is a mock of ClusterDeleter interface.
func NewMockClusterDeleter ¶ added in v0.19.0
func NewMockClusterDeleter(ctrl *gomock.Controller) *MockClusterDeleter
NewMockClusterDeleter creates a new mock instance.
func (*MockClusterDeleter) EXPECT ¶ added in v0.19.0
func (m *MockClusterDeleter) EXPECT() *MockClusterDeleterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClusterDeleterMockRecorder ¶ added in v0.19.0
type MockClusterDeleterMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterDeleterMockRecorder is the mock recorder for MockClusterDeleter.
func (*MockClusterDeleterMockRecorder) Run ¶ added in v0.19.0
func (mr *MockClusterDeleterMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run.
type MockClusterManager ¶
type MockClusterManager struct {
// contains filtered or unexported fields
}
MockClusterManager is a mock of ClusterManager interface.
func NewMockClusterManager ¶
func NewMockClusterManager(ctrl *gomock.Controller) *MockClusterManager
NewMockClusterManager creates a new mock instance.
func (*MockClusterManager) AllowDeleteWhilePaused ¶ added in v0.20.0
func (m *MockClusterManager) AllowDeleteWhilePaused(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
AllowDeleteWhilePaused mocks base method.
func (*MockClusterManager) ApplyBundles ¶ added in v0.6.0
func (m *MockClusterManager) ApplyBundles(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
ApplyBundles mocks base method.
func (*MockClusterManager) ApplyReleases ¶ added in v0.17.0
func (m *MockClusterManager) ApplyReleases(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
ApplyReleases mocks base method.
func (*MockClusterManager) BackupCAPI ¶ added in v0.14.4
func (m *MockClusterManager) BackupCAPI(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
BackupCAPI mocks base method.
func (*MockClusterManager) BackupCAPIWaitForInfrastructure ¶ added in v0.16.3
func (m *MockClusterManager) BackupCAPIWaitForInfrastructure(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 string) error
BackupCAPIWaitForInfrastructure mocks base method.
func (*MockClusterManager) CreateEKSANamespace ¶ added in v0.11.0
CreateEKSANamespace mocks base method.
func (*MockClusterManager) CreateRegistryCredSecret ¶ added in v0.19.0
func (m *MockClusterManager) CreateRegistryCredSecret(arg0 context.Context, arg1 *types.Cluster) error
CreateRegistryCredSecret mocks base method.
func (*MockClusterManager) EXPECT ¶
func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterManager) GenerateAWSIAMKubeconfig ¶ added in v0.19.0
func (m *MockClusterManager) GenerateAWSIAMKubeconfig(arg0 context.Context, arg1 *types.Cluster) error
GenerateAWSIAMKubeconfig mocks base method.
func (*MockClusterManager) GetCurrentClusterSpec ¶ added in v0.6.0
func (m *MockClusterManager) GetCurrentClusterSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*cluster.Spec, error)
GetCurrentClusterSpec mocks base method.
func (*MockClusterManager) InstallCAPI ¶ added in v0.6.0
func (m *MockClusterManager) InstallCAPI(arg0 context.Context, arg1 *cluster.ManagementComponents, arg2 *cluster.Spec, arg3 *types.Cluster, arg4 providers.Provider) error
InstallCAPI mocks base method.
func (*MockClusterManager) MoveCAPI ¶ added in v0.6.0
func (m *MockClusterManager) MoveCAPI(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string, arg4 *cluster.Spec, arg5 ...types.NodeReadyChecker) error
MoveCAPI mocks base method.
func (*MockClusterManager) PauseCAPIWorkloadClusters ¶ added in v0.16.0
func (m *MockClusterManager) PauseCAPIWorkloadClusters(arg0 context.Context, arg1 *types.Cluster) error
PauseCAPIWorkloadClusters mocks base method.
func (*MockClusterManager) PauseEKSAControllerReconcile ¶
func (m *MockClusterManager) PauseEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
PauseEKSAControllerReconcile mocks base method.
func (*MockClusterManager) ResumeCAPIWorkloadClusters ¶ added in v0.16.0
func (m *MockClusterManager) ResumeCAPIWorkloadClusters(arg0 context.Context, arg1 *types.Cluster) error
ResumeCAPIWorkloadClusters mocks base method.
func (*MockClusterManager) ResumeEKSAControllerReconcile ¶
func (m *MockClusterManager) ResumeEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
ResumeEKSAControllerReconcile mocks base method.
func (*MockClusterManager) SaveLogsManagementCluster ¶ added in v0.6.0
func (m *MockClusterManager) SaveLogsManagementCluster(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
SaveLogsManagementCluster mocks base method.
func (*MockClusterManager) SaveLogsWorkloadCluster ¶ added in v0.6.0
func (m *MockClusterManager) SaveLogsWorkloadCluster(arg0 context.Context, arg1 providers.Provider, arg2 *cluster.Spec, arg3 *types.Cluster) error
SaveLogsWorkloadCluster mocks base method.
func (*MockClusterManager) Upgrade ¶ added in v0.6.0
func (m *MockClusterManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.ManagementComponents, arg4 *cluster.Spec) (*types.ChangeDiff, error)
Upgrade mocks base method.
type MockClusterManagerMockRecorder ¶
type MockClusterManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterManagerMockRecorder is the mock recorder for MockClusterManager.
func (*MockClusterManagerMockRecorder) AllowDeleteWhilePaused ¶ added in v0.20.0
func (mr *MockClusterManagerMockRecorder) AllowDeleteWhilePaused(arg0, arg1, arg2 interface{}) *gomock.Call
AllowDeleteWhilePaused indicates an expected call of AllowDeleteWhilePaused.
func (*MockClusterManagerMockRecorder) ApplyBundles ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) ApplyBundles(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyBundles indicates an expected call of ApplyBundles.
func (*MockClusterManagerMockRecorder) ApplyReleases ¶ added in v0.17.0
func (mr *MockClusterManagerMockRecorder) ApplyReleases(arg0, arg1, arg2 interface{}) *gomock.Call
ApplyReleases indicates an expected call of ApplyReleases.
func (*MockClusterManagerMockRecorder) BackupCAPI ¶ added in v0.14.4
func (mr *MockClusterManagerMockRecorder) BackupCAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BackupCAPI indicates an expected call of BackupCAPI.
func (*MockClusterManagerMockRecorder) BackupCAPIWaitForInfrastructure ¶ added in v0.16.3
func (mr *MockClusterManagerMockRecorder) BackupCAPIWaitForInfrastructure(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
BackupCAPIWaitForInfrastructure indicates an expected call of BackupCAPIWaitForInfrastructure.
func (*MockClusterManagerMockRecorder) CreateEKSANamespace ¶ added in v0.11.0
func (mr *MockClusterManagerMockRecorder) CreateEKSANamespace(arg0, arg1 interface{}) *gomock.Call
CreateEKSANamespace indicates an expected call of CreateEKSANamespace.
func (*MockClusterManagerMockRecorder) CreateRegistryCredSecret ¶ added in v0.19.0
func (mr *MockClusterManagerMockRecorder) CreateRegistryCredSecret(arg0, arg1 interface{}) *gomock.Call
CreateRegistryCredSecret indicates an expected call of CreateRegistryCredSecret.
func (*MockClusterManagerMockRecorder) GenerateAWSIAMKubeconfig ¶ added in v0.19.0
func (mr *MockClusterManagerMockRecorder) GenerateAWSIAMKubeconfig(arg0, arg1 interface{}) *gomock.Call
GenerateAWSIAMKubeconfig indicates an expected call of GenerateAWSIAMKubeconfig.
func (*MockClusterManagerMockRecorder) GetCurrentClusterSpec ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) GetCurrentClusterSpec(arg0, arg1, arg2 interface{}) *gomock.Call
GetCurrentClusterSpec indicates an expected call of GetCurrentClusterSpec.
func (*MockClusterManagerMockRecorder) InstallCAPI ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) InstallCAPI(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
InstallCAPI indicates an expected call of InstallCAPI.
func (*MockClusterManagerMockRecorder) MoveCAPI ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) MoveCAPI(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
MoveCAPI indicates an expected call of MoveCAPI.
func (*MockClusterManagerMockRecorder) PauseCAPIWorkloadClusters ¶ added in v0.16.0
func (mr *MockClusterManagerMockRecorder) PauseCAPIWorkloadClusters(arg0, arg1 interface{}) *gomock.Call
PauseCAPIWorkloadClusters indicates an expected call of PauseCAPIWorkloadClusters.
func (*MockClusterManagerMockRecorder) PauseEKSAControllerReconcile ¶
func (mr *MockClusterManagerMockRecorder) PauseEKSAControllerReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PauseEKSAControllerReconcile indicates an expected call of PauseEKSAControllerReconcile.
func (*MockClusterManagerMockRecorder) ResumeCAPIWorkloadClusters ¶ added in v0.16.0
func (mr *MockClusterManagerMockRecorder) ResumeCAPIWorkloadClusters(arg0, arg1 interface{}) *gomock.Call
ResumeCAPIWorkloadClusters indicates an expected call of ResumeCAPIWorkloadClusters.
func (*MockClusterManagerMockRecorder) ResumeEKSAControllerReconcile ¶
func (mr *MockClusterManagerMockRecorder) ResumeEKSAControllerReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ResumeEKSAControllerReconcile indicates an expected call of ResumeEKSAControllerReconcile.
func (*MockClusterManagerMockRecorder) SaveLogsManagementCluster ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) SaveLogsManagementCluster(arg0, arg1, arg2 interface{}) *gomock.Call
SaveLogsManagementCluster indicates an expected call of SaveLogsManagementCluster.
func (*MockClusterManagerMockRecorder) SaveLogsWorkloadCluster ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) SaveLogsWorkloadCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SaveLogsWorkloadCluster indicates an expected call of SaveLogsWorkloadCluster.
func (*MockClusterManagerMockRecorder) Upgrade ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
type MockClusterMover ¶ added in v0.20.0
type MockClusterMover struct {
// contains filtered or unexported fields
}
MockClusterMover is a mock of ClusterMover interface.
func NewMockClusterMover ¶ added in v0.20.0
func NewMockClusterMover(ctrl *gomock.Controller) *MockClusterMover
NewMockClusterMover creates a new mock instance.
func (*MockClusterMover) EXPECT ¶ added in v0.20.0
func (m *MockClusterMover) EXPECT() *MockClusterMoverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterMover) Move ¶ added in v0.20.0
func (m *MockClusterMover) Move(arg0 context.Context, arg1 *cluster.Spec, arg2, arg3 kubernetes.Client) error
Move mocks base method.
type MockClusterMoverMockRecorder ¶ added in v0.20.0
type MockClusterMoverMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterMoverMockRecorder is the mock recorder for MockClusterMover.
func (*MockClusterMoverMockRecorder) Move ¶ added in v0.20.0
func (mr *MockClusterMoverMockRecorder) Move(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Move indicates an expected call of Move.
type MockClusterUpgrader ¶ added in v0.15.0
type MockClusterUpgrader struct {
// contains filtered or unexported fields
}
MockClusterUpgrader is a mock of ClusterUpgrader interface.
func NewMockClusterUpgrader ¶ added in v0.15.0
func NewMockClusterUpgrader(ctrl *gomock.Controller) *MockClusterUpgrader
NewMockClusterUpgrader creates a new mock instance.
func (*MockClusterUpgrader) EXPECT ¶ added in v0.15.0
func (m *MockClusterUpgrader) EXPECT() *MockClusterUpgraderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClusterUpgraderMockRecorder ¶ added in v0.15.0
type MockClusterUpgraderMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterUpgraderMockRecorder is the mock recorder for MockClusterUpgrader.
func (*MockClusterUpgraderMockRecorder) Run ¶ added in v0.18.0
func (mr *MockClusterUpgraderMockRecorder) Run(arg0, arg1, arg2 interface{}) *gomock.Call
Run indicates an expected call of Run.
type MockEksaInstaller ¶ added in v0.19.0
type MockEksaInstaller struct {
// contains filtered or unexported fields
}
MockEksaInstaller is a mock of EksaInstaller interface.
func NewMockEksaInstaller ¶ added in v0.19.0
func NewMockEksaInstaller(ctrl *gomock.Controller) *MockEksaInstaller
NewMockEksaInstaller creates a new mock instance.
func (*MockEksaInstaller) EXPECT ¶ added in v0.19.0
func (m *MockEksaInstaller) EXPECT() *MockEksaInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEksaInstallerMockRecorder ¶ added in v0.19.0
type MockEksaInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockEksaInstallerMockRecorder is the mock recorder for MockEksaInstaller.
func (*MockEksaInstallerMockRecorder) Install ¶ added in v0.19.0
func (mr *MockEksaInstallerMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Install indicates an expected call of Install.
type MockEksdInstaller ¶ added in v0.9.0
type MockEksdInstaller struct {
// contains filtered or unexported fields
}
MockEksdInstaller is a mock of EksdInstaller interface.
func NewMockEksdInstaller ¶ added in v0.9.0
func NewMockEksdInstaller(ctrl *gomock.Controller) *MockEksdInstaller
NewMockEksdInstaller creates a new mock instance.
func (*MockEksdInstaller) EXPECT ¶ added in v0.9.0
func (m *MockEksdInstaller) EXPECT() *MockEksdInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEksdInstaller) InstallEksdCRDs ¶ added in v0.9.0
func (m *MockEksdInstaller) InstallEksdCRDs(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
InstallEksdCRDs mocks base method.
func (*MockEksdInstaller) InstallEksdManifest ¶ added in v0.9.0
func (m *MockEksdInstaller) InstallEksdManifest(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
InstallEksdManifest mocks base method.
type MockEksdInstallerMockRecorder ¶ added in v0.9.0
type MockEksdInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockEksdInstallerMockRecorder is the mock recorder for MockEksdInstaller.
func (*MockEksdInstallerMockRecorder) InstallEksdCRDs ¶ added in v0.9.0
func (mr *MockEksdInstallerMockRecorder) InstallEksdCRDs(arg0, arg1, arg2 interface{}) *gomock.Call
InstallEksdCRDs indicates an expected call of InstallEksdCRDs.
func (*MockEksdInstallerMockRecorder) InstallEksdManifest ¶ added in v0.9.0
func (mr *MockEksdInstallerMockRecorder) InstallEksdManifest(arg0, arg1, arg2 interface{}) *gomock.Call
InstallEksdManifest indicates an expected call of InstallEksdManifest.
type MockEksdUpgrader ¶ added in v0.9.0
type MockEksdUpgrader struct {
// contains filtered or unexported fields
}
MockEksdUpgrader is a mock of EksdUpgrader interface.
func NewMockEksdUpgrader ¶ added in v0.9.0
func NewMockEksdUpgrader(ctrl *gomock.Controller) *MockEksdUpgrader
NewMockEksdUpgrader creates a new mock instance.
func (*MockEksdUpgrader) EXPECT ¶ added in v0.9.0
func (m *MockEksdUpgrader) EXPECT() *MockEksdUpgraderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEksdUpgraderMockRecorder ¶ added in v0.9.0
type MockEksdUpgraderMockRecorder struct {
// contains filtered or unexported fields
}
MockEksdUpgraderMockRecorder is the mock recorder for MockEksdUpgrader.
func (*MockEksdUpgraderMockRecorder) Upgrade ¶ added in v0.9.0
func (mr *MockEksdUpgraderMockRecorder) Upgrade(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
type MockGitOpsManager ¶ added in v0.11.0
type MockGitOpsManager struct {
// contains filtered or unexported fields
}
MockGitOpsManager is a mock of GitOpsManager interface.
func NewMockGitOpsManager ¶ added in v0.11.0
func NewMockGitOpsManager(ctrl *gomock.Controller) *MockGitOpsManager
NewMockGitOpsManager creates a new mock instance.
func (*MockGitOpsManager) CleanupGitRepo ¶ added in v0.11.0
CleanupGitRepo mocks base method.
func (*MockGitOpsManager) EXPECT ¶ added in v0.11.0
func (m *MockGitOpsManager) EXPECT() *MockGitOpsManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitOpsManager) ForceReconcileGitRepo ¶ added in v0.11.0
func (m *MockGitOpsManager) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
ForceReconcileGitRepo mocks base method.
func (*MockGitOpsManager) Install ¶ added in v0.11.0
func (m *MockGitOpsManager) Install(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.ManagementComponents, arg3, arg4 *cluster.Spec) error
Install mocks base method.
func (*MockGitOpsManager) InstallGitOps ¶ added in v0.11.0
func (m *MockGitOpsManager) InstallGitOps(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.ManagementComponents, arg3 *cluster.Spec, arg4 providers.DatacenterConfig, arg5 []providers.MachineConfig) error
InstallGitOps mocks base method.
func (*MockGitOpsManager) PauseClusterResourcesReconcile ¶ added in v0.11.2
func (m *MockGitOpsManager) PauseClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
PauseClusterResourcesReconcile mocks base method.
func (*MockGitOpsManager) ResumeClusterResourcesReconcile ¶ added in v0.11.2
func (m *MockGitOpsManager) ResumeClusterResourcesReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
ResumeClusterResourcesReconcile mocks base method.
func (*MockGitOpsManager) UpdateGitEksaSpec ¶ added in v0.11.0
func (m *MockGitOpsManager) UpdateGitEksaSpec(arg0 context.Context, arg1 *cluster.Spec, arg2 providers.DatacenterConfig, arg3 []providers.MachineConfig) error
UpdateGitEksaSpec mocks base method.
func (*MockGitOpsManager) Upgrade ¶ added in v0.11.0
func (m *MockGitOpsManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.ManagementComponents, arg4, arg5 *cluster.Spec) (*types.ChangeDiff, error)
Upgrade mocks base method.
func (*MockGitOpsManager) Validations ¶ added in v0.11.0
func (m *MockGitOpsManager) Validations(arg0 context.Context, arg1 *cluster.Spec) []validations.Validation
Validations mocks base method.
type MockGitOpsManagerMockRecorder ¶ added in v0.11.0
type MockGitOpsManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitOpsManagerMockRecorder is the mock recorder for MockGitOpsManager.
func (*MockGitOpsManagerMockRecorder) CleanupGitRepo ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) CleanupGitRepo(arg0, arg1 interface{}) *gomock.Call
CleanupGitRepo indicates an expected call of CleanupGitRepo.
func (*MockGitOpsManagerMockRecorder) ForceReconcileGitRepo ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
ForceReconcileGitRepo indicates an expected call of ForceReconcileGitRepo.
func (*MockGitOpsManagerMockRecorder) Install ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) Install(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Install indicates an expected call of Install.
func (*MockGitOpsManagerMockRecorder) InstallGitOps ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) InstallGitOps(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
InstallGitOps indicates an expected call of InstallGitOps.
func (*MockGitOpsManagerMockRecorder) PauseClusterResourcesReconcile ¶ added in v0.11.2
func (mr *MockGitOpsManagerMockRecorder) PauseClusterResourcesReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PauseClusterResourcesReconcile indicates an expected call of PauseClusterResourcesReconcile.
func (*MockGitOpsManagerMockRecorder) ResumeClusterResourcesReconcile ¶ added in v0.11.2
func (mr *MockGitOpsManagerMockRecorder) ResumeClusterResourcesReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ResumeClusterResourcesReconcile indicates an expected call of ResumeClusterResourcesReconcile.
func (*MockGitOpsManagerMockRecorder) UpdateGitEksaSpec ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) UpdateGitEksaSpec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateGitEksaSpec indicates an expected call of UpdateGitEksaSpec.
func (*MockGitOpsManagerMockRecorder) Upgrade ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
func (*MockGitOpsManagerMockRecorder) Validations ¶ added in v0.11.0
func (mr *MockGitOpsManagerMockRecorder) Validations(arg0, arg1 interface{}) *gomock.Call
Validations indicates an expected call of Validations.
type MockPackageManager ¶ added in v0.19.7
type MockPackageManager struct {
// contains filtered or unexported fields
}
MockPackageManager is a mock of PackageManager interface.
func NewMockPackageManager ¶ added in v0.19.7
func NewMockPackageManager(ctrl *gomock.Controller) *MockPackageManager
NewMockPackageManager creates a new mock instance.
func (*MockPackageManager) EXPECT ¶ added in v0.19.7
func (m *MockPackageManager) EXPECT() *MockPackageManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackageManager) InstallCuratedPackages ¶ added in v0.19.7
func (m *MockPackageManager) InstallCuratedPackages(arg0 context.Context)
InstallCuratedPackages mocks base method.
func (*MockPackageManager) UpgradeCuratedPackages ¶ added in v0.19.7
func (m *MockPackageManager) UpgradeCuratedPackages(arg0 context.Context)
UpgradeCuratedPackages mocks base method.
type MockPackageManagerMockRecorder ¶ added in v0.19.7
type MockPackageManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageManagerMockRecorder is the mock recorder for MockPackageManager.
func (*MockPackageManagerMockRecorder) InstallCuratedPackages ¶ added in v0.19.7
func (mr *MockPackageManagerMockRecorder) InstallCuratedPackages(arg0 interface{}) *gomock.Call
InstallCuratedPackages indicates an expected call of InstallCuratedPackages.
func (*MockPackageManagerMockRecorder) UpgradeCuratedPackages ¶ added in v0.19.7
func (mr *MockPackageManagerMockRecorder) UpgradeCuratedPackages(arg0 interface{}) *gomock.Call
UpgradeCuratedPackages indicates an expected call of UpgradeCuratedPackages.
type MockValidator ¶
type MockValidator struct {
// contains filtered or unexported fields
}
MockValidator is a mock of Validator interface.
func NewMockValidator ¶
func NewMockValidator(ctrl *gomock.Controller) *MockValidator
NewMockValidator creates a new mock instance.
func (*MockValidator) EXPECT ¶
func (m *MockValidator) EXPECT() *MockValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidator) PreflightValidations ¶
func (m *MockValidator) PreflightValidations(arg0 context.Context) []validations.Validation
PreflightValidations mocks base method.
type MockValidatorMockRecorder ¶
type MockValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorMockRecorder is the mock recorder for MockValidator.
func (*MockValidatorMockRecorder) PreflightValidations ¶
func (mr *MockValidatorMockRecorder) PreflightValidations(arg0 interface{}) *gomock.Call
PreflightValidations indicates an expected call of PreflightValidations.