mocks

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 6 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 NewDurosAPIClient added in v0.3.3

func NewDurosAPIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *DurosAPIClient

NewDurosAPIClient creates a new instance of DurosAPIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

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) CreatePolicy added in v0.3.3

func (_m *DurosAPIClient) CreatePolicy(ctx context.Context, in *v2.CreatePolicyRequest, opts ...grpc.CallOption) (*v2.Policy, error)

CreatePolicy 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) DeletePolicy added in v0.3.3

DeletePolicy 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) FetchLogs added in v0.3.1

FetchLogs 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) GetPolicy added in v0.3.3

func (_m *DurosAPIClient) GetPolicy(ctx context.Context, in *v2.GetPolicyRequest, opts ...grpc.CallOption) (*v2.Policy, error)

GetPolicy 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) ListChangedBlocks added in v0.4.2

ListChangedBlocks 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) ListEvents added in v0.3.1

ListEvents 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) ListPolicies added in v0.3.3

ListPolicies 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) UpdatePolicy added in v0.3.3

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

func (*DurosAPIClient) UpdateProject added in v0.3.3

UpdateProject 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

type DurosAPIServer added in v0.3.3

type DurosAPIServer struct {
	mock.Mock
}

DurosAPIServer is an autogenerated mock type for the DurosAPIServer type

func NewDurosAPIServer added in v0.3.3

func NewDurosAPIServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DurosAPIServer

NewDurosAPIServer creates a new instance of DurosAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DurosAPIServer) AddNvmeDevice added in v0.3.3

AddNvmeDevice provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateAdminEndpoint added in v0.3.3

func (_m *DurosAPIServer) CreateAdminEndpoint(_a0 context.Context, _a1 *v2.CreateAdminEndpointRequest) (*v2.AdminEndpoint, error)

CreateAdminEndpoint provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateCredential added in v0.3.3

func (_m *DurosAPIServer) CreateCredential(_a0 context.Context, _a1 *v2.CreateCredentialRequest) (*v2.Credential, error)

CreateCredential provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreatePolicy added in v0.3.3

func (_m *DurosAPIServer) CreatePolicy(_a0 context.Context, _a1 *v2.CreatePolicyRequest) (*v2.Policy, error)

CreatePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateProject added in v0.3.3

func (_m *DurosAPIServer) CreateProject(_a0 context.Context, _a1 *v2.CreateProjectRequest) (*v2.Project, error)

CreateProject provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateResourcePolicy added in v0.3.3

func (_m *DurosAPIServer) CreateResourcePolicy(_a0 context.Context, _a1 *v2.CreateResourcePolicyRequest) (*v2.ResourcePolicy, error)

CreateResourcePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateServer added in v0.3.3

func (_m *DurosAPIServer) CreateServer(_a0 context.Context, _a1 *v2.CreateServerRequest) (*v2.Server, error)

CreateServer provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateSnapshot added in v0.3.3

func (_m *DurosAPIServer) CreateSnapshot(_a0 context.Context, _a1 *v2.CreateSnapshotRequest) (*v2.Snapshot, error)

CreateSnapshot provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) CreateVolume added in v0.3.3

func (_m *DurosAPIServer) CreateVolume(_a0 context.Context, _a1 *v2.CreateVolumeRequest) (*v2.Volume, error)

CreateVolume provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteAdminEndpoint added in v0.3.3

DeleteAdminEndpoint provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteCredential added in v0.3.3

DeleteCredential provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeletePolicy added in v0.3.3

DeletePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteProject added in v0.3.3

DeleteProject provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteResourcePolicy added in v0.3.3

DeleteResourcePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteServer added in v0.3.3

DeleteServer provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteSnapshot added in v0.3.3

DeleteSnapshot provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DeleteVolume added in v0.3.3

DeleteVolume provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DisableFeatureFlag added in v0.3.3

DisableFeatureFlag provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) DisableServer added in v0.3.3

DisableServer provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) EnableFeatureFlag added in v0.3.3

EnableFeatureFlag provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) EnableServer added in v0.3.3

func (_m *DurosAPIServer) EnableServer(_a0 context.Context, _a1 *v2.EnableServerRequest) (*v2.Server, error)

EnableServer provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) FetchLogs added in v0.3.3

func (_m *DurosAPIServer) FetchLogs(_a0 *v2.LogRequest, _a1 v2.DurosAPI_FetchLogsServer) error

FetchLogs provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetAdminEndpoint added in v0.3.3

