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: 6 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.

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

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

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

EC2KeyNameExists indicates an expected call of EC2KeyNameExists.

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

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

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

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

Delete indicates an expected call of Delete.

func (*MockKubeUnAuthClientMockRecorder) KubeconfigClient added in v0.9.0

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

KubeconfigClient indicates an expected call of KubeconfigClient.

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