mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DurosAPIClient

type DurosAPIClient struct {
	mock.Mock
}

DurosAPIClient is an autogenerated mock type for the DurosAPIClient type

func (*DurosAPIClient) AddNvmeDevice

AddNvmeDevice provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) CreateAdminEndpoint

func (_m *DurosAPIClient) CreateAdminEndpoint(ctx context.Context, in *v2.CreateAdminEndpointRequest, opts ...grpc.CallOption) (*v2.AdminEndpoint, error)

CreateAdminEndpoint provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) CreateCredential

func (_m *DurosAPIClient) CreateCredential(ctx context.Context, in *v2.CreateCredentialRequest, opts ...grpc.CallOption) (*v2.Credential, error)

CreateCredential provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) CreateProject

func (_m *DurosAPIClient) CreateProject(ctx context.Context, in *v2.CreateProjectRequest, opts ...grpc.CallOption) (*v2.Project, error)

CreateProject provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) CreateServer

func (_m *DurosAPIClient) CreateServer(ctx context.Context, in *v2.CreateServerRequest, opts ...grpc.CallOption) (*v2.Server, error)

CreateServer provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) CreateVolume

func (_m *DurosAPIClient) CreateVolume(ctx context.Context, in *v2.CreateVolumeRequest, opts ...grpc.CallOption) (*v2.Volume, error)

CreateVolume provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DeleteAdminEndpoint

DeleteAdminEndpoint provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DeleteCredential

DeleteCredential provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DeleteProject

DeleteProject provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DeleteServer

DeleteServer provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DeleteVolume

DeleteVolume provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) DisableServer

DisableServer provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) EnableServer

func (_m *DurosAPIClient) EnableServer(ctx context.Context, in *v2.EnableServerRequest, opts ...grpc.CallOption) (*v2.Server, error)

EnableServer provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetAdminEndpoint

func (_m *DurosAPIClient) GetAdminEndpoint(ctx context.Context, in *v2.GetAdminEndpointRequest, opts ...grpc.CallOption) (*v2.AdminEndpoint, error)

GetAdminEndpoint provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetCluster

func (_m *DurosAPIClient) GetCluster(ctx context.Context, in *v2.GetClusterRequest, opts ...grpc.CallOption) (*v2.ClusterInfo, error)

GetCluster provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetClusterInfo

func (_m *DurosAPIClient) GetClusterInfo(ctx context.Context, in *v2.GetClusterRequest, opts ...grpc.CallOption) (*v2.ClusterInfoV2, error)

GetClusterInfo provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetCredential

func (_m *DurosAPIClient) GetCredential(ctx context.Context, in *v2.GetCredentialRequest, opts ...grpc.CallOption) (*v2.Credential, error)

GetCredential provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetHost

func (_m *DurosAPIClient) GetHost(ctx context.Context, in *v2.GetHostRequest, opts ...grpc.CallOption) (*v2.ConnectedHost, error)

GetHost provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetNode

func (_m *DurosAPIClient) GetNode(ctx context.Context, in *v2.GetNodeRequest, opts ...grpc.CallOption) (*v2.DurosNodeInfo, error)

GetNode provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetNvmeDevice

GetNvmeDevice provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetProject

func (_m *DurosAPIClient) GetProject(ctx context.Context, in *v2.GetProjectRequest, opts ...grpc.CallOption) (*v2.Project, error)

GetProject provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetRole

GetRole provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetServer

func (_m *DurosAPIClient) GetServer(ctx context.Context, in *v2.GetServerRequest, opts ...grpc.CallOption) (*v2.Server, error)

GetServer provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetVersion

func (_m *DurosAPIClient) GetVersion(ctx context.Context, in *v2.GetVersionRequest, opts ...grpc.CallOption) (*v2.Version, error)

GetVersion provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) GetVolume

func (_m *DurosAPIClient) GetVolume(ctx context.Context, in *v2.GetVolumeRequest, opts ...grpc.CallOption) (*v2.Volume, error)

GetVolume provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListAdminEndpoints

ListAdminEndpoints provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListCredentials

ListCredentials provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListHosts

ListHosts provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListNodes

ListNodes provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListNvmeDevices

ListNvmeDevices provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListProjects

ListProjects provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListRoles

ListRoles provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListServers

ListServers provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ListVolumes

ListVolumes provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) ReplaceNode

ReplaceNode provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) UpdateAdminEndpoint

func (_m *DurosAPIClient) UpdateAdminEndpoint(ctx context.Context, in *v2.UpdateAdminEndpointRequest, opts ...grpc.CallOption) (*v2.AdminEndpoint, error)

UpdateAdminEndpoint provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) UpdateNvmeDevice

UpdateNvmeDevice provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) UpdateVolume

UpdateVolume provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) UpgradeCluster

UpgradeCluster provides a mock function with given fields: ctx, in, opts

func (*DurosAPIClient) UpgradeServer

UpgradeServer provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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