func (_m *DurosAPIServer) GetAdminEndpoint(_a0 context.Context, _a1 *v2.GetAdminEndpointRequest) (*v2.AdminEndpoint, error)

GetAdminEndpoint provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetCluster added in v0.3.3

func (_m *DurosAPIServer) GetCluster(_a0 context.Context, _a1 *v2.GetClusterRequest) (*v2.ClusterInfo, error)

GetCluster provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetClusterConfigParam added in v0.3.3

func (_m *DurosAPIServer) GetClusterConfigParam(_a0 context.Context, _a1 *v2.GetClusterConfigParamRequest) (*v2.ClusterConfigParam, error)

GetClusterConfigParam provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetClusterInfo added in v0.3.3

func (_m *DurosAPIServer) GetClusterInfo(_a0 context.Context, _a1 *v2.GetClusterRequest) (*v2.ClusterInfoV2, error)

GetClusterInfo provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetCredential added in v0.3.3

func (_m *DurosAPIServer) GetCredential(_a0 context.Context, _a1 *v2.GetCredentialRequest) (*v2.Credential, error)

GetCredential provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetFeatureFlag added in v0.3.3

func (_m *DurosAPIServer) GetFeatureFlag(_a0 context.Context, _a1 *v2.GetFeatureFlagRequest) (*v2.FeatureFlagStatus, error)

GetFeatureFlag provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetHost added in v0.3.3

func (_m *DurosAPIServer) GetHost(_a0 context.Context, _a1 *v2.GetHostRequest) (*v2.ConnectedHost, error)

GetHost provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetNode added in v0.3.3

func (_m *DurosAPIServer) GetNode(_a0 context.Context, _a1 *v2.GetNodeRequest) (*v2.DurosNodeInfo, error)

GetNode provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetNvmeDevice added in v0.3.3

GetNvmeDevice provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetPolicy added in v0.3.3

func (_m *DurosAPIServer) GetPolicy(_a0 context.Context, _a1 *v2.GetPolicyRequest) (*v2.Policy, error)

GetPolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetProject added in v0.3.3

func (_m *DurosAPIServer) GetProject(_a0 context.Context, _a1 *v2.GetProjectRequest) (*v2.Project, error)

GetProject provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetResourcePolicy added in v0.3.3

func (_m *DurosAPIServer) GetResourcePolicy(_a0 context.Context, _a1 *v2.GetResourcePolicyRequest) (*v2.ResourcePolicy, error)

GetResourcePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetRole added in v0.3.3

GetRole provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetServer added in v0.3.3

func (_m *DurosAPIServer) GetServer(_a0 context.Context, _a1 *v2.GetServerRequest) (*v2.Server, error)

GetServer provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetSnapshot added in v0.3.3

func (_m *DurosAPIServer) GetSnapshot(_a0 context.Context, _a1 *v2.GetSnapshotRequest) (*v2.Snapshot, error)

GetSnapshot provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetVersion added in v0.3.3

func (_m *DurosAPIServer) GetVersion(_a0 context.Context, _a1 *v2.GetVersionRequest) (*v2.Version, error)

GetVersion provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) GetVolume added in v0.3.3

func (_m *DurosAPIServer) GetVolume(_a0 context.Context, _a1 *v2.GetVolumeRequest) (*v2.Volume, error)

GetVolume provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListAdminEndpoints added in v0.3.3

ListAdminEndpoints provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListChangedBlocks added in v0.4.2

ListChangedBlocks provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListClusterConfigParams added in v0.3.3

ListClusterConfigParams provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListCredentials added in v0.3.3

ListCredentials provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListEvents added in v0.3.3

ListEvents provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListFeatureFlags added in v0.3.3

ListFeatureFlags provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListHosts added in v0.3.3

ListHosts provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListNodes added in v0.3.3

ListNodes provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListNvmeDevices added in v0.3.3

ListNvmeDevices provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListPolicies added in v0.3.3

ListPolicies provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListProjects added in v0.3.3

ListProjects provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListResourcePolicies added in v0.3.3

ListResourcePolicies provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListRoles added in v0.3.3

ListRoles provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListServers added in v0.3.3

ListServers provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListSnapshots added in v0.3.3

ListSnapshots provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ListVolumes added in v0.3.3

ListVolumes provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) ReplaceNode added in v0.3.3

ReplaceNode provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) RollbackVolume added in v0.3.3

RollbackVolume provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateAdminEndpoint added in v0.3.3

