Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEC2
- func (m *MockEC2) AttachVolumeWithContext(arg0 context.Context, arg1 *ec2.AttachVolumeInput, arg2 ...request.Option) (*ec2.VolumeAttachment, error)
- func (m *MockEC2) CreateSnapshotWithContext(arg0 context.Context, arg1 *ec2.CreateSnapshotInput, arg2 ...request.Option) (*ec2.Snapshot, error)
- func (m *MockEC2) CreateVolumeWithContext(arg0 context.Context, arg1 *ec2.CreateVolumeInput, arg2 ...request.Option) (*ec2.Volume, error)
- func (m *MockEC2) DeleteSnapshotWithContext(arg0 context.Context, arg1 *ec2.DeleteSnapshotInput, arg2 ...request.Option) (*ec2.DeleteSnapshotOutput, error)
- func (m *MockEC2) DeleteVolumeWithContext(arg0 context.Context, arg1 *ec2.DeleteVolumeInput, arg2 ...request.Option) (*ec2.DeleteVolumeOutput, error)
- func (m *MockEC2) DescribeAvailabilityZonesWithContext(arg0 context.Context, arg1 *ec2.DescribeAvailabilityZonesInput, ...) (*ec2.DescribeAvailabilityZonesOutput, error)
- func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...request.Option) (*ec2.DescribeInstancesOutput, error)
- func (m *MockEC2) DescribeSnapshotsWithContext(arg0 context.Context, arg1 *ec2.DescribeSnapshotsInput, arg2 ...request.Option) (*ec2.DescribeSnapshotsOutput, error)
- func (m *MockEC2) DescribeVolumesModificationsWithContext(arg0 context.Context, arg1 *ec2.DescribeVolumesModificationsInput, ...) (*ec2.DescribeVolumesModificationsOutput, error)
- func (m *MockEC2) DescribeVolumesWithContext(arg0 context.Context, arg1 *ec2.DescribeVolumesInput, arg2 ...request.Option) (*ec2.DescribeVolumesOutput, error)
- func (m *MockEC2) DetachVolumeWithContext(arg0 context.Context, arg1 *ec2.DetachVolumeInput, arg2 ...request.Option) (*ec2.VolumeAttachment, error)
- func (m *MockEC2) EXPECT() *MockEC2MockRecorder
- func (m *MockEC2) ModifyVolumeWithContext(arg0 context.Context, arg1 *ec2.ModifyVolumeInput, arg2 ...request.Option) (*ec2.ModifyVolumeOutput, error)
- type MockEC2Metadata
- type MockEC2MetadataMockRecorder
- type MockEC2MockRecorder
- func (mr *MockEC2MockRecorder) AttachVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DeleteSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DeleteVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeAvailabilityZonesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeSnapshotsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeVolumesModificationsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeVolumesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DetachVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) ModifyVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
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(arg0 context.Context, arg1 *ec2.AttachVolumeInput, arg2 ...request.Option) (*ec2.VolumeAttachment, error)
AttachVolumeWithContext mocks base method
func (*MockEC2) CreateSnapshotWithContext ¶ added in v0.3.0
func (m *MockEC2) CreateSnapshotWithContext(arg0 context.Context, arg1 *ec2.CreateSnapshotInput, arg2 ...request.Option) (*ec2.Snapshot, error)
CreateSnapshotWithContext mocks base method
func (*MockEC2) CreateVolumeWithContext ¶
func (m *MockEC2) CreateVolumeWithContext(arg0 context.Context, arg1 *ec2.CreateVolumeInput, arg2 ...request.Option) (*ec2.Volume, error)
CreateVolumeWithContext mocks base method
func (*MockEC2) DeleteSnapshotWithContext ¶ added in v0.3.0
func (m *MockEC2) DeleteSnapshotWithContext(arg0 context.Context, arg1 *ec2.DeleteSnapshotInput, arg2 ...request.Option) (*ec2.DeleteSnapshotOutput, error)
DeleteSnapshotWithContext mocks base method
func (*MockEC2) DeleteVolumeWithContext ¶
func (m *MockEC2) DeleteVolumeWithContext(arg0 context.Context, arg1 *ec2.DeleteVolumeInput, arg2 ...request.Option) (*ec2.DeleteVolumeOutput, error)
DeleteVolumeWithContext mocks base method
func (*MockEC2) DescribeAvailabilityZonesWithContext ¶ added in v0.5.0
func (m *MockEC2) DescribeAvailabilityZonesWithContext(arg0 context.Context, arg1 *ec2.DescribeAvailabilityZonesInput, arg2 ...request.Option) (*ec2.DescribeAvailabilityZonesOutput, error)
DescribeAvailabilityZonesWithContext mocks base method
func (*MockEC2) DescribeInstancesWithContext ¶
func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...request.Option) (*ec2.DescribeInstancesOutput, error)
DescribeInstancesWithContext mocks base method
func (*MockEC2) DescribeSnapshotsWithContext ¶ added in v0.3.0
func (m *MockEC2) DescribeSnapshotsWithContext(arg0 context.Context, arg1 *ec2.DescribeSnapshotsInput, arg2 ...request.Option) (*ec2.DescribeSnapshotsOutput, error)
DescribeSnapshotsWithContext mocks base method
func (*MockEC2) DescribeVolumesModificationsWithContext ¶ added in v0.4.0
func (m *MockEC2) DescribeVolumesModificationsWithContext(arg0 context.Context, arg1 *ec2.DescribeVolumesModificationsInput, arg2 ...request.Option) (*ec2.DescribeVolumesModificationsOutput, error)
DescribeVolumesModificationsWithContext mocks base method
func (*MockEC2) DescribeVolumesWithContext ¶
func (m *MockEC2) DescribeVolumesWithContext(arg0 context.Context, arg1 *ec2.DescribeVolumesInput, arg2 ...request.Option) (*ec2.DescribeVolumesOutput, error)
DescribeVolumesWithContext mocks base method
func (*MockEC2) DetachVolumeWithContext ¶
func (m *MockEC2) DetachVolumeWithContext(arg0 context.Context, arg1 *ec2.DetachVolumeInput, arg2 ...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(arg0 context.Context, arg1 *ec2.ModifyVolumeInput, arg2 ...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 ¶
func (m *MockEC2Metadata) EXPECT() *MockEC2MetadataMockRecorder
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(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AttachVolumeWithContext indicates an expected call of AttachVolumeWithContext
func (*MockEC2MockRecorder) CreateSnapshotWithContext ¶ added in v0.4.0
func (mr *MockEC2MockRecorder) CreateSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateSnapshotWithContext indicates an expected call of CreateSnapshotWithContext
func (*MockEC2MockRecorder) CreateVolumeWithContext ¶
func (mr *MockEC2MockRecorder) CreateVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateVolumeWithContext indicates an expected call of CreateVolumeWithContext
func (*MockEC2MockRecorder) DeleteSnapshotWithContext ¶ added in v0.4.0
func (mr *MockEC2MockRecorder) DeleteSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteSnapshotWithContext indicates an expected call of DeleteSnapshotWithContext
func (*MockEC2MockRecorder) DeleteVolumeWithContext ¶
func (mr *MockEC2MockRecorder) DeleteVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteVolumeWithContext indicates an expected call of DeleteVolumeWithContext
func (*MockEC2MockRecorder) DescribeAvailabilityZonesWithContext ¶ added in v0.5.0
func (mr *MockEC2MockRecorder) DescribeAvailabilityZonesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeAvailabilityZonesWithContext indicates an expected call of DescribeAvailabilityZonesWithContext
func (*MockEC2MockRecorder) DescribeInstancesWithContext ¶
func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeInstancesWithContext indicates an expected call of DescribeInstancesWithContext
func (*MockEC2MockRecorder) DescribeSnapshotsWithContext ¶ added in v0.4.0
func (mr *MockEC2MockRecorder) DescribeSnapshotsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeSnapshotsWithContext indicates an expected call of DescribeSnapshotsWithContext
func (*MockEC2MockRecorder) DescribeVolumesModificationsWithContext ¶ added in v0.4.0
func (mr *MockEC2MockRecorder) DescribeVolumesModificationsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeVolumesModificationsWithContext indicates an expected call of DescribeVolumesModificationsWithContext
func (*MockEC2MockRecorder) DescribeVolumesWithContext ¶
func (mr *MockEC2MockRecorder) DescribeVolumesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeVolumesWithContext indicates an expected call of DescribeVolumesWithContext
func (*MockEC2MockRecorder) DetachVolumeWithContext ¶
func (mr *MockEC2MockRecorder) DetachVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DetachVolumeWithContext indicates an expected call of DetachVolumeWithContext
func (*MockEC2MockRecorder) ModifyVolumeWithContext ¶ added in v0.4.0
func (mr *MockEC2MockRecorder) ModifyVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ModifyVolumeWithContext indicates an expected call of ModifyVolumeWithContext