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, volumeName string, ...) (*cloud.AccessPoint, error)
- func (m *MockCloud) DeleteAccessPoint(arg0 context.Context, arg1 string) error
- func (m *MockCloud) DescribeAccessPoint(arg0 context.Context, arg1 string) (*cloud.AccessPoint, error)
- func (m *MockCloud) DescribeFileSystem(arg0 context.Context, arg1 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
- type MockCloudMockRecorder
- func (mr *MockCloudMockRecorder) CreateAccessPoint(ctx, volumeName, accessPointOpts interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DeleteAccessPoint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeAccessPoint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeFileSystem(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) DescribeMountTargets(ctx, fileSystemId, az interface{}) *gomock.Call
- func (mr *MockCloudMockRecorder) GetMetadata() *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) List() ([]mount.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) 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) 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) 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, volumeName string, accessPointOpts *cloud.AccessPointOptions) (*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(arg0 context.Context, arg1 string) (*cloud.AccessPoint, error)
DescribeAccessPoint mocks base method
func (*MockCloud) DescribeFileSystem ¶ added in v1.2.0
func (m *MockCloud) DescribeFileSystem(arg0 context.Context, arg1 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
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, volumeName, accessPointOpts interface{}) *gomock.Call
CreateAccessPoint indicates an expected call of CreateAccessPoint
func (*MockCloudMockRecorder) DeleteAccessPoint ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DeleteAccessPoint(arg0, arg1 interface{}) *gomock.Call
DeleteAccessPoint indicates an expected call of DeleteAccessPoint
func (*MockCloudMockRecorder) DescribeAccessPoint ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DescribeAccessPoint(arg0, arg1 interface{}) *gomock.Call
DescribeAccessPoint indicates an expected call of DescribeAccessPoint
func (*MockCloudMockRecorder) DescribeFileSystem ¶ added in v1.2.0
func (mr *MockCloudMockRecorder) DescribeFileSystem(arg0, arg1 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
type MockMounter ¶ added in v0.3.0
type MockMounter struct {
// 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) List ¶ added in v0.3.0
func (m *MockMounter) List() ([]mount.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) Unmount ¶ added in v0.3.0
func (m *MockMounter) Unmount(arg0 string) error
Unmount 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) 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) Unmount ¶ added in v0.3.0
func (mr *MockMounterMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount