mocks

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 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 MockEC2Client

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

MockEC2Client is a mock of EC2Client interface.

func NewMockEC2Client

func NewMockEC2Client(ctrl *gomock.Controller) *MockEC2Client

NewMockEC2Client creates a new mock instance.

func (*MockEC2Client) DescribeImages

func (m *MockEC2Client) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)

DescribeImages mocks base method.

func (*MockEC2Client) DescribeInstanceTypes added in v0.14.2

func (m *MockEC2Client) DescribeInstanceTypes(ctx context.Context, params *ec2.DescribeInstanceTypesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstanceTypesOutput, error)

DescribeInstanceTypes mocks base method.

func (*MockEC2Client) DescribeKeyPairs

func (m *MockEC2Client) DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPairsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeKeyPairsOutput, error)

DescribeKeyPairs mocks base method.

func (*MockEC2Client) EXPECT

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

func (*MockEC2Client) ImportKeyPair

func (m *MockEC2Client) ImportKeyPair(ctx context.Context, params *ec2.ImportKeyPairInput, optFns ...func(*ec2.Options)) (*ec2.ImportKeyPairOutput, error)

ImportKeyPair mocks base method.

type MockEC2ClientMockRecorder

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

MockEC2ClientMockRecorder is the mock recorder for MockEC2Client.

func (*MockEC2ClientMockRecorder) DescribeImages

func (mr *MockEC2ClientMockRecorder) DescribeImages(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeImages indicates an expected call of DescribeImages.

func (*MockEC2ClientMockRecorder) DescribeInstanceTypes added in v0.14.2

func (mr *MockEC2ClientMockRecorder) DescribeInstanceTypes(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeInstanceTypes indicates an expected call of DescribeInstanceTypes.

func (*MockEC2ClientMockRecorder) DescribeKeyPairs

func (mr *MockEC2ClientMockRecorder) DescribeKeyPairs(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeKeyPairs indicates an expected call of DescribeKeyPairs.

func (*MockEC2ClientMockRecorder) ImportKeyPair

func (mr *MockEC2ClientMockRecorder) ImportKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call

ImportKeyPair indicates an expected call of ImportKeyPair.

type MockIMDSClient added in v0.14.2

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

MockIMDSClient is a mock of IMDSClient interface.

func NewMockIMDSClient added in v0.14.2

func NewMockIMDSClient(ctrl *gomock.Controller) *MockIMDSClient

NewMockIMDSClient creates a new mock instance.

func (*MockIMDSClient) EXPECT added in v0.14.2

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

func (*MockIMDSClient) GetMetadata added in v0.14.2

func (m *MockIMDSClient) GetMetadata(ctx context.Context, params *imds.GetMetadataInput, optFns ...func(*imds.Options)) (*imds.GetMetadataOutput, error)

GetMetadata mocks base method.

type MockIMDSClientMockRecorder added in v0.14.2

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

MockIMDSClientMockRecorder is the mock recorder for MockIMDSClient.

func (*MockIMDSClientMockRecorder) GetMetadata added in v0.14.2

func (mr *MockIMDSClientMockRecorder) GetMetadata(ctx, params interface{}, optFns ...interface{}) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

type MockSnowballDeviceClient added in v0.12.0

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

MockSnowballDeviceClient is a mock of SnowballDeviceClient interface.

func NewMockSnowballDeviceClient added in v0.12.0

func NewMockSnowballDeviceClient(ctrl *gomock.Controller) *MockSnowballDeviceClient

NewMockSnowballDeviceClient creates a new mock instance.

func (*MockSnowballDeviceClient) DescribeDevice added in v0.12.0

DescribeDevice mocks base method.

func (*MockSnowballDeviceClient) DescribeDeviceSoftware added in v0.12.0

DescribeDeviceSoftware mocks base method.

func (*MockSnowballDeviceClient) EXPECT added in v0.12.0

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

type MockSnowballDeviceClientMockRecorder added in v0.12.0

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

MockSnowballDeviceClientMockRecorder is the mock recorder for MockSnowballDeviceClient.

func (*MockSnowballDeviceClientMockRecorder) DescribeDevice added in v0.12.0

func (mr *MockSnowballDeviceClientMockRecorder) DescribeDevice(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeDevice indicates an expected call of DescribeDevice.

func (*MockSnowballDeviceClientMockRecorder) DescribeDeviceSoftware added in v0.12.0

func (mr *MockSnowballDeviceClientMockRecorder) DescribeDeviceSoftware(ctx, params interface{}, optFns ...interface{}) *gomock.Call

DescribeDeviceSoftware indicates an expected call of DescribeDeviceSoftware.

Jump to

Keyboard shortcuts

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