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 MockEC2Metadata
- type MockEC2MetadataMockRecorder
- type MockFSx
- func (m *MockFSx) CreateFileSystemWithContext(arg0 context.Context, arg1 *fsx.CreateFileSystemInput, arg2 ...request.Option) (*fsx.CreateFileSystemOutput, error)
- func (m *MockFSx) CreateSnapshotWithContext(arg0 context.Context, arg1 *fsx.CreateSnapshotInput, arg2 ...request.Option) (*fsx.CreateSnapshotOutput, error)
- func (m *MockFSx) CreateVolumeWithContext(arg0 context.Context, arg1 *fsx.CreateVolumeInput, arg2 ...request.Option) (*fsx.CreateVolumeOutput, error)
- func (m *MockFSx) DeleteFileSystemWithContext(arg0 context.Context, arg1 *fsx.DeleteFileSystemInput, arg2 ...request.Option) (*fsx.DeleteFileSystemOutput, error)
- func (m *MockFSx) DeleteSnapshotWithContext(arg0 context.Context, arg1 *fsx.DeleteSnapshotInput, arg2 ...request.Option) (*fsx.DeleteSnapshotOutput, error)
- func (m *MockFSx) DeleteVolumeWithContext(arg0 context.Context, arg1 *fsx.DeleteVolumeInput, arg2 ...request.Option) (*fsx.DeleteVolumeOutput, error)
- func (m *MockFSx) DescribeFileSystemsWithContext(arg0 context.Context, arg1 *fsx.DescribeFileSystemsInput, ...) (*fsx.DescribeFileSystemsOutput, error)
- func (m *MockFSx) DescribeSnapshotsWithContext(arg0 context.Context, arg1 *fsx.DescribeSnapshotsInput, arg2 ...request.Option) (*fsx.DescribeSnapshotsOutput, error)
- func (m *MockFSx) DescribeVolumesWithContext(arg0 context.Context, arg1 *fsx.DescribeVolumesInput, arg2 ...request.Option) (*fsx.DescribeVolumesOutput, error)
- func (m *MockFSx) EXPECT() *MockFSxMockRecorder
- func (m *MockFSx) ListTagsForResource(arg0 *fsx.ListTagsForResourceInput) (*fsx.ListTagsForResourceOutput, error)
- func (m *MockFSx) UpdateFileSystemWithContext(arg0 context.Context, arg1 *fsx.UpdateFileSystemInput, arg2 ...request.Option) (*fsx.UpdateFileSystemOutput, error)
- type MockFSxMockRecorder
- func (mr *MockFSxMockRecorder) CreateFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) CreateSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) CreateVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeFileSystemsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeSnapshotsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeVolumesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) UpdateFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockMetadataService
- type MockMetadataServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
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 ¶
func (mr *MockEC2MetadataMockRecorder) GetMetadata(arg0 interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
type MockFSx ¶
type MockFSx struct {
// contains filtered or unexported fields
}
MockFSx is a mock of FSx interface.
func NewMockFSx ¶
func NewMockFSx(ctrl *gomock.Controller) *MockFSx
NewMockFSx creates a new mock instance.
func (*MockFSx) CreateFileSystemWithContext ¶
func (m *MockFSx) CreateFileSystemWithContext(arg0 context.Context, arg1 *fsx.CreateFileSystemInput, arg2 ...request.Option) (*fsx.CreateFileSystemOutput, error)
CreateFileSystemWithContext mocks base method.
func (*MockFSx) CreateSnapshotWithContext ¶
func (m *MockFSx) CreateSnapshotWithContext(arg0 context.Context, arg1 *fsx.CreateSnapshotInput, arg2 ...request.Option) (*fsx.CreateSnapshotOutput, error)
CreateSnapshotWithContext mocks base method.
func (*MockFSx) CreateVolumeWithContext ¶
func (m *MockFSx) CreateVolumeWithContext(arg0 context.Context, arg1 *fsx.CreateVolumeInput, arg2 ...request.Option) (*fsx.CreateVolumeOutput, error)
CreateVolumeWithContext mocks base method.
func (*MockFSx) DeleteFileSystemWithContext ¶
func (m *MockFSx) DeleteFileSystemWithContext(arg0 context.Context, arg1 *fsx.DeleteFileSystemInput, arg2 ...request.Option) (*fsx.DeleteFileSystemOutput, error)
DeleteFileSystemWithContext mocks base method.
func (*MockFSx) DeleteSnapshotWithContext ¶
func (m *MockFSx) DeleteSnapshotWithContext(arg0 context.Context, arg1 *fsx.DeleteSnapshotInput, arg2 ...request.Option) (*fsx.DeleteSnapshotOutput, error)
DeleteSnapshotWithContext mocks base method.
func (*MockFSx) DeleteVolumeWithContext ¶
func (m *MockFSx) DeleteVolumeWithContext(arg0 context.Context, arg1 *fsx.DeleteVolumeInput, arg2 ...request.Option) (*fsx.DeleteVolumeOutput, error)
DeleteVolumeWithContext mocks base method.
func (*MockFSx) DescribeFileSystemsWithContext ¶
func (m *MockFSx) DescribeFileSystemsWithContext(arg0 context.Context, arg1 *fsx.DescribeFileSystemsInput, arg2 ...request.Option) (*fsx.DescribeFileSystemsOutput, error)
DescribeFileSystemsWithContext mocks base method.
func (*MockFSx) DescribeSnapshotsWithContext ¶
func (m *MockFSx) DescribeSnapshotsWithContext(arg0 context.Context, arg1 *fsx.DescribeSnapshotsInput, arg2 ...request.Option) (*fsx.DescribeSnapshotsOutput, error)
DescribeSnapshotsWithContext mocks base method.
func (*MockFSx) DescribeVolumesWithContext ¶
func (m *MockFSx) DescribeVolumesWithContext(arg0 context.Context, arg1 *fsx.DescribeVolumesInput, arg2 ...request.Option) (*fsx.DescribeVolumesOutput, error)
DescribeVolumesWithContext mocks base method.
func (*MockFSx) EXPECT ¶
func (m *MockFSx) EXPECT() *MockFSxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFSx) ListTagsForResource ¶
func (m *MockFSx) ListTagsForResource(arg0 *fsx.ListTagsForResourceInput) (*fsx.ListTagsForResourceOutput, error)
ListTagsForResource mocks base method.
func (*MockFSx) UpdateFileSystemWithContext ¶
func (m *MockFSx) UpdateFileSystemWithContext(arg0 context.Context, arg1 *fsx.UpdateFileSystemInput, arg2 ...request.Option) (*fsx.UpdateFileSystemOutput, error)
UpdateFileSystemWithContext mocks base method.
type MockFSxMockRecorder ¶
type MockFSxMockRecorder struct {
// contains filtered or unexported fields
}
MockFSxMockRecorder is the mock recorder for MockFSx.
func (*MockFSxMockRecorder) CreateFileSystemWithContext ¶
func (mr *MockFSxMockRecorder) CreateFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateFileSystemWithContext indicates an expected call of CreateFileSystemWithContext.
func (*MockFSxMockRecorder) CreateSnapshotWithContext ¶
func (mr *MockFSxMockRecorder) CreateSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateSnapshotWithContext indicates an expected call of CreateSnapshotWithContext.
func (*MockFSxMockRecorder) CreateVolumeWithContext ¶
func (mr *MockFSxMockRecorder) CreateVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateVolumeWithContext indicates an expected call of CreateVolumeWithContext.
func (*MockFSxMockRecorder) DeleteFileSystemWithContext ¶
func (mr *MockFSxMockRecorder) DeleteFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteFileSystemWithContext indicates an expected call of DeleteFileSystemWithContext.
func (*MockFSxMockRecorder) DeleteSnapshotWithContext ¶
func (mr *MockFSxMockRecorder) DeleteSnapshotWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteSnapshotWithContext indicates an expected call of DeleteSnapshotWithContext.
func (*MockFSxMockRecorder) DeleteVolumeWithContext ¶
func (mr *MockFSxMockRecorder) DeleteVolumeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteVolumeWithContext indicates an expected call of DeleteVolumeWithContext.
func (*MockFSxMockRecorder) DescribeFileSystemsWithContext ¶
func (mr *MockFSxMockRecorder) DescribeFileSystemsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeFileSystemsWithContext indicates an expected call of DescribeFileSystemsWithContext.
func (*MockFSxMockRecorder) DescribeSnapshotsWithContext ¶
func (mr *MockFSxMockRecorder) DescribeSnapshotsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeSnapshotsWithContext indicates an expected call of DescribeSnapshotsWithContext.
func (*MockFSxMockRecorder) DescribeVolumesWithContext ¶
func (mr *MockFSxMockRecorder) DescribeVolumesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeVolumesWithContext indicates an expected call of DescribeVolumesWithContext.
func (*MockFSxMockRecorder) ListTagsForResource ¶
func (mr *MockFSxMockRecorder) ListTagsForResource(arg0 interface{}) *gomock.Call
ListTagsForResource indicates an expected call of ListTagsForResource.
func (*MockFSxMockRecorder) UpdateFileSystemWithContext ¶
func (mr *MockFSxMockRecorder) UpdateFileSystemWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateFileSystemWithContext indicates an expected call of UpdateFileSystemWithContext.
type MockMetadataService ¶
type MockMetadataService struct {
// contains filtered or unexported fields
}
MockMetadataService is a mock of MetadataService interface.
func NewMockMetadataService ¶
func NewMockMetadataService(ctrl *gomock.Controller) *MockMetadataService
NewMockMetadataService creates a new mock instance.
func (*MockMetadataService) EXPECT ¶
func (m *MockMetadataService) EXPECT() *MockMetadataServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetadataService) GetAvailabilityZone ¶
func (m *MockMetadataService) GetAvailabilityZone() string
GetAvailabilityZone mocks base method.
func (*MockMetadataService) GetInstanceID ¶
func (m *MockMetadataService) GetInstanceID() string
GetInstanceID mocks base method.
func (*MockMetadataService) GetInstanceType ¶
func (m *MockMetadataService) GetInstanceType() string
GetInstanceType mocks base method.
func (*MockMetadataService) GetRegion ¶
func (m *MockMetadataService) GetRegion() string
GetRegion mocks base method.
type MockMetadataServiceMockRecorder ¶
type MockMetadataServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMetadataServiceMockRecorder is the mock recorder for MockMetadataService.
func (*MockMetadataServiceMockRecorder) GetAvailabilityZone ¶
func (mr *MockMetadataServiceMockRecorder) GetAvailabilityZone() *gomock.Call
GetAvailabilityZone indicates an expected call of GetAvailabilityZone.
func (*MockMetadataServiceMockRecorder) GetInstanceID ¶
func (mr *MockMetadataServiceMockRecorder) GetInstanceID() *gomock.Call
GetInstanceID indicates an expected call of GetInstanceID.
func (*MockMetadataServiceMockRecorder) GetInstanceType ¶
func (mr *MockMetadataServiceMockRecorder) GetInstanceType() *gomock.Call
GetInstanceType indicates an expected call of GetInstanceType.
func (*MockMetadataServiceMockRecorder) GetRegion ¶
func (mr *MockMetadataServiceMockRecorder) GetRegion() *gomock.Call
GetRegion indicates an expected call of GetRegion.