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 MockFSx
- func (m *MockFSx) CreateFileSystem(arg0 context.Context, arg1 *fsx.CreateFileSystemInput, ...) (*fsx.CreateFileSystemOutput, error)
- func (m *MockFSx) CreateSnapshot(arg0 context.Context, arg1 *fsx.CreateSnapshotInput, ...) (*fsx.CreateSnapshotOutput, error)
- func (m *MockFSx) CreateVolume(arg0 context.Context, arg1 *fsx.CreateVolumeInput, arg2 ...func(*fsx.Options)) (*fsx.CreateVolumeOutput, error)
- func (m *MockFSx) DeleteFileSystem(arg0 context.Context, arg1 *fsx.DeleteFileSystemInput, ...) (*fsx.DeleteFileSystemOutput, error)
- func (m *MockFSx) DeleteSnapshot(arg0 context.Context, arg1 *fsx.DeleteSnapshotInput, ...) (*fsx.DeleteSnapshotOutput, error)
- func (m *MockFSx) DeleteVolume(arg0 context.Context, arg1 *fsx.DeleteVolumeInput, arg2 ...func(*fsx.Options)) (*fsx.DeleteVolumeOutput, error)
- func (m *MockFSx) DescribeFileSystems(arg0 context.Context, arg1 *fsx.DescribeFileSystemsInput, ...) (*fsx.DescribeFileSystemsOutput, error)
- func (m *MockFSx) DescribeSnapshots(arg0 context.Context, arg1 *fsx.DescribeSnapshotsInput, ...) (*fsx.DescribeSnapshotsOutput, error)
- func (m *MockFSx) DescribeVolumes(arg0 context.Context, arg1 *fsx.DescribeVolumesInput, ...) (*fsx.DescribeVolumesOutput, error)
- func (m *MockFSx) EXPECT() *MockFSxMockRecorder
- func (m *MockFSx) ListTagsForResource(arg0 context.Context, arg1 *fsx.ListTagsForResourceInput, ...) (*fsx.ListTagsForResourceOutput, error)
- func (m *MockFSx) UpdateFileSystem(arg0 context.Context, arg1 *fsx.UpdateFileSystemInput, ...) (*fsx.UpdateFileSystemOutput, error)
- type MockFSxMockRecorder
- func (mr *MockFSxMockRecorder) CreateFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) CreateSnapshot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) CreateVolume(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteSnapshot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DeleteVolume(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeFileSystems(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeSnapshots(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) DescribeVolumes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) ListTagsForResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockFSxMockRecorder) UpdateFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockIMDS
- func (m *MockIMDS) EXPECT() *MockIMDSMockRecorder
- func (m *MockIMDS) GetInstanceIdentityDocument(arg0 context.Context, arg1 *imds.GetInstanceIdentityDocumentInput, ...) (*imds.GetInstanceIdentityDocumentOutput, error)
- func (m *MockIMDS) GetMetadata(arg0 context.Context, arg1 *imds.GetMetadataInput, arg2 ...func(*imds.Options)) (*imds.GetMetadataOutput, error)
- type MockIMDSMockRecorder
- type MockMetadataService
- type MockMetadataServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) CreateFileSystem ¶ added in v1.2.0
func (m *MockFSx) CreateFileSystem(arg0 context.Context, arg1 *fsx.CreateFileSystemInput, arg2 ...func(*fsx.Options)) (*fsx.CreateFileSystemOutput, error)
CreateFileSystem mocks base method.
func (*MockFSx) CreateSnapshot ¶ added in v1.2.0
func (m *MockFSx) CreateSnapshot(arg0 context.Context, arg1 *fsx.CreateSnapshotInput, arg2 ...func(*fsx.Options)) (*fsx.CreateSnapshotOutput, error)
CreateSnapshot mocks base method.
func (*MockFSx) CreateVolume ¶ added in v1.2.0
func (m *MockFSx) CreateVolume(arg0 context.Context, arg1 *fsx.CreateVolumeInput, arg2 ...func(*fsx.Options)) (*fsx.CreateVolumeOutput, error)
CreateVolume mocks base method.
func (*MockFSx) DeleteFileSystem ¶ added in v1.2.0
func (m *MockFSx) DeleteFileSystem(arg0 context.Context, arg1 *fsx.DeleteFileSystemInput, arg2 ...func(*fsx.Options)) (*fsx.DeleteFileSystemOutput, error)
DeleteFileSystem mocks base method.
func (*MockFSx) DeleteSnapshot ¶ added in v1.2.0
func (m *MockFSx) DeleteSnapshot(arg0 context.Context, arg1 *fsx.DeleteSnapshotInput, arg2 ...func(*fsx.Options)) (*fsx.DeleteSnapshotOutput, error)
DeleteSnapshot mocks base method.
func (*MockFSx) DeleteVolume ¶ added in v1.2.0
func (m *MockFSx) DeleteVolume(arg0 context.Context, arg1 *fsx.DeleteVolumeInput, arg2 ...func(*fsx.Options)) (*fsx.DeleteVolumeOutput, error)
DeleteVolume mocks base method.
func (*MockFSx) DescribeFileSystems ¶ added in v1.2.0
func (m *MockFSx) DescribeFileSystems(arg0 context.Context, arg1 *fsx.DescribeFileSystemsInput, arg2 ...func(*fsx.Options)) (*fsx.DescribeFileSystemsOutput, error)
DescribeFileSystems mocks base method.
func (*MockFSx) DescribeSnapshots ¶ added in v1.2.0
func (m *MockFSx) DescribeSnapshots(arg0 context.Context, arg1 *fsx.DescribeSnapshotsInput, arg2 ...func(*fsx.Options)) (*fsx.DescribeSnapshotsOutput, error)
DescribeSnapshots mocks base method.
func (*MockFSx) DescribeVolumes ¶ added in v1.2.0
func (m *MockFSx) DescribeVolumes(arg0 context.Context, arg1 *fsx.DescribeVolumesInput, arg2 ...func(*fsx.Options)) (*fsx.DescribeVolumesOutput, error)
DescribeVolumes 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 context.Context, arg1 *fsx.ListTagsForResourceInput, arg2 ...func(*fsx.Options)) (*fsx.ListTagsForResourceOutput, error)
ListTagsForResource mocks base method.
func (*MockFSx) UpdateFileSystem ¶ added in v1.2.0
func (m *MockFSx) UpdateFileSystem(arg0 context.Context, arg1 *fsx.UpdateFileSystemInput, arg2 ...func(*fsx.Options)) (*fsx.UpdateFileSystemOutput, error)
UpdateFileSystem mocks base method.
type MockFSxMockRecorder ¶
type MockFSxMockRecorder struct {
// contains filtered or unexported fields
}
MockFSxMockRecorder is the mock recorder for MockFSx.
func (*MockFSxMockRecorder) CreateFileSystem ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) CreateFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateFileSystem indicates an expected call of CreateFileSystem.
func (*MockFSxMockRecorder) CreateSnapshot ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) CreateSnapshot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateSnapshot indicates an expected call of CreateSnapshot.
func (*MockFSxMockRecorder) CreateVolume ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) CreateVolume(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateVolume indicates an expected call of CreateVolume.
func (*MockFSxMockRecorder) DeleteFileSystem ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DeleteFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteFileSystem indicates an expected call of DeleteFileSystem.
func (*MockFSxMockRecorder) DeleteSnapshot ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DeleteSnapshot(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteSnapshot indicates an expected call of DeleteSnapshot.
func (*MockFSxMockRecorder) DeleteVolume ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DeleteVolume(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteVolume indicates an expected call of DeleteVolume.
func (*MockFSxMockRecorder) DescribeFileSystems ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DescribeFileSystems(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeFileSystems indicates an expected call of DescribeFileSystems.
func (*MockFSxMockRecorder) DescribeSnapshots ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DescribeSnapshots(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeSnapshots indicates an expected call of DescribeSnapshots.
func (*MockFSxMockRecorder) DescribeVolumes ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) DescribeVolumes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeVolumes indicates an expected call of DescribeVolumes.
func (*MockFSxMockRecorder) ListTagsForResource ¶
func (mr *MockFSxMockRecorder) ListTagsForResource(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListTagsForResource indicates an expected call of ListTagsForResource.
func (*MockFSxMockRecorder) UpdateFileSystem ¶ added in v1.2.0
func (mr *MockFSxMockRecorder) UpdateFileSystem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateFileSystem indicates an expected call of UpdateFileSystem.
type MockIMDS ¶ added in v1.2.0
type MockIMDS struct {
// contains filtered or unexported fields
}
MockIMDS is a mock of IMDS interface.
func NewMockIMDS ¶ added in v1.2.0
func NewMockIMDS(ctrl *gomock.Controller) *MockIMDS
NewMockIMDS creates a new mock instance.
func (*MockIMDS) EXPECT ¶ added in v1.2.0
func (m *MockIMDS) EXPECT() *MockIMDSMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIMDS) GetInstanceIdentityDocument ¶ added in v1.2.0
func (m *MockIMDS) GetInstanceIdentityDocument(arg0 context.Context, arg1 *imds.GetInstanceIdentityDocumentInput, arg2 ...func(*imds.Options)) (*imds.GetInstanceIdentityDocumentOutput, error)
GetInstanceIdentityDocument mocks base method.
func (*MockIMDS) GetMetadata ¶ added in v1.2.0
func (m *MockIMDS) GetMetadata(arg0 context.Context, arg1 *imds.GetMetadataInput, arg2 ...func(*imds.Options)) (*imds.GetMetadataOutput, error)
GetMetadata mocks base method.
type MockIMDSMockRecorder ¶ added in v1.2.0
type MockIMDSMockRecorder struct {
// contains filtered or unexported fields
}
MockIMDSMockRecorder is the mock recorder for MockIMDS.
func (*MockIMDSMockRecorder) GetInstanceIdentityDocument ¶ added in v1.2.0
func (mr *MockIMDSMockRecorder) GetInstanceIdentityDocument(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument.
func (*MockIMDSMockRecorder) GetMetadata ¶ added in v1.2.0
func (mr *MockIMDSMockRecorder) GetMetadata(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
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.