func (_m *DurosAPIServer) UpdateAdminEndpoint(_a0 context.Context, _a1 *v2.UpdateAdminEndpointRequest) (*v2.AdminEndpoint, error)

UpdateAdminEndpoint provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateClusterConfigParam added in v0.3.3

UpdateClusterConfigParam provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateNvmeDevice added in v0.3.3

UpdateNvmeDevice provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdatePolicy added in v0.3.3

UpdatePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateProject added in v0.3.3

UpdateProject provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateResourcePolicy added in v0.3.3

UpdateResourcePolicy provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpdateVolume added in v0.3.3

UpdateVolume provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpgradeCluster added in v0.3.3

UpgradeCluster provides a mock function with given fields: _a0, _a1

func (*DurosAPIServer) UpgradeServer added in v0.3.3

UpgradeServer provides a mock function with given fields: _a0, _a1

type DurosAPI_FetchLogsClient added in v0.3.3

type DurosAPI_FetchLogsClient struct {
	mock.Mock
}

DurosAPI_FetchLogsClient is an autogenerated mock type for the DurosAPI_FetchLogsClient type

func NewDurosAPI_FetchLogsClient added in v0.3.3

func NewDurosAPI_FetchLogsClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *DurosAPI_FetchLogsClient

NewDurosAPI_FetchLogsClient creates a new instance of DurosAPI_FetchLogsClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DurosAPI_FetchLogsClient) CloseSend added in v0.3.3

func (_m *DurosAPI_FetchLogsClient) CloseSend() error

CloseSend provides a mock function with given fields:

func (*DurosAPI_FetchLogsClient) Context added in v0.3.3

Context provides a mock function with given fields:

func (*DurosAPI_FetchLogsClient) Header added in v0.3.3

func (_m *DurosAPI_FetchLogsClient) Header() (metadata.MD, error)

Header provides a mock function with given fields:

func (*DurosAPI_FetchLogsClient) Recv added in v0.3.3

Recv provides a mock function with given fields:

func (*DurosAPI_FetchLogsClient) RecvMsg added in v0.3.3

func (_m *DurosAPI_FetchLogsClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*DurosAPI_FetchLogsClient) SendMsg added in v0.3.3

func (_m *DurosAPI_FetchLogsClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*DurosAPI_FetchLogsClient) Trailer added in v0.3.3

func (_m *DurosAPI_FetchLogsClient) Trailer() metadata.MD

Trailer provides a mock function with given fields:

type DurosAPI_FetchLogsServer added in v0.3.3

type DurosAPI_FetchLogsServer struct {
	mock.Mock
}

DurosAPI_FetchLogsServer is an autogenerated mock type for the DurosAPI_FetchLogsServer type

func NewDurosAPI_FetchLogsServer added in v0.3.3

func NewDurosAPI_FetchLogsServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DurosAPI_FetchLogsServer

NewDurosAPI_FetchLogsServer creates a new instance of DurosAPI_FetchLogsServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DurosAPI_FetchLogsServer) Context added in v0.3.3

Context provides a mock function with given fields:

func (*DurosAPI_FetchLogsServer) RecvMsg added in v0.3.3

func (_m *DurosAPI_FetchLogsServer) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*DurosAPI_FetchLogsServer) Send added in v0.3.3

Send provides a mock function with given fields: _a0

func (*DurosAPI_FetchLogsServer) SendHeader added in v0.3.3

func (_m *DurosAPI_FetchLogsServer) SendHeader(_a0 metadata.MD) error

SendHeader provides a mock function with given fields: _a0

func (*DurosAPI_FetchLogsServer) SendMsg added in v0.3.3

func (_m *DurosAPI_FetchLogsServer) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*DurosAPI_FetchLogsServer) SetHeader added in v0.3.3

func (_m *DurosAPI_FetchLogsServer) SetHeader(_a0 metadata.MD) error

SetHeader provides a mock function with given fields: _a0

func (*DurosAPI_FetchLogsServer) SetTrailer added in v0.3.3

func (_m *DurosAPI_FetchLogsServer) SetTrailer(_a0 metadata.MD)

SetTrailer provides a mock function with given fields: _a0

type UnsafeDurosAPIServer added in v0.4.1

type UnsafeDurosAPIServer struct {
	mock.Mock
}

UnsafeDurosAPIServer is an autogenerated mock type for the UnsafeDurosAPIServer type

func NewUnsafeDurosAPIServer added in v0.4.1

func NewUnsafeDurosAPIServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeDurosAPIServer

NewUnsafeDurosAPIServer creates a new instance of UnsafeDurosAPIServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

Jump to

Keyboard shortcuts

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