mocks

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProviderClient

type MockProviderClient struct {
	// contains filtered or unexported fields
}

MockProviderClient is a mock of ProviderClient interface.

func NewMockProviderClient

func NewMockProviderClient(ctrl *gomock.Controller) *MockProviderClient

NewMockProviderClient creates a new mock instance.

func (*MockProviderClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProviderClient) GetDockerLBPort

func (m *MockProviderClient) GetDockerLBPort(arg0 context.Context, arg1 string) (string, error)

GetDockerLBPort mocks base method.

type MockProviderClientMockRecorder

type MockProviderClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderClientMockRecorder is the mock recorder for MockProviderClient.

func (*MockProviderClientMockRecorder) GetDockerLBPort

func (mr *MockProviderClientMockRecorder) GetDockerLBPort(arg0, arg1 interface{}) *gomock.Call

GetDockerLBPort indicates an expected call of GetDockerLBPort.

type MockProviderKubectlClient

type MockProviderKubectlClient struct {
	// contains filtered or unexported fields
}

MockProviderKubectlClient is a mock of ProviderKubectlClient interface.

func NewMockProviderKubectlClient

func NewMockProviderKubectlClient(ctrl *gomock.Controller) *MockProviderKubectlClient

NewMockProviderKubectlClient creates a new mock instance.

func (*MockProviderKubectlClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProviderKubectlClient) GetEksaCluster

func (m *MockProviderKubectlClient) GetEksaCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string) (*v1alpha1.Cluster, error)

GetEksaCluster mocks base method.

func (*MockProviderKubectlClient) GetEtcdadmCluster

func (m *MockProviderKubectlClient) GetEtcdadmCluster(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta1.EtcdadmCluster, error)

GetEtcdadmCluster mocks base method.

func (*MockProviderKubectlClient) GetKubeadmControlPlane

func (m *MockProviderKubectlClient) GetKubeadmControlPlane(arg0 context.Context, arg1 *types.Cluster, arg2 string, arg3 ...executables.KubectlOpt) (*v1beta11.KubeadmControlPlane, error)

GetKubeadmControlPlane mocks base method.

func (*MockProviderKubectlClient) GetMachineDeployment

func (m *MockProviderKubectlClient) GetMachineDeployment(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1beta10.MachineDeployment, error)

GetMachineDeployment mocks base method.

func (*MockProviderKubectlClient) UpdateAnnotation

func (m *MockProviderKubectlClient) UpdateAnnotation(arg0 context.Context, arg1, arg2 string, arg3 map[string]string, arg4 ...executables.KubectlOpt) error

UpdateAnnotation mocks base method.

type MockProviderKubectlClientMockRecorder

type MockProviderKubectlClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockProviderKubectlClientMockRecorder is the mock recorder for MockProviderKubectlClient.

func (*MockProviderKubectlClientMockRecorder) GetEksaCluster

func (mr *MockProviderKubectlClientMockRecorder) GetEksaCluster(arg0, arg1, arg2 interface{}) *gomock.Call

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockProviderKubectlClientMockRecorder) GetEtcdadmCluster

func (mr *MockProviderKubectlClientMockRecorder) GetEtcdadmCluster(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

GetEtcdadmCluster indicates an expected call of GetEtcdadmCluster.

func (*MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane

func (mr *MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.

func (*MockProviderKubectlClientMockRecorder) GetMachineDeployment

func (mr *MockProviderKubectlClientMockRecorder) GetMachineDeployment(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetMachineDeployment indicates an expected call of GetMachineDeployment.

func (*MockProviderKubectlClientMockRecorder) UpdateAnnotation

func (mr *MockProviderKubectlClientMockRecorder) UpdateAnnotation(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

UpdateAnnotation indicates an expected call of UpdateAnnotation.

Jump to

Keyboard shortcuts

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