Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBackupProvider
- func (m *MockBackupProvider) BucketExists(arg0 context.Context) (bool, error)
- func (m *MockBackupProvider) ComputeETCDBackupConfiguration(arg0, arg1 string) (string, map[string][]byte, []v1.EnvVar)
- func (m *MockBackupProvider) CreateBucket(arg0 context.Context) error
- func (m *MockBackupProvider) DeleteBucket(arg0 context.Context) error
- func (m *MockBackupProvider) EXPECT() *MockBackupProviderMockRecorder
- type MockBackupProviderMockRecorder
- func (mr *MockBackupProviderMockRecorder) BucketExists(arg0 interface{}) *gomock.Call
- func (mr *MockBackupProviderMockRecorder) ComputeETCDBackupConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBackupProviderMockRecorder) CreateBucket(arg0 interface{}) *gomock.Call
- func (mr *MockBackupProviderMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call
- type MockInfrastructureProvider
- func (m *MockInfrastructureProvider) ComputeStorageClassConfiguration() (string, map[string]string)
- func (m *MockInfrastructureProvider) EXPECT() *MockInfrastructureProviderMockRecorder
- func (m *MockInfrastructureProvider) GetKubeAPIServerURL(arg0 *api.KubeAPIServer, arg1 string) string
- func (m *MockInfrastructureProvider) GetLoadBalancer(arg0 *v1.Service) string
- type MockInfrastructureProviderMockRecorder
- func (mr *MockInfrastructureProviderMockRecorder) ComputeStorageClassConfiguration() *gomock.Call
- func (mr *MockInfrastructureProviderMockRecorder) GetKubeAPIServerURL(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInfrastructureProviderMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackupProvider ¶
type MockBackupProvider struct {
// contains filtered or unexported fields
}
MockBackupProvider is a mock of BackupProvider interface.
func NewMockBackupProvider ¶
func NewMockBackupProvider(ctrl *gomock.Controller) *MockBackupProvider
NewMockBackupProvider creates a new mock instance.
func (*MockBackupProvider) BucketExists ¶
func (m *MockBackupProvider) BucketExists(arg0 context.Context) (bool, error)
BucketExists mocks base method.
func (*MockBackupProvider) ComputeETCDBackupConfiguration ¶
func (m *MockBackupProvider) ComputeETCDBackupConfiguration(arg0, arg1 string) (string, map[string][]byte, []v1.EnvVar)
ComputeETCDBackupConfiguration mocks base method.
func (*MockBackupProvider) CreateBucket ¶
func (m *MockBackupProvider) CreateBucket(arg0 context.Context) error
CreateBucket mocks base method.
func (*MockBackupProvider) DeleteBucket ¶
func (m *MockBackupProvider) DeleteBucket(arg0 context.Context) error
DeleteBucket mocks base method.
func (*MockBackupProvider) EXPECT ¶
func (m *MockBackupProvider) EXPECT() *MockBackupProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBackupProviderMockRecorder ¶
type MockBackupProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockBackupProviderMockRecorder is the mock recorder for MockBackupProvider.
func (*MockBackupProviderMockRecorder) BucketExists ¶
func (mr *MockBackupProviderMockRecorder) BucketExists(arg0 interface{}) *gomock.Call
BucketExists indicates an expected call of BucketExists.
func (*MockBackupProviderMockRecorder) ComputeETCDBackupConfiguration ¶
func (mr *MockBackupProviderMockRecorder) ComputeETCDBackupConfiguration(arg0, arg1 interface{}) *gomock.Call
ComputeETCDBackupConfiguration indicates an expected call of ComputeETCDBackupConfiguration.
func (*MockBackupProviderMockRecorder) CreateBucket ¶
func (mr *MockBackupProviderMockRecorder) CreateBucket(arg0 interface{}) *gomock.Call
CreateBucket indicates an expected call of CreateBucket.
func (*MockBackupProviderMockRecorder) DeleteBucket ¶
func (mr *MockBackupProviderMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call
DeleteBucket indicates an expected call of DeleteBucket.
type MockInfrastructureProvider ¶
type MockInfrastructureProvider struct {
// contains filtered or unexported fields
}
MockInfrastructureProvider is a mock of InfrastructureProvider interface.
func NewMockInfrastructureProvider ¶
func NewMockInfrastructureProvider(ctrl *gomock.Controller) *MockInfrastructureProvider
NewMockInfrastructureProvider creates a new mock instance.
func (*MockInfrastructureProvider) ComputeStorageClassConfiguration ¶
func (m *MockInfrastructureProvider) ComputeStorageClassConfiguration() (string, map[string]string)
ComputeStorageClassConfiguration mocks base method.
func (*MockInfrastructureProvider) EXPECT ¶
func (m *MockInfrastructureProvider) EXPECT() *MockInfrastructureProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInfrastructureProvider) GetKubeAPIServerURL ¶
func (m *MockInfrastructureProvider) GetKubeAPIServerURL(arg0 *api.KubeAPIServer, arg1 string) string
GetKubeAPIServerURL mocks base method.
func (*MockInfrastructureProvider) GetLoadBalancer ¶
func (m *MockInfrastructureProvider) GetLoadBalancer(arg0 *v1.Service) string
GetLoadBalancer mocks base method.
type MockInfrastructureProviderMockRecorder ¶
type MockInfrastructureProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockInfrastructureProviderMockRecorder is the mock recorder for MockInfrastructureProvider.
func (*MockInfrastructureProviderMockRecorder) ComputeStorageClassConfiguration ¶
func (mr *MockInfrastructureProviderMockRecorder) ComputeStorageClassConfiguration() *gomock.Call
ComputeStorageClassConfiguration indicates an expected call of ComputeStorageClassConfiguration.
func (*MockInfrastructureProviderMockRecorder) GetKubeAPIServerURL ¶
func (mr *MockInfrastructureProviderMockRecorder) GetKubeAPIServerURL(arg0, arg1 interface{}) *gomock.Call
GetKubeAPIServerURL indicates an expected call of GetKubeAPIServerURL.
func (*MockInfrastructureProviderMockRecorder) GetLoadBalancer ¶
func (mr *MockInfrastructureProviderMockRecorder) GetLoadBalancer(arg0 interface{}) *gomock.Call
GetLoadBalancer indicates an expected call of GetLoadBalancer.