mocks

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 12 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 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) ApplyKubeSpec added in v0.9.0

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

ApplyKubeSpec mocks base method.

func (*MockProviderKubectlClient) ApplyKubeSpecFromBytesForce added in v0.9.0

func (m *MockProviderKubectlClient) ApplyKubeSpecFromBytesForce(arg0 context.Context, arg1 *types.Cluster, arg2 []byte) error

ApplyKubeSpecFromBytesForce mocks base method.

func (*MockProviderKubectlClient) DeleteEksaDatacenterConfig

func (m *MockProviderKubectlClient) DeleteEksaDatacenterConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

DeleteEksaDatacenterConfig mocks base method.

func (*MockProviderKubectlClient) DeleteEksaMachineConfig

func (m *MockProviderKubectlClient) DeleteEksaMachineConfig(arg0 context.Context, arg1, arg2, arg3, arg4 string) error

DeleteEksaMachineConfig mocks base method.

func (*MockProviderKubectlClient) EXPECT

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

func (*MockProviderKubectlClient) GetEksaCluster added in v0.9.0

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

GetEksaCluster mocks base method.

func (*MockProviderKubectlClient) GetEksaTinkerbellDatacenterConfig added in v0.9.0

func (m *MockProviderKubectlClient) GetEksaTinkerbellDatacenterConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.TinkerbellDatacenterConfig, error)

GetEksaTinkerbellDatacenterConfig mocks base method.

func (*MockProviderKubectlClient) GetEksaTinkerbellMachineConfig added in v0.9.0

func (m *MockProviderKubectlClient) GetEksaTinkerbellMachineConfig(arg0 context.Context, arg1, arg2, arg3 string) (*v1alpha1.TinkerbellMachineConfig, error)

GetEksaTinkerbellMachineConfig mocks base method.

func (*MockProviderKubectlClient) GetEtcdadmCluster added in v0.9.0

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 added in v0.9.0

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 added in v0.7.1

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

GetMachineDeployment mocks base method.

func (*MockProviderKubectlClient) GetProvisionedTinkerbellHardware added in v0.11.0

func (m *MockProviderKubectlClient) GetProvisionedTinkerbellHardware(arg0 context.Context, arg1, arg2 string) ([]v1alpha10.Hardware, error)

GetProvisionedTinkerbellHardware mocks base method.

func (*MockProviderKubectlClient) GetSecret added in v0.9.0

func (m *MockProviderKubectlClient) GetSecret(arg0 context.Context, arg1 string, arg2 ...executables.KubectlOpt) (*v1.Secret, error)

GetSecret mocks base method.

func (*MockProviderKubectlClient) GetUnprovisionedTinkerbellHardware added in v0.9.2

func (m *MockProviderKubectlClient) GetUnprovisionedTinkerbellHardware(arg0 context.Context, arg1, arg2 string) ([]v1alpha10.Hardware, error)

GetUnprovisionedTinkerbellHardware mocks base method.

func (*MockProviderKubectlClient) UpdateAnnotation added in v0.9.0

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

UpdateAnnotation mocks base method.

func (*MockProviderKubectlClient) WaitForDeployment added in v0.9.0

func (m *MockProviderKubectlClient) WaitForDeployment(arg0 context.Context, arg1 *types.Cluster, arg2, arg3, arg4, arg5 string) error

WaitForDeployment mocks base method.

type MockProviderKubectlClientMockRecorder

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

MockProviderKubectlClientMockRecorder is the mock recorder for MockProviderKubectlClient.

func (*MockProviderKubectlClientMockRecorder) ApplyKubeSpec added in v0.9.0

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

ApplyKubeSpec indicates an expected call of ApplyKubeSpec.

func (*MockProviderKubectlClientMockRecorder) ApplyKubeSpecFromBytesForce added in v0.9.0

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

ApplyKubeSpecFromBytesForce indicates an expected call of ApplyKubeSpecFromBytesForce.

