mocks

package
v0.20.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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

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

MockAwsClient is a mock of AwsClient interface.

func NewMockAwsClient added in v0.9.0

func NewMockAwsClient(ctrl *gomock.Controller) *MockAwsClient

NewMockAwsClient creates a new mock instance.

func (*MockAwsClient) EC2ImageExists added in v0.9.0

func (m *MockAwsClient) EC2ImageExists(ctx context.Context, imageID string) (bool, error)

EC2ImageExists mocks base method.

func (*MockAwsClient) EC2ImportKeyPair added in v0.9.0

func (m *MockAwsClient) EC2ImportKeyPair(ctx context.Context, keyName string, keyMaterial []byte) error

EC2ImportKeyPair mocks base method.

func (*MockAwsClient) EC2InstanceTypes added in v0.14.2

func (m *MockAwsClient) EC2InstanceTypes(ctx context.Context) ([]aws.EC2InstanceType, error)

EC2InstanceTypes mocks base method.

func (*MockAwsClient) EC2KeyNameExists added in v0.9.0

func (m *MockAwsClient) EC2KeyNameExists(ctx context.Context, keyName string) (bool, error)

EC2KeyNameExists mocks base method.

func (*MockAwsClient) EXPECT added in v0.9.0

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

func (*MockAwsClient) IsSnowballDeviceUnlocked added in v0.12.0

func (m *MockAwsClient) IsSnowballDeviceUnlocked(ctx context.Context) (bool, error)

IsSnowballDeviceUnlocked mocks base method.

func (*MockAwsClient) SnowballDeviceSoftwareVersion added in v0.12.0

func (m *MockAwsClient) SnowballDeviceSoftwareVersion(ctx context.Context) (string, error)

SnowballDeviceSoftwareVersion mocks base method.

type MockAwsClientMockRecorder added in v0.9.0

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

MockAwsClientMockRecorder is the mock recorder for MockAwsClient.

func (*MockAwsClientMockRecorder) EC2ImageExists added in v0.9.0

func (mr *MockAwsClientMockRecorder) EC2ImageExists(ctx, imageID interface{}) *gomock.Call

EC2ImageExists indicates an expected call of EC2ImageExists.

func (*MockAwsClientMockRecorder) EC2ImportKeyPair added in v0.9.0

func (mr *MockAwsClientMockRecorder) EC2ImportKeyPair(ctx, keyName, keyMaterial interface{}) *gomock.Call

EC2ImportKeyPair indicates an expected call of EC2ImportKeyPair.

func (*MockAwsClientMockRecorder) EC2InstanceTypes added in v0.14.2

func (mr *MockAwsClientMockRecorder) EC2InstanceTypes(ctx interface{}) *gomock.Call

EC2InstanceTypes indicates an expected call of EC2InstanceTypes.

func (*MockAwsClientMockRecorder) EC2KeyNameExists added in v0.9.0

func (mr *MockAwsClientMockRecorder) EC2KeyNameExists(ctx, keyName interface{}) *gomock.Call

EC2KeyNameExists indicates an expected call of EC2KeyNameExists.

func (*MockAwsClientMockRecorder) IsSnowballDeviceUnlocked added in v0.12.0

func (mr *MockAwsClientMockRecorder) IsSnowballDeviceUnlocked(ctx interface{}) *gomock.Call

IsSnowballDeviceUnlocked indicates an expected call of IsSnowballDeviceUnlocked.

func (*MockAwsClientMockRecorder) SnowballDeviceSoftwareVersion added in v0.12.0

func (mr *MockAwsClientMockRecorder) SnowballDeviceSoftwareVersion(ctx interface{}) *gomock.Call

SnowballDeviceSoftwareVersion indicates an expected call of SnowballDeviceSoftwareVersion.

type MockClientRegistry added in v0.11.0

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

MockClientRegistry is a mock of ClientRegistry interface.

func NewMockClientRegistry added in v0.11.0

func NewMockClientRegistry(ctrl *gomock.Controller) *MockClientRegistry

NewMockClientRegistry creates a new mock instance.

