mocks

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 6 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 MockEC2

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

MockEC2 is a mock of EC2 interface.

func NewMockEC2

func NewMockEC2(ctrl *gomock.Controller) *MockEC2

NewMockEC2 creates a new mock instance.

func (*MockEC2) AttachVolumeWithContext

func (m *MockEC2) AttachVolumeWithContext(ctx aws.Context, input *ec2.AttachVolumeInput, opts ...request.Option) (*ec2.VolumeAttachment, error)

AttachVolumeWithContext mocks base method.

func (*MockEC2) CreateSnapshotWithContext added in v0.3.0

func (m *MockEC2) CreateSnapshotWithContext(ctx aws.Context, input *ec2.CreateSnapshotInput, opts ...request.Option) (*ec2.Snapshot, error)

CreateSnapshotWithContext mocks base method.

func (*MockEC2) CreateVolumeWithContext

func (m *MockEC2) CreateVolumeWithContext(ctx aws.Context, input *ec2.CreateVolumeInput, opts ...request.Option) (*ec2.Volume, error)

CreateVolumeWithContext mocks base method.

func (*MockEC2) DeleteSnapshotWithContext added in v0.3.0

func (m *MockEC2) DeleteSnapshotWithContext(ctx aws.Context, input *ec2.DeleteSnapshotInput, opts ...request.Option) (*ec2.DeleteSnapshotOutput, error)

DeleteSnapshotWithContext mocks base method.

func (*MockEC2) DeleteVolumeWithContext

func (m *MockEC2) DeleteVolumeWithContext(ctx aws.Context, input *ec2.DeleteVolumeInput, opts ...request.Option) (*ec2.DeleteVolumeOutput, error)

DeleteVolumeWithContext mocks base method.

func (*MockEC2) DescribeAvailabilityZonesWithContext added in v0.5.0

func (m *MockEC2) DescribeAvailabilityZonesWithContext(ctx aws.Context, input *ec2.DescribeAvailabilityZonesInput, opts ...request.Option) (*ec2.DescribeAvailabilityZonesOutput, error)

DescribeAvailabilityZonesWithContext mocks base method.

func (*MockEC2) DescribeInstancesWithContext

func (m *MockEC2) DescribeInstancesWithContext(ctx aws.Context, input *ec2.DescribeInstancesInput, opts ...request.Option) (*ec2.DescribeInstancesOutput, error)

DescribeInstancesWithContext mocks base method.

func (*MockEC2) DescribeSnapshotsWithContext added in v0.3.0

func (m *MockEC2) DescribeSnapshotsWithContext(ctx aws.Context, input *ec2.DescribeSnapshotsInput, opts ...request.Option) (*ec2.DescribeSnapshotsOutput, error)

DescribeSnapshotsWithContext mocks base method.

func (*MockEC2) DescribeVolumesModificationsWithContext added in v0.4.0

func (m *MockEC2) DescribeVolumesModificationsWithContext(ctx aws.Context, input *ec2.DescribeVolumesModificationsInput, opts ...request.Option) (*ec2.DescribeVolumesModificationsOutput, error)

DescribeVolumesModificationsWithContext mocks base method.

func (*MockEC2) DescribeVolumesWithContext

func (m *MockEC2) DescribeVolumesWithContext(ctx aws.Context, input *ec2.DescribeVolumesInput, opts ...request.Option) (*ec2.DescribeVolumesOutput, error)

DescribeVolumesWithContext mocks base method.

func (*MockEC2) DetachVolumeWithContext

func (m *MockEC2) DetachVolumeWithContext(ctx aws.Context, input *ec2.DetachVolumeInput, opts ...request.Option) (*ec2.VolumeAttachment, error)

DetachVolumeWithContext mocks base method.

func (*MockEC2) EXPECT

func (m *MockEC2) EXPECT() *MockEC2MockRecorder

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

func (*MockEC2) ModifyVolumeWithContext added in v0.4.0

func (m *MockEC2) ModifyVolumeWithContext(ctx aws.Context, input *ec2.ModifyVolumeInput, opts ...request.Option) (*ec2.ModifyVolumeOutput, error)

ModifyVolumeWithContext mocks base method.

type MockEC2Metadata

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

MockEC2Metadata is a mock of EC2Metadata interface.

func NewMockEC2Metadata

func NewMockEC2Metadata(ctrl *gomock.Controller) *MockEC2Metadata

