Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEC2Client
- func (m *MockEC2Client) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, ...) (*ec2.DescribeImagesOutput, error)
- func (m *MockEC2Client) DescribeInstanceTypes(ctx context.Context, params *ec2.DescribeInstanceTypesInput, ...) (*ec2.DescribeInstanceTypesOutput, error)
- func (m *MockEC2Client) DescribeKeyPairs(ctx context.Context, params *ec2.DescribeKeyPairsInput, ...) (*ec2.DescribeKeyPairsOutput, error)
- func (m *MockEC2Client) EXPECT() *MockEC2ClientMockRecorder
- func (m *MockEC2Client) ImportKeyPair(ctx context.Context, params *ec2.ImportKeyPairInput, ...) (*ec2.ImportKeyPairOutput, error)
- type MockEC2ClientMockRecorder
- func (mr *MockEC2ClientMockRecorder) DescribeImages(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeInstanceTypes(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) DescribeKeyPairs(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- func (mr *MockEC2ClientMockRecorder) ImportKeyPair(ctx, params interface{}, optFns ...interface{}) *gomock.Call
- type MockIMDSClient
- type MockIMDSClientMockRecorder
- type MockSnowballDeviceClient
- func (m *MockSnowballDeviceClient) DescribeDevice(ctx context.Context, params *snowballdevice.DescribeDeviceInput, ...) (*snowballdevice.DescribeDeviceOutput, error)
- func (m *MockSnowballDeviceClient) DescribeDeviceSoftware(ctx context.Context, params *snowballdevice.DescribeDeviceSoftwareInput, ...) (*snowballdevice.DescribeDeviceSoftwareOutput, error)
- func (m *MockSnowballDeviceClient) EXPECT() *MockSnowballDeviceClientMockRecorder
- type MockSnowballDeviceClientMockRecorder
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 ¶
func (m *MockEC2Client) EXPECT() *MockEC2ClientMockRecorder
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
func (m *MockIMDSClient) EXPECT() *MockIMDSClientMockRecorder
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
func (m *MockSnowballDeviceClient) DescribeDevice(ctx context.Context, params *snowballdevice.DescribeDeviceInput, optFns ...func(*snowballdevice.Options)) (*snowballdevice.DescribeDeviceOutput, error)
DescribeDevice mocks base method.
func (*MockSnowballDeviceClient) DescribeDeviceSoftware ¶ added in v0.12.0
func (m *MockSnowballDeviceClient) DescribeDeviceSoftware(ctx context.Context, params *snowballdevice.DescribeDeviceSoftwareInput, optFns ...func(*snowballdevice.Options)) (*snowballdevice.DescribeDeviceSoftwareOutput, error)
DescribeDeviceSoftware mocks base method.
func (*MockSnowballDeviceClient) EXPECT ¶ added in v0.12.0
func (m *MockSnowballDeviceClient) EXPECT() *MockSnowballDeviceClientMockRecorder
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.