Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDatacenterConfig
- type MockDatacenterConfigMockRecorder
- type MockMachineConfig
- type MockMachineConfigMockRecorder
- type MockProvider
- func (m *MockProvider) BootstrapClusterOpts() ([]bootstrapper.BootstrapClusterOption, error)
- func (m *MockProvider) BootstrapSetup(arg0 context.Context, arg1 *v1alpha1.Cluster, arg2 *types.Cluster) error
- func (m *MockProvider) ChangeDiff(arg0, arg1 *cluster.Spec) *types.ComponentChangeDiff
- func (m *MockProvider) CleanupProviderInfrastructure(arg0 context.Context) error
- func (m *MockProvider) DatacenterConfig() providers.DatacenterConfig
- func (m *MockProvider) DatacenterResourceType() string
- func (m *MockProvider) DeleteResources(arg0 context.Context, arg1 *cluster.Spec) error
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) EnvMap() (map[string]string, error)
- func (m *MockProvider) GenerateCAPISpecForCreate(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) ([]byte, []byte, error)
- func (m *MockProvider) GenerateCAPISpecForUpgrade(arg0 context.Context, arg1, arg2 *types.Cluster, arg3, arg4 *cluster.Spec) ([]byte, []byte, error)
- func (m *MockProvider) GenerateMHC() ([]byte, error)
- func (m *MockProvider) GenerateStorageClass() []byte
- func (m *MockProvider) GetDeployments() map[string][]string
- func (m *MockProvider) GetInfrastructureBundle(arg0 *cluster.Spec) *types.InfrastructureBundle
- func (m *MockProvider) MachineConfigs() []providers.MachineConfig
- func (m *MockProvider) MachineResourceType() string
- func (m *MockProvider) Name() string
- func (m *MockProvider) RunPostUpgrade(arg0 context.Context, arg1 *cluster.Spec, arg2, arg3 *types.Cluster) error
- func (m *MockProvider) SetupAndValidateCreateCluster(arg0 context.Context, arg1 *cluster.Spec) error
- func (m *MockProvider) SetupAndValidateDeleteCluster(arg0 context.Context) error
- func (m *MockProvider) SetupAndValidateUpgradeCluster(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockProvider) UpdateKubeConfig(arg0 *[]byte, arg1 string) error
- func (m *MockProvider) UpdateSecrets(arg0 context.Context, arg1 *types.Cluster) error
- func (m *MockProvider) UpgradeNeeded(arg0 context.Context, arg1, arg2 *cluster.Spec) (bool, error)
- func (m *MockProvider) ValidateNewSpec(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
- func (m *MockProvider) Version(arg0 *cluster.Spec) string
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) BootstrapClusterOpts() *gomock.Call
- func (mr *MockProviderMockRecorder) BootstrapSetup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) ChangeDiff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) CleanupProviderInfrastructure(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) DatacenterConfig() *gomock.Call
- func (mr *MockProviderMockRecorder) DatacenterResourceType() *gomock.Call
- func (mr *MockProviderMockRecorder) DeleteResources(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) EnvMap() *gomock.Call
- func (mr *MockProviderMockRecorder) GenerateCAPISpecForCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GenerateCAPISpecForUpgrade(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) GenerateMHC() *gomock.Call
- func (mr *MockProviderMockRecorder) GenerateStorageClass() *gomock.Call
- func (mr *MockProviderMockRecorder) GetDeployments() *gomock.Call
- func (mr *MockProviderMockRecorder) GetInfrastructureBundle(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) MachineConfigs() *gomock.Call
- func (mr *MockProviderMockRecorder) MachineResourceType() *gomock.Call
- func (mr *MockProviderMockRecorder) Name() *gomock.Call
- func (mr *MockProviderMockRecorder) RunPostUpgrade(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) SetupAndValidateCreateCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) SetupAndValidateDeleteCluster(arg0 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) SetupAndValidateUpgradeCluster(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) UpdateKubeConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) UpdateSecrets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) UpgradeNeeded(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) ValidateNewSpec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockProviderMockRecorder) Version(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDatacenterConfig ¶
type MockDatacenterConfig struct {
// contains filtered or unexported fields
}
MockDatacenterConfig is a mock of DatacenterConfig interface.
func NewMockDatacenterConfig ¶
func NewMockDatacenterConfig(ctrl *gomock.Controller) *MockDatacenterConfig
NewMockDatacenterConfig creates a new mock instance.
func (*MockDatacenterConfig) ClearPauseAnnotation ¶
func (m *MockDatacenterConfig) ClearPauseAnnotation()
ClearPauseAnnotation mocks base method.
func (*MockDatacenterConfig) EXPECT ¶
func (m *MockDatacenterConfig) EXPECT() *MockDatacenterConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDatacenterConfig) Kind ¶
func (m *MockDatacenterConfig) Kind() string
Kind mocks base method.
func (*MockDatacenterConfig) Marshallable ¶ added in v0.6.0
func (m *MockDatacenterConfig) Marshallable() v1alpha1.Marshallable
Marshallable mocks base method.
func (*MockDatacenterConfig) PauseReconcile ¶
func (m *MockDatacenterConfig) PauseReconcile()
PauseReconcile mocks base method.
type MockDatacenterConfigMockRecorder ¶
type MockDatacenterConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockDatacenterConfigMockRecorder is the mock recorder for MockDatacenterConfig.
func (*MockDatacenterConfigMockRecorder) ClearPauseAnnotation ¶
func (mr *MockDatacenterConfigMockRecorder) ClearPauseAnnotation() *gomock.Call
ClearPauseAnnotation indicates an expected call of ClearPauseAnnotation.
func (*MockDatacenterConfigMockRecorder) Kind ¶
func (mr *MockDatacenterConfigMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind.
func (*MockDatacenterConfigMockRecorder) Marshallable ¶ added in v0.6.0
func (mr *MockDatacenterConfigMockRecorder) Marshallable() *gomock.Call
Marshallable indicates an expected call of Marshallable.
func (*MockDatacenterConfigMockRecorder) PauseReconcile ¶
func (mr *MockDatacenterConfigMockRecorder) PauseReconcile() *gomock.Call
PauseReconcile indicates an expected call of PauseReconcile.
type MockMachineConfig ¶
type MockMachineConfig struct {
// contains filtered or unexported fields
}
MockMachineConfig is a mock of MachineConfig interface.
func NewMockMachineConfig ¶
func NewMockMachineConfig(ctrl *gomock.Controller) *MockMachineConfig
NewMockMachineConfig creates a new mock instance.
func (*MockMachineConfig) EXPECT ¶
func (m *MockMachineConfig) EXPECT() *MockMachineConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMachineConfig) GetName ¶ added in v0.6.0
func (m *MockMachineConfig) GetName() string
GetName mocks base method.
func (*MockMachineConfig) GetNamespace ¶ added in v0.6.0
func (m *MockMachineConfig) GetNamespace() string
GetNamespace mocks base method.
func (*MockMachineConfig) Marshallable ¶ added in v0.6.0
func (m *MockMachineConfig) Marshallable() v1alpha1.Marshallable
Marshallable mocks base method.
func (*MockMachineConfig) OSFamily ¶ added in v0.6.0
func (m *MockMachineConfig) OSFamily() v1alpha1.OSFamily
OSFamily mocks base method.
type MockMachineConfigMockRecorder ¶
type MockMachineConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineConfigMockRecorder is the mock recorder for MockMachineConfig.
func (*MockMachineConfigMockRecorder) GetName ¶ added in v0.6.0
func (mr *MockMachineConfigMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockMachineConfigMockRecorder) GetNamespace ¶ added in v0.6.0
func (mr *MockMachineConfigMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockMachineConfigMockRecorder) Marshallable ¶ added in v0.6.0
func (mr *MockMachineConfigMockRecorder) Marshallable() *gomock.Call
Marshallable indicates an expected call of Marshallable.
func (*MockMachineConfigMockRecorder) OSFamily ¶ added in v0.6.0
func (mr *MockMachineConfigMockRecorder) OSFamily() *gomock.Call
OSFamily indicates an expected call of OSFamily.
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) BootstrapClusterOpts ¶
func (m *MockProvider) BootstrapClusterOpts() ([]bootstrapper.BootstrapClusterOption, error)
BootstrapClusterOpts mocks base method.
func (*MockProvider) BootstrapSetup ¶
func (m *MockProvider) BootstrapSetup(arg0 context.Context, arg1 *v1alpha1.Cluster, arg2 *types.Cluster) error
BootstrapSetup mocks base method.
func (*MockProvider) ChangeDiff ¶ added in v0.6.0
func (m *MockProvider) ChangeDiff(arg0, arg1 *cluster.Spec) *types.ComponentChangeDiff
ChangeDiff mocks base method.
func (*MockProvider) CleanupProviderInfrastructure ¶
func (m *MockProvider) CleanupProviderInfrastructure(arg0 context.Context) error
CleanupProviderInfrastructure mocks base method.
func (*MockProvider) DatacenterConfig ¶
func (m *MockProvider) DatacenterConfig() providers.DatacenterConfig
DatacenterConfig mocks base method.
func (*MockProvider) DatacenterResourceType ¶
func (m *MockProvider) DatacenterResourceType() string
DatacenterResourceType mocks base method.
func (*MockProvider) DeleteResources ¶ added in v0.6.0
DeleteResources mocks base method.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) EnvMap ¶
func (m *MockProvider) EnvMap() (map[string]string, error)
EnvMap mocks base method.
func (*MockProvider) GenerateCAPISpecForCreate ¶ added in v0.6.0
func (m *MockProvider) GenerateCAPISpecForCreate(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) ([]byte, []byte, error)
GenerateCAPISpecForCreate mocks base method.
func (*MockProvider) GenerateCAPISpecForUpgrade ¶ added in v0.6.0
func (m *MockProvider) GenerateCAPISpecForUpgrade(arg0 context.Context, arg1, arg2 *types.Cluster, arg3, arg4 *cluster.Spec) ([]byte, []byte, error)
GenerateCAPISpecForUpgrade mocks base method.
func (*MockProvider) GenerateMHC ¶
func (m *MockProvider) GenerateMHC() ([]byte, error)
GenerateMHC mocks base method.
func (*MockProvider) GenerateStorageClass ¶
func (m *MockProvider) GenerateStorageClass() []byte
GenerateStorageClass mocks base method.
func (*MockProvider) GetDeployments ¶
func (m *MockProvider) GetDeployments() map[string][]string
GetDeployments mocks base method.
func (*MockProvider) GetInfrastructureBundle ¶
func (m *MockProvider) GetInfrastructureBundle(arg0 *cluster.Spec) *types.InfrastructureBundle
GetInfrastructureBundle mocks base method.
func (*MockProvider) MachineConfigs ¶
func (m *MockProvider) MachineConfigs() []providers.MachineConfig
MachineConfigs mocks base method.
func (*MockProvider) MachineResourceType ¶
func (m *MockProvider) MachineResourceType() string
MachineResourceType mocks base method.
func (*MockProvider) RunPostUpgrade ¶ added in v0.6.0
func (m *MockProvider) RunPostUpgrade(arg0 context.Context, arg1 *cluster.Spec, arg2, arg3 *types.Cluster) error
RunPostUpgrade mocks base method.
func (*MockProvider) SetupAndValidateCreateCluster ¶
func (m *MockProvider) SetupAndValidateCreateCluster(arg0 context.Context, arg1 *cluster.Spec) error
SetupAndValidateCreateCluster mocks base method.
func (*MockProvider) SetupAndValidateDeleteCluster ¶
func (m *MockProvider) SetupAndValidateDeleteCluster(arg0 context.Context) error
SetupAndValidateDeleteCluster mocks base method.
func (*MockProvider) SetupAndValidateUpgradeCluster ¶
func (m *MockProvider) SetupAndValidateUpgradeCluster(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
SetupAndValidateUpgradeCluster mocks base method.
func (*MockProvider) UpdateKubeConfig ¶
func (m *MockProvider) UpdateKubeConfig(arg0 *[]byte, arg1 string) error
UpdateKubeConfig mocks base method.
func (*MockProvider) UpdateSecrets ¶
UpdateSecrets mocks base method.
func (*MockProvider) UpgradeNeeded ¶ added in v0.6.0
UpgradeNeeded mocks base method.
func (*MockProvider) ValidateNewSpec ¶
func (m *MockProvider) ValidateNewSpec(arg0 context.Context, arg1 *types.Cluster, arg2 *cluster.Spec) error
ValidateNewSpec mocks base method.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) BootstrapClusterOpts ¶
func (mr *MockProviderMockRecorder) BootstrapClusterOpts() *gomock.Call
BootstrapClusterOpts indicates an expected call of BootstrapClusterOpts.
func (*MockProviderMockRecorder) BootstrapSetup ¶
func (mr *MockProviderMockRecorder) BootstrapSetup(arg0, arg1, arg2 interface{}) *gomock.Call
BootstrapSetup indicates an expected call of BootstrapSetup.
func (*MockProviderMockRecorder) ChangeDiff ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) ChangeDiff(arg0, arg1 interface{}) *gomock.Call
ChangeDiff indicates an expected call of ChangeDiff.
func (*MockProviderMockRecorder) CleanupProviderInfrastructure ¶
func (mr *MockProviderMockRecorder) CleanupProviderInfrastructure(arg0 interface{}) *gomock.Call
CleanupProviderInfrastructure indicates an expected call of CleanupProviderInfrastructure.
func (*MockProviderMockRecorder) DatacenterConfig ¶
func (mr *MockProviderMockRecorder) DatacenterConfig() *gomock.Call
DatacenterConfig indicates an expected call of DatacenterConfig.
func (*MockProviderMockRecorder) DatacenterResourceType ¶
func (mr *MockProviderMockRecorder) DatacenterResourceType() *gomock.Call
DatacenterResourceType indicates an expected call of DatacenterResourceType.
func (*MockProviderMockRecorder) DeleteResources ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) DeleteResources(arg0, arg1 interface{}) *gomock.Call
DeleteResources indicates an expected call of DeleteResources.
func (*MockProviderMockRecorder) EnvMap ¶
func (mr *MockProviderMockRecorder) EnvMap() *gomock.Call
EnvMap indicates an expected call of EnvMap.
func (*MockProviderMockRecorder) GenerateCAPISpecForCreate ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) GenerateCAPISpecForCreate(arg0, arg1, arg2 interface{}) *gomock.Call
GenerateCAPISpecForCreate indicates an expected call of GenerateCAPISpecForCreate.
func (*MockProviderMockRecorder) GenerateCAPISpecForUpgrade ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) GenerateCAPISpecForUpgrade(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
GenerateCAPISpecForUpgrade indicates an expected call of GenerateCAPISpecForUpgrade.
func (*MockProviderMockRecorder) GenerateMHC ¶
func (mr *MockProviderMockRecorder) GenerateMHC() *gomock.Call
GenerateMHC indicates an expected call of GenerateMHC.
func (*MockProviderMockRecorder) GenerateStorageClass ¶
func (mr *MockProviderMockRecorder) GenerateStorageClass() *gomock.Call
GenerateStorageClass indicates an expected call of GenerateStorageClass.
func (*MockProviderMockRecorder) GetDeployments ¶
func (mr *MockProviderMockRecorder) GetDeployments() *gomock.Call
GetDeployments indicates an expected call of GetDeployments.
func (*MockProviderMockRecorder) GetInfrastructureBundle ¶
func (mr *MockProviderMockRecorder) GetInfrastructureBundle(arg0 interface{}) *gomock.Call
GetInfrastructureBundle indicates an expected call of GetInfrastructureBundle.
func (*MockProviderMockRecorder) MachineConfigs ¶
func (mr *MockProviderMockRecorder) MachineConfigs() *gomock.Call
MachineConfigs indicates an expected call of MachineConfigs.
func (*MockProviderMockRecorder) MachineResourceType ¶
func (mr *MockProviderMockRecorder) MachineResourceType() *gomock.Call
MachineResourceType indicates an expected call of MachineResourceType.
func (*MockProviderMockRecorder) Name ¶
func (mr *MockProviderMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockProviderMockRecorder) RunPostUpgrade ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) RunPostUpgrade(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RunPostUpgrade indicates an expected call of RunPostUpgrade.
func (*MockProviderMockRecorder) SetupAndValidateCreateCluster ¶
func (mr *MockProviderMockRecorder) SetupAndValidateCreateCluster(arg0, arg1 interface{}) *gomock.Call
SetupAndValidateCreateCluster indicates an expected call of SetupAndValidateCreateCluster.
func (*MockProviderMockRecorder) SetupAndValidateDeleteCluster ¶
func (mr *MockProviderMockRecorder) SetupAndValidateDeleteCluster(arg0 interface{}) *gomock.Call
SetupAndValidateDeleteCluster indicates an expected call of SetupAndValidateDeleteCluster.
func (*MockProviderMockRecorder) SetupAndValidateUpgradeCluster ¶
func (mr *MockProviderMockRecorder) SetupAndValidateUpgradeCluster(arg0, arg1, arg2 interface{}) *gomock.Call
SetupAndValidateUpgradeCluster indicates an expected call of SetupAndValidateUpgradeCluster.
func (*MockProviderMockRecorder) UpdateKubeConfig ¶
func (mr *MockProviderMockRecorder) UpdateKubeConfig(arg0, arg1 interface{}) *gomock.Call
UpdateKubeConfig indicates an expected call of UpdateKubeConfig.
func (*MockProviderMockRecorder) UpdateSecrets ¶
func (mr *MockProviderMockRecorder) UpdateSecrets(arg0, arg1 interface{}) *gomock.Call
UpdateSecrets indicates an expected call of UpdateSecrets.
func (*MockProviderMockRecorder) UpgradeNeeded ¶ added in v0.6.0
func (mr *MockProviderMockRecorder) UpgradeNeeded(arg0, arg1, arg2 interface{}) *gomock.Call
UpgradeNeeded indicates an expected call of UpgradeNeeded.
func (*MockProviderMockRecorder) ValidateNewSpec ¶
func (mr *MockProviderMockRecorder) ValidateNewSpec(arg0, arg1, arg2 interface{}) *gomock.Call
ValidateNewSpec indicates an expected call of ValidateNewSpec.
func (*MockProviderMockRecorder) Version ¶
func (mr *MockProviderMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.