interfaces

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package interfaces is a generated GoMock package.

Package interfaces is a generated GoMock package.

Index

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 (*MockNasClientFactory) V2

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 (*MockNasClientV2Interface) CreateDir

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

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

CreateFileSystem mocks base method.

func (*MockNasV1Interface) CreateMountTarget

CreateMountTarget mocks base method.

func (*MockNasV1Interface) DeleteFileSystem

DeleteFileSystem mocks base method.

func (*MockNasV1Interface) DeleteMountTarget

DeleteMountTarget mocks base method.

func (*MockNasV1Interface) DescribeFileSystems

DescribeFileSystems mocks base method.

func (*MockNasV1Interface) DescribeMountTargets

DescribeMountTargets mocks base method.

func (*MockNasV1Interface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNasV1Interface) TagResources

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

CancelDirQuota mocks base method.

func (*MockNasV2Interface) CreateAccessPoint

CreateAccessPoint mocks base method.

func (*MockNasV2Interface) CreateDir

CreateDir mocks base method.

func (*MockNasV2Interface) DeleteAccessPoint

DeleteAccessPoint mocks base method.

func (*MockNasV2Interface) DescribeAccessPoint

DescribeAccessPoint mocks base method.

func (*MockNasV2Interface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNasV2Interface) GetRecycleBinAttribute

GetRecycleBinAttribute mocks base method.

func (*MockNasV2Interface) SetDirQuota

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL