Documentation ¶
Overview ¶
Package interfaces is a generated GoMock package.
Package interfaces is a generated GoMock package.
Index ¶
- type MockNasClientFactory
- type MockNasClientV2Interface
- func (n *MockNasClientV2Interface) CancelDirQuota(req *sdk.CancelDirQuotaRequest) error
- func (n *MockNasClientV2Interface) CreateAccesspoint(req *sdk.CreateAccessPointRequest) (*sdk.CreateAccessPointResponse, error)
- func (n *MockNasClientV2Interface) CreateDir(req *sdk.CreateDirRequest) error
- func (n *MockNasClientV2Interface) DeleteAccesspoint(filesystemId, accessPointId string) error
- func (n *MockNasClientV2Interface) DescribeAccesspoint(filesystemId, accessPointId string) (*sdk.DescribeAccessPointResponse, error)
- func (n *MockNasClientV2Interface) GetRecycleBinAttribute(filesystemId string) (*sdk.GetRecycleBinAttributeResponse, error)
- func (n *MockNasClientV2Interface) SetDirQuota(req *sdk.SetDirQuotaRequest) error
- type MockNasV1Interface
- func (m *MockNasV1Interface) CreateFileSystem(request *nas.CreateFileSystemRequest) (*nas.CreateFileSystemResponse, error)
- func (m *MockNasV1Interface) CreateMountTarget(request *nas.CreateMountTargetRequest) (*nas.CreateMountTargetResponse, error)
- func (m *MockNasV1Interface) DeleteFileSystem(request *nas.DeleteFileSystemRequest) (*nas.DeleteFileSystemResponse, error)
- func (m *MockNasV1Interface) DeleteMountTarget(request *nas.DeleteMountTargetRequest) (*nas.DeleteMountTargetResponse, error)
- func (m *MockNasV1Interface) DescribeFileSystems(request *nas.DescribeFileSystemsRequest) (*nas.DescribeFileSystemsResponse, error)
- func (m *MockNasV1Interface) DescribeMountTargets(request *nas.DescribeMountTargetsRequest) (*nas.DescribeMountTargetsResponse, error)
- func (m *MockNasV1Interface) EXPECT() *MockNasV1InterfaceMockRecorder
- func (m *MockNasV1Interface) TagResources(request *nas.TagResourcesRequest) (*nas.TagResourcesResponse, error)
- type MockNasV1InterfaceMockRecorder
- func (mr *MockNasV1InterfaceMockRecorder) CreateFileSystem(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) CreateMountTarget(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) DeleteFileSystem(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) DeleteMountTarget(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) DescribeFileSystems(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) DescribeMountTargets(request interface{}) *gomock.Call
- func (mr *MockNasV1InterfaceMockRecorder) TagResources(request interface{}) *gomock.Call
- type MockNasV2Interface
- func (m *MockNasV2Interface) CancelDirQuota(request *client.CancelDirQuotaRequest) (*client.CancelDirQuotaResponse, error)
- func (m *MockNasV2Interface) CreateAccessPoint(request *client.CreateAccessPointRequest) (*client.CreateAccessPointResponse, error)
- func (m *MockNasV2Interface) CreateDir(request *client.CreateDirRequest) (*client.CreateDirResponse, error)
- func (m *MockNasV2Interface) DeleteAccessPoint(request *client.DeleteAccessPointRequest) (*client.DeleteAccessPointResponse, error)
- func (m *MockNasV2Interface) DescribeAccessPoint(request *client.DescribeAccessPointRequest) (*client.DescribeAccessPointResponse, error)
- func (m *MockNasV2Interface) EXPECT() *MockNasV2InterfaceMockRecorder
- func (m *MockNasV2Interface) GetRecycleBinAttribute(request *client.GetRecycleBinAttributeRequest) (*client.GetRecycleBinAttributeResponse, error)
- func (m *MockNasV2Interface) SetDirQuota(request *client.SetDirQuotaRequest) (*client.SetDirQuotaResponse, error)
- type MockNasV2InterfaceMockRecorder
- func (mr *MockNasV2InterfaceMockRecorder) CancelDirQuota(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) CreateAccessPoint(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) CreateDir(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) DeleteAccessPoint(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) DescribeAccessPoint(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) GetRecycleBinAttribute(request interface{}) *gomock.Call
- func (mr *MockNasV2InterfaceMockRecorder) SetDirQuota(request interface{}) *gomock.Call
- type NasClientFactoryInterface
- type NasClientV2Interface
- type NasV1Interface
- type NasV2Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNasClientFactory ¶
type MockNasClientFactory struct { V1Client *MockNasV1Interface V2Client *MockNasClientV2Interface }
func NewMockNasClientFactory ¶
func NewMockNasClientFactory(ctrl *gomock.Controller) *MockNasClientFactory
func (*MockNasClientFactory) V1 ¶
func (n *MockNasClientFactory) V1(string) (NasV1Interface, error)
func (*MockNasClientFactory) V2 ¶
func (n *MockNasClientFactory) V2(string) (NasClientV2Interface, error)
type MockNasClientV2Interface ¶
type MockNasClientV2Interface struct {
// contains filtered or unexported fields
}
func NewMockNasClientV2Interface ¶
func NewMockNasClientV2Interface(ctrl *gomock.Controller) *MockNasClientV2Interface
func (*MockNasClientV2Interface) CancelDirQuota ¶
func (n *MockNasClientV2Interface) CancelDirQuota(req *sdk.CancelDirQuotaRequest) error
func (*MockNasClientV2Interface) CreateAccesspoint ¶
func (n *MockNasClientV2Interface) CreateAccesspoint(req *sdk.CreateAccessPointRequest) (*sdk.CreateAccessPointResponse, error)
func (*MockNasClientV2Interface) CreateDir ¶
func (n *MockNasClientV2Interface) CreateDir(req *sdk.CreateDirRequest) error
func (*MockNasClientV2Interface) DeleteAccesspoint ¶
func (n *MockNasClientV2Interface) DeleteAccesspoint(filesystemId, accessPointId string) error
func (*MockNasClientV2Interface) DescribeAccesspoint ¶
func (n *MockNasClientV2Interface) DescribeAccesspoint(filesystemId, accessPointId string) (*sdk.DescribeAccessPointResponse, error)
func (*MockNasClientV2Interface) GetRecycleBinAttribute ¶
func (n *MockNasClientV2Interface) GetRecycleBinAttribute(filesystemId string) (*sdk.GetRecycleBinAttributeResponse, error)
func (*MockNasClientV2Interface) SetDirQuota ¶
func (n *MockNasClientV2Interface) SetDirQuota(req *sdk.SetDirQuotaRequest) error
type MockNasV1Interface ¶
type MockNasV1Interface struct {
// contains filtered or unexported fields
}
MockNasV1Interface is a mock of NasV1Interface interface.
func NewMockNasV1Interface ¶
func NewMockNasV1Interface(ctrl *gomock.Controller) *MockNasV1Interface
NewMockNasV1Interface creates a new mock instance.
func (*MockNasV1Interface) CreateFileSystem ¶
func (m *MockNasV1Interface) CreateFileSystem(request *nas.CreateFileSystemRequest) (*nas.CreateFileSystemResponse, error)
CreateFileSystem mocks base method.
func (*MockNasV1Interface) CreateMountTarget ¶
func (m *MockNasV1Interface) CreateMountTarget(request *nas.CreateMountTargetRequest) (*nas.CreateMountTargetResponse, error)
CreateMountTarget mocks base method.
func (*MockNasV1Interface) DeleteFileSystem ¶
func (m *MockNasV1Interface) DeleteFileSystem(request *nas.DeleteFileSystemRequest) (*nas.DeleteFileSystemResponse, error)
DeleteFileSystem mocks base method.
func (*MockNasV1Interface) DeleteMountTarget ¶
func (m *MockNasV1Interface) DeleteMountTarget(request *nas.DeleteMountTargetRequest) (*nas.DeleteMountTargetResponse, error)
DeleteMountTarget mocks base method.
func (*MockNasV1Interface) DescribeFileSystems ¶
func (m *MockNasV1Interface) DescribeFileSystems(request *nas.DescribeFileSystemsRequest) (*nas.DescribeFileSystemsResponse, error)
DescribeFileSystems mocks base method.
func (*MockNasV1Interface) DescribeMountTargets ¶
func (m *MockNasV1Interface) DescribeMountTargets(request *nas.DescribeMountTargetsRequest) (*nas.DescribeMountTargetsResponse, error)
DescribeMountTargets mocks base method.
func (*MockNasV1Interface) EXPECT ¶
func (m *MockNasV1Interface) EXPECT() *MockNasV1InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNasV1Interface) TagResources ¶
func (m *MockNasV1Interface) TagResources(request *nas.TagResourcesRequest) (*nas.TagResourcesResponse, error)
TagResources mocks base method.
type MockNasV1InterfaceMockRecorder ¶
type MockNasV1InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNasV1InterfaceMockRecorder is the mock recorder for MockNasV1Interface.
func (*MockNasV1InterfaceMockRecorder) CreateFileSystem ¶
func (mr *MockNasV1InterfaceMockRecorder) CreateFileSystem(request interface{}) *gomock.Call
CreateFileSystem indicates an expected call of CreateFileSystem.
func (*MockNasV1InterfaceMockRecorder) CreateMountTarget ¶
func (mr *MockNasV1InterfaceMockRecorder) CreateMountTarget(request interface{}) *gomock.Call
CreateMountTarget indicates an expected call of CreateMountTarget.
func (*MockNasV1InterfaceMockRecorder) DeleteFileSystem ¶
func (mr *MockNasV1InterfaceMockRecorder) DeleteFileSystem(request interface{}) *gomock.Call
DeleteFileSystem indicates an expected call of DeleteFileSystem.
func (*MockNasV1InterfaceMockRecorder) DeleteMountTarget ¶
func (mr *MockNasV1InterfaceMockRecorder) DeleteMountTarget(request interface{}) *gomock.Call
DeleteMountTarget indicates an expected call of DeleteMountTarget.
func (*MockNasV1InterfaceMockRecorder) DescribeFileSystems ¶
func (mr *MockNasV1InterfaceMockRecorder) DescribeFileSystems(request interface{}) *gomock.Call
DescribeFileSystems indicates an expected call of DescribeFileSystems.
func (*MockNasV1InterfaceMockRecorder) DescribeMountTargets ¶
func (mr *MockNasV1InterfaceMockRecorder) DescribeMountTargets(request interface{}) *gomock.Call
DescribeMountTargets indicates an expected call of DescribeMountTargets.
func (*MockNasV1InterfaceMockRecorder) TagResources ¶
func (mr *MockNasV1InterfaceMockRecorder) TagResources(request interface{}) *gomock.Call
TagResources indicates an expected call of TagResources.
type MockNasV2Interface ¶
type MockNasV2Interface struct {
// contains filtered or unexported fields
}
MockNasV2Interface is a mock of NasV2Interface interface.
func NewMockNasV2Interface ¶
func NewMockNasV2Interface(ctrl *gomock.Controller) *MockNasV2Interface
NewMockNasV2Interface creates a new mock instance.
func (*MockNasV2Interface) CancelDirQuota ¶
func (m *MockNasV2Interface) CancelDirQuota(request *client.CancelDirQuotaRequest) (*client.CancelDirQuotaResponse, error)
CancelDirQuota mocks base method.
func (*MockNasV2Interface) CreateAccessPoint ¶
func (m *MockNasV2Interface) CreateAccessPoint(request *client.CreateAccessPointRequest) (*client.CreateAccessPointResponse, error)
CreateAccessPoint mocks base method.
func (*MockNasV2Interface) CreateDir ¶
func (m *MockNasV2Interface) CreateDir(request *client.CreateDirRequest) (*client.CreateDirResponse, error)
CreateDir mocks base method.
func (*MockNasV2Interface) DeleteAccessPoint ¶
func (m *MockNasV2Interface) DeleteAccessPoint(request *client.DeleteAccessPointRequest) (*client.DeleteAccessPointResponse, error)
DeleteAccessPoint mocks base method.
func (*MockNasV2Interface) DescribeAccessPoint ¶
func (m *MockNasV2Interface) DescribeAccessPoint(request *client.DescribeAccessPointRequest) (*client.DescribeAccessPointResponse, error)
DescribeAccessPoint mocks base method.
func (*MockNasV2Interface) EXPECT ¶
func (m *MockNasV2Interface) EXPECT() *MockNasV2InterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNasV2Interface) GetRecycleBinAttribute ¶
func (m *MockNasV2Interface) GetRecycleBinAttribute(request *client.GetRecycleBinAttributeRequest) (*client.GetRecycleBinAttributeResponse, error)
GetRecycleBinAttribute mocks base method.
func (*MockNasV2Interface) SetDirQuota ¶
func (m *MockNasV2Interface) SetDirQuota(request *client.SetDirQuotaRequest) (*client.SetDirQuotaResponse, error)
SetDirQuota mocks base method.
type MockNasV2InterfaceMockRecorder ¶
type MockNasV2InterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockNasV2InterfaceMockRecorder is the mock recorder for MockNasV2Interface.
func (*MockNasV2InterfaceMockRecorder) CancelDirQuota ¶
func (mr *MockNasV2InterfaceMockRecorder) CancelDirQuota(request interface{}) *gomock.Call
CancelDirQuota indicates an expected call of CancelDirQuota.
func (*MockNasV2InterfaceMockRecorder) CreateAccessPoint ¶
func (mr *MockNasV2InterfaceMockRecorder) CreateAccessPoint(request interface{}) *gomock.Call
CreateAccessPoint indicates an expected call of CreateAccessPoint.
func (*MockNasV2InterfaceMockRecorder) CreateDir ¶
func (mr *MockNasV2InterfaceMockRecorder) CreateDir(request interface{}) *gomock.Call
CreateDir indicates an expected call of CreateDir.
func (*MockNasV2InterfaceMockRecorder) DeleteAccessPoint ¶
func (mr *MockNasV2InterfaceMockRecorder) DeleteAccessPoint(request interface{}) *gomock.Call
DeleteAccessPoint indicates an expected call of DeleteAccessPoint.
func (*MockNasV2InterfaceMockRecorder) DescribeAccessPoint ¶
func (mr *MockNasV2InterfaceMockRecorder) DescribeAccessPoint(request interface{}) *gomock.Call
DescribeAccessPoint indicates an expected call of DescribeAccessPoint.
func (*MockNasV2InterfaceMockRecorder) GetRecycleBinAttribute ¶
func (mr *MockNasV2InterfaceMockRecorder) GetRecycleBinAttribute(request interface{}) *gomock.Call
GetRecycleBinAttribute indicates an expected call of GetRecycleBinAttribute.
func (*MockNasV2InterfaceMockRecorder) SetDirQuota ¶
func (mr *MockNasV2InterfaceMockRecorder) SetDirQuota(request interface{}) *gomock.Call
SetDirQuota indicates an expected call of SetDirQuota.
type NasClientFactoryInterface ¶
type NasClientFactoryInterface interface { V1(region string) (NasV1Interface, error) V2(region string) (NasClientV2Interface, error) }
type NasClientV2Interface ¶
type NasClientV2Interface interface { CreateDir(req *sdk.CreateDirRequest) error SetDirQuota(req *sdk.SetDirQuotaRequest) error CancelDirQuota(req *sdk.CancelDirQuotaRequest) error GetRecycleBinAttribute(filesystemId string) (*sdk.GetRecycleBinAttributeResponse, error) CreateAccesspoint(req *sdk.CreateAccessPointRequest) (*sdk.CreateAccessPointResponse, error) DeleteAccesspoint(filesystemId, accessPointId string) error DescribeAccesspoint(filesystemId, accessPointId string) (*sdk.DescribeAccessPointResponse, error) }
type NasV1Interface ¶
type NasV1Interface interface { CreateFileSystem(request *nas.CreateFileSystemRequest) (response *nas.CreateFileSystemResponse, err error) CreateMountTarget(request *nas.CreateMountTargetRequest) (response *nas.CreateMountTargetResponse, err error) DeleteFileSystem(request *nas.DeleteFileSystemRequest) (response *nas.DeleteFileSystemResponse, err error) DeleteMountTarget(request *nas.DeleteMountTargetRequest) (response *nas.DeleteMountTargetResponse, err error) DescribeFileSystems(request *nas.DescribeFileSystemsRequest) (response *nas.DescribeFileSystemsResponse, err error) DescribeMountTargets(request *nas.DescribeMountTargetsRequest) (response *nas.DescribeMountTargetsResponse, err error) TagResources(request *nas.TagResourcesRequest) (response *nas.TagResourcesResponse, err error) }
type NasV2Interface ¶
type NasV2Interface interface { CancelDirQuota(request *nas.CancelDirQuotaRequest) (*nas.CancelDirQuotaResponse, error) CreateAccessPoint(request *nas.CreateAccessPointRequest) (*nas.CreateAccessPointResponse, error) CreateDir(request *nas.CreateDirRequest) (*nas.CreateDirResponse, error) DeleteAccessPoint(request *nas.DeleteAccessPointRequest) (*nas.DeleteAccessPointResponse, error) DescribeAccessPoint(request *nas.DescribeAccessPointRequest) (*nas.DescribeAccessPointResponse, error) GetRecycleBinAttribute(request *nas.GetRecycleBinAttributeRequest) (*nas.GetRecycleBinAttributeResponse, error) SetDirQuota(request *nas.SetDirQuotaRequest) (*nas.SetDirQuotaResponse, error) }