mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 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) CreateResourcePolicy added in v0.2.0

func (_m *DurosAPIClient) CreateResourcePolicy(ctx context.Context, in *v2.CreateResourcePolicyRequest, opts ...grpc.CallOption) (*v2.ResourcePolicy, error)

CreateResourcePolicy 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) CreateSnapshot added in v0.2.0

func (_m *DurosAPIClient) CreateSnapshot(ctx context.Context, in *v2.CreateSnapshotRequest, opts ...grpc.CallOption) (*v2.Snapshot, error)

CreateSnapshot 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) DeleteResourcePolicy added in v0.2.0

DeleteResourcePolicy 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) DeleteSnapshot added in v0.2.0

DeleteSnapshot 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) DisableFeatureFlag added in v0.2.0

DisableFeatureFlag 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) EnableFeatureFlag added in v0.2.0

EnableFeatureFlag 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) GetClusterConfigParam added in v0.2.0

func (_m *DurosAPIClient) GetClusterConfigParam(ctx context.Context, in *v2.GetClusterConfigParamRequest, opts ...grpc.CallOption) (*v2.ClusterConfigParam, error)

GetClusterConfigParam 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) GetFeatureFlag added in v0.2.0

func (_m *DurosAPIClient) GetFeatureFlag(ctx context.Context, in *v2.GetFeatureFlagRequest, opts ...grpc.CallOption) (*v2.FeatureFlagStatus, error)

GetFeatureFlag 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) GetResourcePolicy added in v0.2.0

func (_m *DurosAPIClient) GetResourcePolicy(ctx context.Context, in *v2.GetResourcePolicyRequest, opts ...grpc.CallOption) (*v2.ResourcePolicy, error)

GetResourcePolicy 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) GetSnapshot added in v0.2.0

func (_m *DurosAPIClient) GetSnapshot(ctx context.Context, in *v2.GetSnapshotRequest, opts ...grpc.CallOption) (*v2.Snapshot, error)

GetSnapshot 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) ListClusterConfigParams added in v0.2.0

ListClusterConfigParams 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) ListFeatureFlags added in v0.2.0

ListFeatureFlags 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) ListResourcePolicies added in v0.2.0

ListResourcePolicies 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) ListSnapshots added in v0.2.0

ListSnapshots 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) RollbackVolume added in v0.2.0

RollbackVolume 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) UpdateClusterConfigParam added in v0.2.0

UpdateClusterConfigParam 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) UpdateResourcePolicy added in v0.2.0

UpdateResourcePolicy 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