Documentation ¶
Index ¶
- type MockEC2
- func (_m *MockEC2) AttachVolumeWithContext(_param0 aws.Context, _param1 *ec2.AttachVolumeInput, _param2 ...request.Option) (*ec2.VolumeAttachment, error)
- func (_m *MockEC2) CreateSnapshotWithContext(arg0 aws.Context, arg1 *ec2.CreateSnapshotInput, arg2 ...request.Option) (*ec2.Snapshot, error)
- func (_m *MockEC2) CreateVolumeWithContext(_param0 aws.Context, _param1 *ec2.CreateVolumeInput, _param2 ...request.Option) (*ec2.Volume, error)
- func (_m *MockEC2) DeleteSnapshotWithContext(arg0 aws.Context, arg1 *ec2.DeleteSnapshotInput, arg2 ...request.Option) (*ec2.DeleteSnapshotOutput, error)
- func (_m *MockEC2) DeleteVolumeWithContext(_param0 aws.Context, _param1 *ec2.DeleteVolumeInput, _param2 ...request.Option) (*ec2.DeleteVolumeOutput, error)
- func (_m *MockEC2) DescribeInstancesWithContext(_param0 aws.Context, _param1 *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockEC2) DescribeSnapshotsWithContext(arg0 aws.Context, arg1 *ec2.DescribeSnapshotsInput, arg2 ...request.Option) (*ec2.DescribeSnapshotsOutput, error)
- func (_m *MockEC2) DescribeVolumesWithContext(_param0 aws.Context, _param1 *ec2.DescribeVolumesInput, ...) (*ec2.DescribeVolumesOutput, error)
- func (_m *MockEC2) DetachVolumeWithContext(_param0 aws.Context, _param1 *ec2.DetachVolumeInput, _param2 ...request.Option) (*ec2.VolumeAttachment, error)
- func (_m *MockEC2) EXPECT() *_MockEC2Recorder
- type MockEC2Metadata
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
}
Mock of EC2 interface
func NewMockEC2 ¶
func NewMockEC2(ctrl *gomock.Controller) *MockEC2
func (*MockEC2) AttachVolumeWithContext ¶
func (_m *MockEC2) AttachVolumeWithContext(_param0 aws.Context, _param1 *ec2.AttachVolumeInput, _param2 ...request.Option) (*ec2.VolumeAttachment, error)
func (*MockEC2) CreateSnapshotWithContext ¶ added in v0.3.0
func (*MockEC2) CreateVolumeWithContext ¶
func (*MockEC2) DeleteSnapshotWithContext ¶ added in v0.3.0
func (_m *MockEC2) DeleteSnapshotWithContext(arg0 aws.Context, arg1 *ec2.DeleteSnapshotInput, arg2 ...request.Option) (*ec2.DeleteSnapshotOutput, error)
func (*MockEC2) DeleteVolumeWithContext ¶
func (_m *MockEC2) DeleteVolumeWithContext(_param0 aws.Context, _param1 *ec2.DeleteVolumeInput, _param2 ...request.Option) (*ec2.DeleteVolumeOutput, error)
func (*MockEC2) DescribeInstancesWithContext ¶
func (_m *MockEC2) DescribeInstancesWithContext(_param0 aws.Context, _param1 *ec2.DescribeInstancesInput, _param2 ...request.Option) (*ec2.DescribeInstancesOutput, error)
func (*MockEC2) DescribeSnapshotsWithContext ¶ added in v0.3.0
func (_m *MockEC2) DescribeSnapshotsWithContext(arg0 aws.Context, arg1 *ec2.DescribeSnapshotsInput, arg2 ...request.Option) (*ec2.DescribeSnapshotsOutput, error)
func (*MockEC2) DescribeVolumesWithContext ¶
func (_m *MockEC2) DescribeVolumesWithContext(_param0 aws.Context, _param1 *ec2.DescribeVolumesInput, _param2 ...request.Option) (*ec2.DescribeVolumesOutput, error)
func (*MockEC2) DetachVolumeWithContext ¶
func (_m *MockEC2) DetachVolumeWithContext(_param0 aws.Context, _param1 *ec2.DetachVolumeInput, _param2 ...request.Option) (*ec2.VolumeAttachment, error)
type MockEC2Metadata ¶
type MockEC2Metadata struct {
// contains filtered or unexported fields
}
Mock of EC2Metadata interface
func NewMockEC2Metadata ¶
func NewMockEC2Metadata(ctrl *gomock.Controller) *MockEC2Metadata
func (*MockEC2Metadata) Available ¶
func (_m *MockEC2Metadata) Available() bool
func (*MockEC2Metadata) EXPECT ¶
func (_m *MockEC2Metadata) EXPECT() *_MockEC2MetadataRecorder
func (*MockEC2Metadata) GetInstanceIdentityDocument ¶
func (_m *MockEC2Metadata) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
Click to show internal directories.
Click to hide internal directories.