Documentation ¶
Overview ¶
Package mock_cloud is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCloud
- func (m *MockCloud) CreateAccessPoint(ctx context.Context, clientToken string, ...) (*cloud.AccessPoint, error)
- func (m *MockCloud) DeleteAccessPoint(ctx context.Context, accessPointId string) error
- func (m *MockCloud) DescribeAccessPoint(ctx context.Context, accessPointId string) (*cloud.AccessPoint, error)
- func (m *MockCloud) DescribeFileSystem(ctx context.Context, fileSystemId string) (*cloud.FileSystem, error)
- func (m *MockCloud) DescribeMountTargets(ctx context.Context, fileSystemId, az string) (*cloud.MountTarget, error)
- func (m *MockCloud) EXPECT() *MockCloudMockRecorder
- func (m *MockCloud) GetMetadata() cloud.MetadataService
- func (m *MockCloud) ListAccessPoints(arg0 context.Context, arg1 string) ([]*cloud.AccessPoint, error)
- type MockCloudMockRecorder
- func (mr *MockCloudMockRecorder) CreateAccessPoint(ctx, clientToken, accessPointOpts, usePvcName interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DeleteAccessPoint(ctx, accessPointId interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeAccessPoint(ctx, accessPointId interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeFileSystem(ctx, fileSystemId interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeMountTargets(ctx, fileSystemId, az interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) GetMetadata() *gomock.Call
- func (mr *MockCloudMockRecorder) ListAccessPoints(arg0, arg1 interface{}) *gomock.Call
- type MockEfs
- func (m *MockEfs) CreateAccessPointWithContext(arg0 aws.Context, arg1 *efs.CreateAccessPointInput, arg2 ...request.Option) (*efs.CreateAccessPointOutput, error)
- func (m *MockEfs) DeleteAccessPointWithContext(arg0 aws.Context, arg1 *efs.DeleteAccessPointInput, arg2 ...request.Option) (*efs.DeleteAccessPointOutput, error)
- func (m *MockEfs) DescribeAccessPointsWithContext(arg0 aws.Context, arg1 *efs.DescribeAccessPointsInput, arg2 ...request.Option) (*efs.DescribeAccessPointsOutput, error)
- func (m *MockEfs) DescribeFileSystemsWithContext(arg0 aws.Context, arg1 *efs.DescribeFileSystemsInput, arg2 ...request.Option) (*efs.DescribeFileSystemsOutput, error)
- func (m *MockEfs) DescribeMountTargetsWithContext(arg0 aws.Context, arg1 *efs.DescribeMountTargetsInput, arg2 ...request.Option) (*efs.DescribeMountTargetsOutput, error)
- func (m *MockEfs) EXPECT() *MockEfsMockRecorder
- type MockEfsMockRecorder
- func (mr *MockEfsMockRecorder) CreateAccessPointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEfsMockRecorder) DeleteAccessPointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEfsMockRecorder) DescribeAccessPointsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEfsMockRecorder) DescribeFileSystemsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEfsMockRecorder) DescribeMountTargetsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockMounter
- func (m *MockMounter) EXPECT() *MockMounterMockRecorder
- func (m *MockMounter) GetDeviceName(arg0 string) (string, int, error)
- func (m *MockMounter) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockMounter) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockMounter) IsMountPoint(arg0 string) (bool, error)
- func (m *MockMounter) List() ([]mount_utils.MountPoint, error)
- func (m *MockMounter) MakeDir(arg0 string) error
- func (m *MockMounter) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockMounter) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockMounter) MountSensitiveWithoutSystemd(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockMounter) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2 string, arg3, arg4, arg5 []string) error
- func (m *MockMounter) Unmount(arg0 string) error
- type MockMounterMockRecorder
- func (mr *MockMounterMockRecorder) GetDeviceName(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) IsMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) List() *gomock.Call
- func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemd(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCloud ¶ added in v1.2.0
type MockCloud struct {
// contains filtered or unexported fields
}
MockCloud is a mock of Cloud interface.
func NewMockCloud ¶ added in v1.2.0
func NewMockCloud(ctrl *gomock.Controller) *MockCloud
NewMockCloud creates a new mock instance.
func (*MockCloud) CreateAccessPoint ¶ added in v1.2.0
func (m *MockCloud) CreateAccessPoint(ctx context.Context, clientToken string, accessPointOpts *cloud.AccessPointOptions, usePvcName bool) (*cloud.AccessPoint, error)
CreateAccessPoint mocks base method.
func (*MockCloud) DeleteAccessPoint ¶ added in v1.2.0
DeleteAccessPoint mocks base method.
func (*MockCloud) DescribeAccessPoint ¶ added in v1.2.0
func (m *MockCloud) DescribeAccessPoint(ctx context.Context, accessPointId string) (*cloud.AccessPoint, error)
DescribeAccessPoint mocks base method.
func (*MockCloud) DescribeFileSystem ¶ added in v1.2.0
func (m *MockCloud) DescribeFileSystem(ctx context.Context, fileSystemId string) (*cloud.FileSystem, error)
DescribeFileSystem mocks base method.
func (*MockCloud) DescribeMountTargets ¶ added in v1.3.0
func (m *MockCloud) DescribeMountTargets(ctx context.Context, fileSystemId, az string) (*cloud.MountTarget, error)
DescribeMountTargets mocks base method.
func (*MockCloud) EXPECT ¶ added in v1.2.0
func (m *MockCloud) EXPECT() *MockCloudMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCloud) GetMetadata ¶ added in v1.2.0
func (m *MockCloud) GetMetadata() cloud.MetadataService
GetMetadata mocks base method.
func (*MockCloud) ListAccessPoints ¶ added in v1.7.0
func (m *MockCloud) ListAccessPoints(arg0 context.Context, arg1 string) ([]*cloud.AccessPoint, error)
ListAccessPoints mocks base method.
type MockCloudMockRecorder ¶ added in v1.2.0
type MockCloudMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudMockRecorder is the mock recorder for MockCloud.
func (*MockCloudMockRecorder) CreateAccessPoint ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) CreateAccessPoint(ctx, clientToken, accessPointOpts, usePvcName interface{}) *gomock.Call
CreateAccessPoint indicates an expected call of CreateAccessPoint.
func (*MockCloudMockRecorder) DeleteAccessPoint ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DeleteAccessPoint(ctx, accessPointId interface{}) *gomock.Call
DeleteAccessPoint indicates an expected call of DeleteAccessPoint.
func (*MockCloudMockRecorder) DescribeAccessPoint ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DescribeAccessPoint(ctx, accessPointId interface{}) *gomock.Call
DescribeAccessPoint indicates an expected call of DescribeAccessPoint.
func (*MockCloudMockRecorder) DescribeFileSystem ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DescribeFileSystem(ctx, fileSystemId interface{}) *gomock.Call
DescribeFileSystem indicates an expected call of DescribeFileSystem.
func (*MockCloudMockRecorder) DescribeMountTargets ¶ added in v1.3.0
func (mr *MockCloudMockRecorder) DescribeMountTargets(ctx, fileSystemId, az interface{}) *gomock.Call
DescribeMountTargets indicates an expected call of DescribeMountTargets.
func (*MockCloudMockRecorder) GetMetadata ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) GetMetadata() *gomock.Call
GetMetadata indicates an expected call of GetMetadata.
func (*MockCloudMockRecorder) ListAccessPoints ¶ added in v1.7.0
func (mr *MockCloudMockRecorder) ListAccessPoints(arg0, arg1 interface{}) *gomock.Call
ListAccessPoints indicates an expected call of ListAccessPoints.
type MockEfs ¶ added in v1.7.0
type MockEfs struct {
// contains filtered or unexported fields
}
MockEfs is a mock of Efs interface.
func NewMockEfs ¶ added in v1.7.0
func NewMockEfs(ctrl *gomock.Controller) *MockEfs
NewMockEfs creates a new mock instance.
func (*MockEfs) CreateAccessPointWithContext ¶ added in v1.7.0
func (m *MockEfs) CreateAccessPointWithContext(arg0 aws.Context, arg1 *efs.CreateAccessPointInput, arg2 ...request.Option) (*efs.CreateAccessPointOutput, error)
CreateAccessPointWithContext mocks base method.
func (*MockEfs) DeleteAccessPointWithContext ¶ added in v1.7.0
func (m *MockEfs) DeleteAccessPointWithContext(arg0 aws.Context, arg1 *efs.DeleteAccessPointInput, arg2 ...request.Option) (*efs.DeleteAccessPointOutput, error)
DeleteAccessPointWithContext mocks base method.
func (*MockEfs) DescribeAccessPointsWithContext ¶ added in v1.7.0
func (m *MockEfs) DescribeAccessPointsWithContext(arg0 aws.Context, arg1 *efs.DescribeAccessPointsInput, arg2 ...request.Option) (*efs.DescribeAccessPointsOutput, error)
DescribeAccessPointsWithContext mocks base method.
func (*MockEfs) DescribeFileSystemsWithContext ¶ added in v1.7.0
func (m *MockEfs) DescribeFileSystemsWithContext(arg0 aws.Context, arg1 *efs.DescribeFileSystemsInput, arg2 ...request.Option) (*efs.DescribeFileSystemsOutput, error)
DescribeFileSystemsWithContext mocks base method.
func (*MockEfs) DescribeMountTargetsWithContext ¶ added in v1.7.0
func (m *MockEfs) DescribeMountTargetsWithContext(arg0 aws.Context, arg1 *efs.DescribeMountTargetsInput, arg2 ...request.Option) (*efs.DescribeMountTargetsOutput, error)
DescribeMountTargetsWithContext mocks base method.
func (*MockEfs) EXPECT ¶ added in v1.7.0
func (m *MockEfs) EXPECT() *MockEfsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockEfsMockRecorder ¶ added in v1.7.0
type MockEfsMockRecorder struct {
// contains filtered or unexported fields
}
MockEfsMockRecorder is the mock recorder for MockEfs.
func (*MockEfsMockRecorder) CreateAccessPointWithContext ¶ added in v1.7.0
func (mr *MockEfsMockRecorder) CreateAccessPointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateAccessPointWithContext indicates an expected call of CreateAccessPointWithContext.
func (*MockEfsMockRecorder) DeleteAccessPointWithContext ¶ added in v1.7.0
func (mr *MockEfsMockRecorder) DeleteAccessPointWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteAccessPointWithContext indicates an expected call of DeleteAccessPointWithContext.
func (*MockEfsMockRecorder) DescribeAccessPointsWithContext ¶ added in v1.7.0
func (mr *MockEfsMockRecorder) DescribeAccessPointsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeAccessPointsWithContext indicates an expected call of DescribeAccessPointsWithContext.
func (*MockEfsMockRecorder) DescribeFileSystemsWithContext ¶ added in v1.7.0
func (mr *MockEfsMockRecorder) DescribeFileSystemsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeFileSystemsWithContext indicates an expected call of DescribeFileSystemsWithContext.
func (*MockEfsMockRecorder) DescribeMountTargetsWithContext ¶ added in v1.7.0
func (mr *MockEfsMockRecorder) DescribeMountTargetsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeMountTargetsWithContext indicates an expected call of DescribeMountTargetsWithContext.
type MockMounter ¶ added in v0.3.0
type MockMounter struct { mount_utils.Interface // contains filtered or unexported fields }
MockMounter is a mock of Mounter interface.
func NewMockMounter ¶ added in v0.3.0
func NewMockMounter(ctrl *gomock.Controller) *MockMounter
NewMockMounter creates a new mock instance.
func (*MockMounter) EXPECT ¶ added in v0.3.0
func (m *MockMounter) EXPECT() *MockMounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMounter) GetDeviceName ¶ added in v0.3.0
func (m *MockMounter) GetDeviceName(arg0 string) (string, int, error)
GetDeviceName mocks base method.
func (*MockMounter) GetMountRefs ¶ added in v0.3.0
func (m *MockMounter) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method.
func (*MockMounter) IsLikelyNotMountPoint ¶ added in v0.3.0
func (m *MockMounter) IsLikelyNotMountPoint(arg0 string) (bool, error)
IsLikelyNotMountPoint mocks base method.
func (*MockMounter) IsMountPoint ¶ added in v1.5.9
func (m *MockMounter) IsMountPoint(arg0 string) (bool, error)
IsMountPoint mocks base method.
func (*MockMounter) List ¶ added in v0.3.0
func (m *MockMounter) List() ([]mount_utils.MountPoint, error)
List mocks base method.
func (*MockMounter) MakeDir ¶ added in v0.3.0
func (m *MockMounter) MakeDir(arg0 string) error
MakeDir mocks base method.
func (*MockMounter) Mount ¶ added in v0.3.0
func (m *MockMounter) Mount(arg0, arg1, arg2 string, arg3 []string) error
Mount mocks base method.
func (*MockMounter) MountSensitive ¶ added in v1.1.0
func (m *MockMounter) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
MountSensitive mocks base method.
func (*MockMounter) MountSensitiveWithoutSystemd ¶ added in v1.3.8
func (m *MockMounter) MountSensitiveWithoutSystemd(arg0, arg1, arg2 string, arg3, arg4 []string) error
MountSensitiveWithoutSystemd mocks base method.
func (*MockMounter) MountSensitiveWithoutSystemdWithMountFlags ¶ added in v1.3.8
func (m *MockMounter) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2 string, arg3, arg4, arg5 []string) error
MountSensitiveWithoutSystemdWithMountFlags mocks base method.
func (*MockMounter) Unmount ¶ added in v0.3.0
func (m *MockMounter) Unmount(arg0 string) error
Unmount_utils mocks base method.
type MockMounterMockRecorder ¶ added in v0.3.0
type MockMounterMockRecorder struct {
// contains filtered or unexported fields
}
MockMounterMockRecorder is the mock recorder for MockMounter.
func (*MockMounterMockRecorder) GetDeviceName ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) GetDeviceName(arg0 interface{}) *gomock.Call
GetDeviceName indicates an expected call of GetDeviceName.
func (*MockMounterMockRecorder) GetMountRefs ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
GetMountRefs indicates an expected call of GetMountRefs.
func (*MockMounterMockRecorder) IsLikelyNotMountPoint ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.
func (*MockMounterMockRecorder) IsMountPoint ¶ added in v1.5.9
func (mr *MockMounterMockRecorder) IsMountPoint(arg0 interface{}) *gomock.Call
IsMountPoint indicates an expected call of IsMountPoint.
func (*MockMounterMockRecorder) List ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockMounterMockRecorder) MakeDir ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) MakeDir(arg0 interface{}) *gomock.Call
MakeDir indicates an expected call of MakeDir.
func (*MockMounterMockRecorder) Mount ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mount indicates an expected call of Mount.
func (*MockMounterMockRecorder) MountSensitive ¶ added in v1.1.0
func (mr *MockMounterMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MountSensitive indicates an expected call of MountSensitive.
func (*MockMounterMockRecorder) MountSensitiveWithoutSystemd ¶ added in v1.3.8
func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemd(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MountSensitiveWithoutSystemd indicates an expected call of MountSensitiveWithoutSystemd.
func (*MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags ¶ added in v1.3.8
func (mr *MockMounterMockRecorder) MountSensitiveWithoutSystemdWithMountFlags(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
MountSensitiveWithoutSystemdWithMountFlags indicates an expected call of MountSensitiveWithoutSystemdWithMountFlags.
func (*MockMounterMockRecorder) Unmount ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount_utils indicates an expected call of Unmount_utils.