func (*MockProviderKubectlClientMockRecorder) DeleteEksaDatacenterConfig

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

DeleteEksaDatacenterConfig indicates an expected call of DeleteEksaDatacenterConfig.

func (*MockProviderKubectlClientMockRecorder) DeleteEksaMachineConfig

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

DeleteEksaMachineConfig indicates an expected call of DeleteEksaMachineConfig.

func (*MockProviderKubectlClientMockRecorder) GetEksaCluster added in v0.9.0

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

GetEksaCluster indicates an expected call of GetEksaCluster.

func (*MockProviderKubectlClientMockRecorder) GetEksaTinkerbellDatacenterConfig added in v0.9.0

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

GetEksaTinkerbellDatacenterConfig indicates an expected call of GetEksaTinkerbellDatacenterConfig.

func (*MockProviderKubectlClientMockRecorder) GetEksaTinkerbellMachineConfig added in v0.9.0

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

GetEksaTinkerbellMachineConfig indicates an expected call of GetEksaTinkerbellMachineConfig.

func (*MockProviderKubectlClientMockRecorder) GetEtcdadmCluster added in v0.9.0

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

GetEtcdadmCluster indicates an expected call of GetEtcdadmCluster.

func (*MockProviderKubectlClientMockRecorder) GetKubeadmControlPlane added in v0.9.0

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

GetKubeadmControlPlane indicates an expected call of GetKubeadmControlPlane.

func (*MockProviderKubectlClientMockRecorder) GetMachineDeployment added in v0.7.1

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

GetMachineDeployment indicates an expected call of GetMachineDeployment.

func (*MockProviderKubectlClientMockRecorder) GetProvisionedTinkerbellHardware added in v0.11.0

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

GetProvisionedTinkerbellHardware indicates an expected call of GetProvisionedTinkerbellHardware.

func (*MockProviderKubectlClientMockRecorder) GetSecret added in v0.9.0

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

GetSecret indicates an expected call of GetSecret.

func (*MockProviderKubectlClientMockRecorder) GetUnprovisionedTinkerbellHardware added in v0.9.2

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

GetUnprovisionedTinkerbellHardware indicates an expected call of GetUnprovisionedTinkerbellHardware.

func (*MockProviderKubectlClientMockRecorder) UpdateAnnotation added in v0.9.0

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

UpdateAnnotation indicates an expected call of UpdateAnnotation.

func (*MockProviderKubectlClientMockRecorder) WaitForDeployment added in v0.9.0

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

WaitForDeployment indicates an expected call of WaitForDeployment.

type MockSSHAuthKeyGenerator added in v0.8.0

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

MockSSHAuthKeyGenerator is a mock of SSHAuthKeyGenerator interface.

func NewMockSSHAuthKeyGenerator added in v0.8.0

func NewMockSSHAuthKeyGenerator(ctrl *gomock.Controller) *MockSSHAuthKeyGenerator

NewMockSSHAuthKeyGenerator creates a new mock instance.

func (*MockSSHAuthKeyGenerator) EXPECT added in v0.8.0

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

func (*MockSSHAuthKeyGenerator) GenerateSSHAuthKey added in v0.8.0

func (m *MockSSHAuthKeyGenerator) GenerateSSHAuthKey(arg0 filewriter.FileWriter) (string, error)

GenerateSSHAuthKey mocks base method.

type MockSSHAuthKeyGeneratorMockRecorder added in v0.8.0

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

MockSSHAuthKeyGeneratorMockRecorder is the mock recorder for MockSSHAuthKeyGenerator.

func (*MockSSHAuthKeyGeneratorMockRecorder) GenerateSSHAuthKey added in v0.8.0

func (mr *MockSSHAuthKeyGeneratorMockRecorder) GenerateSSHAuthKey(arg0 interface{}) *gomock.Call

GenerateSSHAuthKey indicates an expected call of GenerateSSHAuthKey.

Jump to

Keyboard shortcuts

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