func (*MockClientRegistry) EXPECT added in v0.11.0

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

func (*MockClientRegistry) Get added in v0.11.0

Get mocks base method.

type MockClientRegistryMockRecorder added in v0.11.0

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

MockClientRegistryMockRecorder is the mock recorder for MockClientRegistry.

func (*MockClientRegistryMockRecorder) Get added in v0.11.0

func (mr *MockClientRegistryMockRecorder) Get(ctx interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockKubeUnAuthClient added in v0.9.0

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

MockKubeUnAuthClient is a mock of KubeUnAuthClient interface.

func NewMockKubeUnAuthClient added in v0.9.0

func NewMockKubeUnAuthClient(ctrl *gomock.Controller) *MockKubeUnAuthClient

NewMockKubeUnAuthClient creates a new mock instance.

func (*MockKubeUnAuthClient) Apply added in v0.12.0

func (m *MockKubeUnAuthClient) Apply(ctx context.Context, kubeconfig string, obj runtime.Object) error

Apply mocks base method.

func (*MockKubeUnAuthClient) EXPECT added in v0.9.0

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

func (*MockKubeUnAuthClient) KubeconfigClient added in v0.9.0

func (m *MockKubeUnAuthClient) KubeconfigClient(kubeconfig string) kubernetes.Client

KubeconfigClient mocks base method.

type MockKubeUnAuthClientMockRecorder added in v0.9.0

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

MockKubeUnAuthClientMockRecorder is the mock recorder for MockKubeUnAuthClient.

func (*MockKubeUnAuthClientMockRecorder) Apply added in v0.12.0

func (mr *MockKubeUnAuthClientMockRecorder) Apply(ctx, kubeconfig, obj interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockKubeUnAuthClientMockRecorder) KubeconfigClient added in v0.9.0

func (mr *MockKubeUnAuthClientMockRecorder) KubeconfigClient(kubeconfig interface{}) *gomock.Call

KubeconfigClient indicates an expected call of KubeconfigClient.

type MockLocalIMDSClient added in v0.14.2

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

MockLocalIMDSClient is a mock of LocalIMDSClient interface.

func NewMockLocalIMDSClient added in v0.14.2

func NewMockLocalIMDSClient(ctrl *gomock.Controller) *MockLocalIMDSClient

NewMockLocalIMDSClient creates a new mock instance.

func (*MockLocalIMDSClient) EC2InstanceIP added in v0.14.2

func (m *MockLocalIMDSClient) EC2InstanceIP(ctx context.Context) (string, error)

EC2InstanceIP mocks base method.

func (*MockLocalIMDSClient) EXPECT added in v0.14.2

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

type MockLocalIMDSClientMockRecorder added in v0.14.2

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

MockLocalIMDSClientMockRecorder is the mock recorder for MockLocalIMDSClient.

func (*MockLocalIMDSClientMockRecorder) EC2InstanceIP added in v0.14.2

func (mr *MockLocalIMDSClientMockRecorder) EC2InstanceIP(ctx interface{}) *gomock.Call

EC2InstanceIP indicates an expected call of EC2InstanceIP.

type MockSshKeyGenerator added in v0.9.0

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

MockSshKeyGenerator is a mock of SshKeyGenerator interface.

func NewMockSshKeyGenerator added in v0.9.0

func NewMockSshKeyGenerator(ctrl *gomock.Controller) *MockSshKeyGenerator

NewMockSshKeyGenerator creates a new mock instance.

func (*MockSshKeyGenerator) EXPECT added in v0.9.0

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

func (*MockSshKeyGenerator) GenerateSSHAuthKey added in v0.9.0

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

GenerateSSHAuthKey mocks base method.

type MockSshKeyGeneratorMockRecorder added in v0.9.0

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

MockSshKeyGeneratorMockRecorder is the mock recorder for MockSshKeyGenerator.

func (*MockSshKeyGeneratorMockRecorder) GenerateSSHAuthKey added in v0.9.0

func (mr *MockSshKeyGeneratorMockRecorder) 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