mocks

package
v0.20.10 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 13 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) AllBaseboardManagements added in v0.15.0

func (m *MockProviderKubectlClient) AllBaseboardManagements(arg0 context.Context, arg1 string) ([]rufiounreleased.BaseboardManagement, error)

AllBaseboardManagements mocks base method.

func (*MockProviderKubectlClient) AllTinkerbellHardware added in v0.15.0

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

AllTinkerbellHardware 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) ApplyKubeSpecFromBytesWithNamespace added in v0.15.0

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

ApplyKubeSpecFromBytesWithNamespace mocks base method.

func (*MockProviderKubectlClient) DeleteCRD added in v0.15.0

func (m *MockProviderKubectlClient) DeleteCRD(arg0 context.Context, arg1, arg2 string) error

DeleteCRD 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) HasCRD added in v0.15.0

func (m *MockProviderKubectlClient) HasCRD(arg0 context.Context, arg1, arg2 string) (bool, error)

HasCRD mocks base method.

func (*MockProviderKubectlClient) SearchTinkerbellDatacenterConfig added in v0.13.0

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

SearchTinkerbellDatacenterConfig mocks base method.

func (*MockProviderKubectlClient) SearchTinkerbellMachineConfig added in v0.13.0

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

SearchTinkerbellMachineConfig 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.

func (*MockProviderKubectlClient) WaitForRufioMachines added in v0.15.0

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

WaitForRufioMachines mocks base method.

type MockProviderKubectlClientMockRecorder

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

MockProviderKubectlClientMockRecorder is the mock recorder for MockProviderKubectlClient.

func (*MockProviderKubectlClientMockRecorder) AllBaseboardManagements added in v0.15.0

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

AllBaseboardManagements indicates an expected call of AllBaseboardManagements.

func (*MockProviderKubectlClientMockRecorder) AllTinkerbellHardware added in v0.15.0

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

AllTinkerbellHardware indicates an expected call of AllTinkerbellHardware.

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) ApplyKubeSpecFromBytesWithNamespace added in v0.15.0

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

ApplyKubeSpecFromBytesWithNamespace indicates an expected call of ApplyKubeSpecFromBytesWithNamespace.

func (*MockProviderKubectlClientMockRecorder) DeleteCRD added in v0.15.0

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

DeleteCRD indicates an expected call of DeleteCRD.

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) HasCRD added in v0.15.0

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

HasCRD indicates an expected call of HasCRD.

func (*MockProviderKubectlClientMockRecorder) SearchTinkerbellDatacenterConfig added in v0.13.0

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

SearchTinkerbellDatacenterConfig indicates an expected call of SearchTinkerbellDatacenterConfig.

func (*MockProviderKubectlClientMockRecorder) SearchTinkerbellMachineConfig added in v0.13.0

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

SearchTinkerbellMachineConfig indicates an expected call of SearchTinkerbellMachineConfig.

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.

func (*MockProviderKubectlClientMockRecorder) WaitForRufioMachines added in v0.15.0

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

WaitForRufioMachines indicates an expected call of WaitForRufioMachines.

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