mock

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

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

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.

Jump to

Keyboard shortcuts

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