Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAddonManager
- func (m *MockAddonManager) CleanupGitRepo(arg0 context.Context, arg1 *cluster.Spec) error
- func (m *MockAddonManager) EXPECT() *MockAddonManagerMockRecorder
- func (m *MockAddonManager) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockAddonManager) InstallGitOps(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockAddonManager) PauseGitOpsKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockAddonManager) ResumeGitOpsKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockAddonManager) UpdateGitEksaSpec(arg0 context.Context, arg1 *cluster.Spec, arg2 providers.DatacenterConfig, ...) error
- func (m *MockAddonManager) UpdateLegacyFileStructure(arg0 context.Context, arg1, arg2 *cluster.Spec) error
- func (m *MockAddonManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)
- func (m *MockAddonManager) Validations(arg0 context.Context, arg1 *cluster.Spec) []validations.Validation
- type MockAddonManagerMockRecorder
- func (mr *MockAddonManagerMockRecorder) CleanupGitRepo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) InstallGitOps(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) PauseGitOpsKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) ResumeGitOpsKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) UpdateGitEksaSpec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) UpdateLegacyFileStructure(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAddonManagerMockRecorder) Validations(arg0, arg1 interface{}) *gomock.Call
- type MockBootstrapper
- 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 MockClusterManager
- func (m *MockClusterManager) ApplyBundles(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster) error
- func (m *MockClusterManager) CreateAwsIamAuthCaSecret(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockClusterManager) CreateEKSAResources(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) CreateWorkloadCluster(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) (*types.Cluster, error)
- func (m *MockClusterManager) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 providers.Provider, ...) error
- func (m *MockClusterManager) EKSAClusterSpecChanged(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) (bool, error)
- func (m *MockClusterManager) EXPECT() *MockClusterManagerMockRecorder
- func (m *MockClusterManager) GetCurrentClusterSpec(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*cluster.Spec, error)
- func (m *MockClusterManager) InstallAwsIamAuth(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error
- func (m *MockClusterManager) InstallCAPI(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, ...) error
- func (m *MockClusterManager) InstallCustomComponents(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, ...) error
- func (m *MockClusterManager) InstallMachineHealthChecks(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider) error
- func (m *MockClusterManager) InstallNetworking(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) error
- func (m *MockClusterManager) InstallStorageClass(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider) error
- func (m *MockClusterManager) MoveCAPI(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 string, ...) error
- func (m *MockClusterManager) PauseEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, ...) 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, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)
- func (m *MockClusterManager) UpgradeCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec, ...) error
- func (m *MockClusterManager) UpgradeNetworking(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec, ...) (*types.ChangeDiff, error)
- type MockClusterManagerMockRecorder
- func (mr *MockClusterManagerMockRecorder) ApplyBundles(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateAwsIamAuthCaSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateEKSAResources(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) CreateWorkloadCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) DeleteCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) EKSAClusterSpecChanged(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) GetCurrentClusterSpec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallAwsIamAuth(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallCAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallCustomComponents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallMachineHealthChecks(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallNetworking(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) InstallStorageClass(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) MoveCAPI(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) PauseEKSAControllerReconcile(arg0, arg1, arg2, arg3 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 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) UpgradeCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClusterManagerMockRecorder) UpgradeNetworking(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockEksdInstaller
- type MockEksdInstallerMockRecorder
- type MockEksdUpgrader
- type MockEksdUpgraderMockRecorder
- type MockPackageInstaller
- type MockPackageInstallerMockRecorder
- type MockValidator
- type MockValidatorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAddonManager ¶
type MockAddonManager struct {
// contains filtered or unexported fields
}
MockAddonManager is a mock of AddonManager interface.
func NewMockAddonManager ¶
func NewMockAddonManager(ctrl *gomock.Controller) *MockAddonManager
NewMockAddonManager creates a new mock instance.
func (*MockAddonManager) CleanupGitRepo ¶
CleanupGitRepo mocks base method.
func (*MockAddonManager) EXPECT ¶
func (m *MockAddonManager) EXPECT() *MockAddonManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAddonManager) ForceReconcileGitRepo ¶
func (m *MockAddonManager) ForceReconcileGitRepo(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
ForceReconcileGitRepo mocks base method.
func (*MockAddonManager) InstallGitOps ¶
func (m *MockAddonManager) InstallGitOps(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.DatacenterConfig, arg4 []providers.MachineConfig) error
InstallGitOps mocks base method.
func (*MockAddonManager) PauseGitOpsKustomization ¶
func (m *MockAddonManager) PauseGitOpsKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
PauseGitOpsKustomization mocks base method.
func (*MockAddonManager) ResumeGitOpsKustomization ¶
func (m *MockAddonManager) ResumeGitOpsKustomization(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
ResumeGitOpsKustomization mocks base method.
func (*MockAddonManager) UpdateGitEksaSpec ¶
func (m *MockAddonManager) UpdateGitEksaSpec(arg0 context.Context, arg1 *cluster.Spec, arg2 providers.DatacenterConfig, arg3 []providers.MachineConfig) error
UpdateGitEksaSpec mocks base method.
func (*MockAddonManager) UpdateLegacyFileStructure ¶ added in v0.6.1
func (m *MockAddonManager) UpdateLegacyFileStructure(arg0 context.Context, arg1, arg2 *cluster.Spec) error
UpdateLegacyFileStructure mocks base method.
func (*MockAddonManager) Upgrade ¶ added in v0.6.0
func (m *MockAddonManager) Upgrade(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec) (*types.ChangeDiff, error)
Upgrade mocks base method.
func (*MockAddonManager) Validations ¶
func (m *MockAddonManager) Validations(arg0 context.Context, arg1 *cluster.Spec) []validations.Validation
Validations mocks base method.
type MockAddonManagerMockRecorder ¶
type MockAddonManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockAddonManagerMockRecorder is the mock recorder for MockAddonManager.
func (*MockAddonManagerMockRecorder) CleanupGitRepo ¶
func (mr *MockAddonManagerMockRecorder) CleanupGitRepo(arg0, arg1 interface{}) *gomock.Call
CleanupGitRepo indicates an expected call of CleanupGitRepo.
func (*MockAddonManagerMockRecorder) ForceReconcileGitRepo ¶
func (mr *MockAddonManagerMockRecorder) ForceReconcileGitRepo(arg0, arg1, arg2 interface{}) *gomock.Call
ForceReconcileGitRepo indicates an expected call of ForceReconcileGitRepo.
func (*MockAddonManagerMockRecorder) InstallGitOps ¶
func (mr *MockAddonManagerMockRecorder) InstallGitOps(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
InstallGitOps indicates an expected call of InstallGitOps.
func (*MockAddonManagerMockRecorder) PauseGitOpsKustomization ¶
func (mr *MockAddonManagerMockRecorder) PauseGitOpsKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
PauseGitOpsKustomization indicates an expected call of PauseGitOpsKustomization.
func (*MockAddonManagerMockRecorder) ResumeGitOpsKustomization ¶
func (mr *MockAddonManagerMockRecorder) ResumeGitOpsKustomization(arg0, arg1, arg2 interface{}) *gomock.Call
ResumeGitOpsKustomization indicates an expected call of ResumeGitOpsKustomization.
func (*MockAddonManagerMockRecorder) UpdateGitEksaSpec ¶
func (mr *MockAddonManagerMockRecorder) UpdateGitEksaSpec(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
UpdateGitEksaSpec indicates an expected call of UpdateGitEksaSpec.
func (*MockAddonManagerMockRecorder) UpdateLegacyFileStructure ¶ added in v0.6.1
func (mr *MockAddonManagerMockRecorder) UpdateLegacyFileStructure(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateLegacyFileStructure indicates an expected call of UpdateLegacyFileStructure.
func (*MockAddonManagerMockRecorder) Upgrade ¶ added in v0.6.0
func (mr *MockAddonManagerMockRecorder) Upgrade(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
func (*MockAddonManagerMockRecorder) Validations ¶
func (mr *MockAddonManagerMockRecorder) Validations(arg0, arg1 interface{}) *gomock.Call
Validations indicates an expected call of Validations.
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 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 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.
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 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 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
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) 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) CreateAwsIamAuthCaSecret ¶ added in v0.6.0
func (m *MockClusterManager) CreateAwsIamAuthCaSecret(arg0 context.Context, arg1 *types.Cluster) error
CreateAwsIamAuthCaSecret mocks base method.
func (*MockClusterManager) CreateEKSAResources ¶
func (m *MockClusterManager) CreateEKSAResources(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.DatacenterConfig, arg4 []providers.MachineConfig) error
CreateEKSAResources mocks base method.
func (*MockClusterManager) CreateWorkloadCluster ¶
func (m *MockClusterManager) CreateWorkloadCluster(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) (*types.Cluster, error)
CreateWorkloadCluster mocks base method.
func (*MockClusterManager) DeleteCluster ¶
func (m *MockClusterManager) DeleteCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 providers.Provider, arg4 *cluster.Spec) error
DeleteCluster mocks base method.
func (*MockClusterManager) EKSAClusterSpecChanged ¶
func (m *MockClusterManager) EKSAClusterSpecChanged(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) (bool, error)
EKSAClusterSpecChanged 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) 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) InstallAwsIamAuth ¶ added in v0.6.0
func (m *MockClusterManager) InstallAwsIamAuth(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec) error
InstallAwsIamAuth mocks base method.
func (*MockClusterManager) InstallCAPI ¶ added in v0.6.0
func (m *MockClusterManager) InstallCAPI(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, arg3 providers.Provider) error
InstallCAPI mocks base method.
func (*MockClusterManager) InstallCustomComponents ¶
func (m *MockClusterManager) InstallCustomComponents(arg0 context.Context, arg1 *cluster.Spec, arg2 *types.Cluster, arg3 providers.Provider) error
InstallCustomComponents mocks base method.
func (*MockClusterManager) InstallMachineHealthChecks ¶
func (m *MockClusterManager) InstallMachineHealthChecks(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider) error
InstallMachineHealthChecks mocks base method.
func (*MockClusterManager) InstallNetworking ¶
func (m *MockClusterManager) InstallNetworking(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
InstallNetworking mocks base method.
func (*MockClusterManager) InstallStorageClass ¶
func (m *MockClusterManager) InstallStorageClass(arg0 context.Context, arg1 *types.Cluster, arg2 providers.Provider) error
InstallStorageClass 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) PauseEKSAControllerReconcile ¶
func (m *MockClusterManager) PauseEKSAControllerReconcile(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec, arg3 providers.Provider) error
PauseEKSAControllerReconcile 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.Spec) (*types.ChangeDiff, error)
Upgrade mocks base method.
func (*MockClusterManager) UpgradeCluster ¶
func (m *MockClusterManager) UpgradeCluster(arg0 context.Context, arg1, arg2 *types.Cluster, arg3 *cluster.Spec, arg4 providers.Provider) error
UpgradeCluster mocks base method.
func (*MockClusterManager) UpgradeNetworking ¶ added in v0.7.0
func (m *MockClusterManager) UpgradeNetworking(arg0 context.Context, arg1 *types.Cluster, arg2, arg3 *cluster.Spec, arg4 providers.Provider) (*types.ChangeDiff, error)
UpgradeNetworking mocks base method.
type MockClusterManagerMockRecorder ¶
type MockClusterManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterManagerMockRecorder is the mock recorder for MockClusterManager.
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) CreateAwsIamAuthCaSecret ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) CreateAwsIamAuthCaSecret(arg0, arg1 interface{}) *gomock.Call
CreateAwsIamAuthCaSecret indicates an expected call of CreateAwsIamAuthCaSecret.
func (*MockClusterManagerMockRecorder) CreateEKSAResources ¶
func (mr *MockClusterManagerMockRecorder) CreateEKSAResources(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateEKSAResources indicates an expected call of CreateEKSAResources.
func (*MockClusterManagerMockRecorder) CreateWorkloadCluster ¶
func (mr *MockClusterManagerMockRecorder) CreateWorkloadCluster(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CreateWorkloadCluster indicates an expected call of CreateWorkloadCluster.
func (*MockClusterManagerMockRecorder) DeleteCluster ¶
func (mr *MockClusterManagerMockRecorder) DeleteCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeleteCluster indicates an expected call of DeleteCluster.
func (*MockClusterManagerMockRecorder) EKSAClusterSpecChanged ¶
func (mr *MockClusterManagerMockRecorder) EKSAClusterSpecChanged(arg0, arg1, arg2 interface{}) *gomock.Call
EKSAClusterSpecChanged indicates an expected call of EKSAClusterSpecChanged.
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) InstallAwsIamAuth ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) InstallAwsIamAuth(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
InstallAwsIamAuth indicates an expected call of InstallAwsIamAuth.
func (*MockClusterManagerMockRecorder) InstallCAPI ¶ added in v0.6.0
func (mr *MockClusterManagerMockRecorder) InstallCAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
InstallCAPI indicates an expected call of InstallCAPI.
func (*MockClusterManagerMockRecorder) InstallCustomComponents ¶
func (mr *MockClusterManagerMockRecorder) InstallCustomComponents(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
InstallCustomComponents indicates an expected call of InstallCustomComponents.
func (*MockClusterManagerMockRecorder) InstallMachineHealthChecks ¶
func (mr *MockClusterManagerMockRecorder) InstallMachineHealthChecks(arg0, arg1, arg2 interface{}) *gomock.Call
InstallMachineHealthChecks indicates an expected call of InstallMachineHealthChecks.
func (*MockClusterManagerMockRecorder) InstallNetworking ¶
func (mr *MockClusterManagerMockRecorder) InstallNetworking(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
InstallNetworking indicates an expected call of InstallNetworking.
func (*MockClusterManagerMockRecorder) InstallStorageClass ¶
func (mr *MockClusterManagerMockRecorder) InstallStorageClass(arg0, arg1, arg2 interface{}) *gomock.Call
InstallStorageClass indicates an expected call of InstallStorageClass.
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) PauseEKSAControllerReconcile ¶
func (mr *MockClusterManagerMockRecorder) PauseEKSAControllerReconcile(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PauseEKSAControllerReconcile indicates an expected call of PauseEKSAControllerReconcile.
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 interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade.
func (*MockClusterManagerMockRecorder) UpgradeCluster ¶
func (mr *MockClusterManagerMockRecorder) UpgradeCluster(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpgradeCluster indicates an expected call of UpgradeCluster.
func (*MockClusterManagerMockRecorder) UpgradeNetworking ¶ added in v0.7.0
func (mr *MockClusterManagerMockRecorder) UpgradeNetworking(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
UpgradeNetworking indicates an expected call of UpgradeNetworking.
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 MockPackageInstaller ¶ added in v0.9.2
type MockPackageInstaller struct {
// contains filtered or unexported fields
}
MockPackageInstaller is a mock of PackageInstaller interface.
func NewMockPackageInstaller ¶ added in v0.9.2
func NewMockPackageInstaller(ctrl *gomock.Controller) *MockPackageInstaller
NewMockPackageInstaller creates a new mock instance.
func (*MockPackageInstaller) EXPECT ¶ added in v0.9.2
func (m *MockPackageInstaller) EXPECT() *MockPackageInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackageInstaller) InstallCuratedPackages ¶ added in v0.9.2
func (m *MockPackageInstaller) InstallCuratedPackages(arg0 context.Context) error
InstallCuratedPackages mocks base method.
type MockPackageInstallerMockRecorder ¶ added in v0.9.2
type MockPackageInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageInstallerMockRecorder is the mock recorder for MockPackageInstaller.
func (*MockPackageInstallerMockRecorder) InstallCuratedPackages ¶ added in v0.9.2
func (mr *MockPackageInstallerMockRecorder) InstallCuratedPackages(arg0 interface{}) *gomock.Call
InstallCuratedPackages indicates an expected call of InstallCuratedPackages.
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) error
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.