NewMockEC2Metadata creates a new mock instance.

func (*MockEC2Metadata) Available

func (m *MockEC2Metadata) Available() bool

Available mocks base method.

func (*MockEC2Metadata) EXPECT

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

func (*MockEC2Metadata) GetInstanceIdentityDocument

func (m *MockEC2Metadata) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)

GetInstanceIdentityDocument mocks base method.

func (*MockEC2Metadata) GetMetadata added in v0.7.0

func (m *MockEC2Metadata) GetMetadata(arg0 string) (string, error)

GetMetadata mocks base method.

type MockEC2MetadataMockRecorder

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

MockEC2MetadataMockRecorder is the mock recorder for MockEC2Metadata.

func (*MockEC2MetadataMockRecorder) Available

func (mr *MockEC2MetadataMockRecorder) Available() *gomock.Call

Available indicates an expected call of Available.

func (*MockEC2MetadataMockRecorder) GetInstanceIdentityDocument

func (mr *MockEC2MetadataMockRecorder) GetInstanceIdentityDocument() *gomock.Call

GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument.

func (*MockEC2MetadataMockRecorder) GetMetadata added in v0.7.0

func (mr *MockEC2MetadataMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call

GetMetadata indicates an expected call of GetMetadata.

type MockEC2MockRecorder

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

MockEC2MockRecorder is the mock recorder for MockEC2.

func (*MockEC2MockRecorder) AttachVolumeWithContext

func (mr *MockEC2MockRecorder) AttachVolumeWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

AttachVolumeWithContext indicates an expected call of AttachVolumeWithContext.

func (*MockEC2MockRecorder) CreateSnapshotWithContext added in v0.4.0

func (mr *MockEC2MockRecorder) CreateSnapshotWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

CreateSnapshotWithContext indicates an expected call of CreateSnapshotWithContext.

func (*MockEC2MockRecorder) CreateVolumeWithContext

func (mr *MockEC2MockRecorder) CreateVolumeWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

CreateVolumeWithContext indicates an expected call of CreateVolumeWithContext.

func (*MockEC2MockRecorder) DeleteSnapshotWithContext added in v0.4.0

func (mr *MockEC2MockRecorder) DeleteSnapshotWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DeleteSnapshotWithContext indicates an expected call of DeleteSnapshotWithContext.

func (*MockEC2MockRecorder) DeleteVolumeWithContext

func (mr *MockEC2MockRecorder) DeleteVolumeWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DeleteVolumeWithContext indicates an expected call of DeleteVolumeWithContext.

func (*MockEC2MockRecorder) DescribeAvailabilityZonesWithContext added in v0.5.0

func (mr *MockEC2MockRecorder) DescribeAvailabilityZonesWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DescribeAvailabilityZonesWithContext indicates an expected call of DescribeAvailabilityZonesWithContext.

func (*MockEC2MockRecorder) DescribeInstancesWithContext

func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DescribeInstancesWithContext indicates an expected call of DescribeInstancesWithContext.

func (*MockEC2MockRecorder) DescribeSnapshotsWithContext added in v0.4.0

func (mr *MockEC2MockRecorder) DescribeSnapshotsWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DescribeSnapshotsWithContext indicates an expected call of DescribeSnapshotsWithContext.

func (*MockEC2MockRecorder) DescribeVolumesModificationsWithContext added in v0.4.0

func (mr *MockEC2MockRecorder) DescribeVolumesModificationsWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DescribeVolumesModificationsWithContext indicates an expected call of DescribeVolumesModificationsWithContext.

func (*MockEC2MockRecorder) DescribeVolumesWithContext

func (mr *MockEC2MockRecorder) DescribeVolumesWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DescribeVolumesWithContext indicates an expected call of DescribeVolumesWithContext.

func (*MockEC2MockRecorder) DetachVolumeWithContext

func (mr *MockEC2MockRecorder) DetachVolumeWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

DetachVolumeWithContext indicates an expected call of DetachVolumeWithContext.

func (*MockEC2MockRecorder) ModifyVolumeWithContext added in v0.4.0

func (mr *MockEC2MockRecorder) ModifyVolumeWithContext(ctx, input interface{}, opts ...interface{}) *gomock.Call

ModifyVolumeWithContext indicates an expected call of ModifyVolumeWithContext.

Jump to

Keyboard shortcuts

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