mocks

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 5 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) CreateAuthMapEntry added in v0.5.2

func (_m *DurosAPIClient) CreateAuthMapEntry(ctx context.Context, in *v2.CreateAuthMapEntryRequest, opts ...grpc.CallOption) (*v2.AuthMapEntry, error)

CreateAuthMapEntry 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) CreateIdpClientConf added in v0.5.2

func (_m *DurosAPIClient) CreateIdpClientConf(ctx context.Context, in *v2.CreateIdpClientConfRequest, opts ...grpc.CallOption) (*v2.IdpClientConf, error)

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

func (*DurosAPIClient) CreateIdpConfiguration added in v0.5.1

func (_m *DurosAPIClient) CreateIdpConfiguration(ctx context.Context, in *v2.CreateIDPConfigurationRequest, opts ...grpc.CallOption) (*v2.IDPConfiguration, error)

CreateIdpConfiguration 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) CreateTrustedHost added in v0.5.1

func (_m *DurosAPIClient) CreateTrustedHost(ctx context.Context, in *v2.CreateTrustedHostRequest, opts ...grpc.CallOption) (*v2.TrustedHost, error)

CreateTrustedHost 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) DeleteAuthMapEntry added in v0.5.2

DeleteAuthMapEntry 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) DeleteIdpClientConf added in v0.5.2

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

func (*DurosAPIClient) DeleteIdpConfiguration added in v0.5.1

DeleteIdpConfiguration 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) DeleteTrustedHost added in v0.5.1

DeleteTrustedHost 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) DisableClusterInBandAuth added in v0.5.1

DisableClusterInBandAuth 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) EnableClusterEncryption added in v0.5.1

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

func (*DurosAPIClient) EnableClusterInBandAuth added in v0.5.1

EnableClusterInBandAuth 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) GetAuthMapEntry added in v0.5.2

func (_m *DurosAPIClient) GetAuthMapEntry(ctx context.Context, in *v2.GetAuthMapEntryRequest, opts ...grpc.CallOption) (*v2.AuthMapEntry, error)

GetAuthMapEntry 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) GetClusterRootKey added in v0.5.1

GetClusterRootKey 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) GetIdpClientConf added in v0.5.2

func (_m *DurosAPIClient) GetIdpClientConf(ctx context.Context, in *v2.GetIdpClientConfRequest, opts ...grpc.CallOption) (*v2.IdpClientConf, error)

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

func (*DurosAPIClient) GetIdpConfiguration added in v0.5.1

func (_m *DurosAPIClient) GetIdpConfiguration(ctx context.Context, in *v2.GetIDPConfigurationRequest, opts ...grpc.CallOption) (*v2.IDPConfiguration, error)

GetIdpConfiguration 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) GetTrustedHost added in v0.5.1

func (_m *DurosAPIClient) GetTrustedHost(ctx context.Context, in *v2.GetTrustedHostRequest, opts ...grpc.CallOption) (*v2.TrustedHost, error)

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

func (*DurosAPIClient) GetTrustedHostSecret added in v0.5.1

GetTrustedHostSecret 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) ListAuthMapEntries added in v0.5.2

ListAuthMapEntries 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) ListIdpClientConfs added in v0.5.2

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

func (*DurosAPIClient) ListIdpConfigurations added in v0.5.1

ListIdpConfigurations 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) ListTrustedHosts added in v0.5.1

ListTrustedHosts 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) RotateClusterRootKey added in v0.5.1

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

func (*DurosAPIClient) SetTrustedHostSecret added in v0.5.1

SetTrustedHostSecret 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) UpdateAuthMapEntry added in v0.5.2

func (_m *DurosAPIClient) UpdateAuthMapEntry(ctx context.Context, in *v2.UpdateAuthMapEntryRequest, opts ...grpc.CallOption) (*v2.AuthMapEntry, error)

UpdateAuthMapEntry 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) UpdateIdpClientConf added in v0.5.2

func (_m *DurosAPIClient) UpdateIdpClientConf(ctx context.Context, in *v2.UpdateIdpClientConfRequest, opts ...grpc.CallOption) (*v2.IdpClientConf, error)

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

func (*DurosAPIClient) UpdateIdpConfiguration added in v0.5.1

func (_m *DurosAPIClient) UpdateIdpConfiguration(ctx context.Context, in *v2.UpdateIDPConfigurationRequest, opts ...grpc.CallOption) (*v2.IDPConfiguration, error)

UpdateIdpConfiguration 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) UpdateTrustedHost added in v0.5.1

func (_m *DurosAPIClient) UpdateTrustedHost(ctx context.Context, in *v2.UpdateTrustedHostRequest, opts ...grpc.CallOption) (*v2.TrustedHost, error)

UpdateTrustedHost 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) CreateAuthMapEntry added in v0.5.2

func (_m *DurosAPIServer) CreateAuthMapEntry(_a0 context.Context, _a1 *v2.CreateAuthMapEntryRequest) (*v2.AuthMapEntry, error)

CreateAuthMapEntry 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) CreateIdpClientConf added in v0.5.2

func (_m *DurosAPIServer) CreateIdpClientConf(_a0 context.Context, _a1 *v2.CreateIdpClientConfRequest) (*v2.IdpClientConf, error)

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

func (*DurosAPIServer) CreateIdpConfiguration added in v0.5.1

func (_m *DurosAPIServer) CreateIdpConfiguration(_a0 context.Context, _a1 *v2.CreateIDPConfigurationRequest) (*v2.IDPConfiguration, error)

CreateIdpConfiguration 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) CreateTrustedHost added in v0.5.1

func (_m *DurosAPIServer) CreateTrustedHost(_a0 context.Context, _a1 *v2.CreateTrustedHostRequest) (*v2.TrustedHost, error)

CreateTrustedHost 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) DeleteAuthMapEntry added in v0.5.2

DeleteAuthMapEntry 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) DeleteIdpClientConf added in v0.5.2

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

func (*DurosAPIServer) DeleteIdpConfiguration added in v0.5.1

DeleteIdpConfiguration 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) DeleteTrustedHost added in v0.5.1

DeleteTrustedHost 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) DisableClusterInBandAuth added in v0.5.1

DisableClusterInBandAuth 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) EnableClusterEncryption added in v0.5.1

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

func (*DurosAPIServer) EnableClusterInBandAuth added in v0.5.1

EnableClusterInBandAuth 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

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) GetAuthMapEntry added in v0.5.2

func (_m *DurosAPIServer) GetAuthMapEntry(_a0 context.Context, _a1 *v2.GetAuthMapEntryRequest) (*v2.AuthMapEntry, error)

GetAuthMapEntry 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) GetClusterRootKey added in v0.5.1

GetClusterRootKey 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) GetIdpClientConf added in v0.5.2

func (_m *DurosAPIServer) GetIdpClientConf(_a0 context.Context, _a1 *v2.GetIdpClientConfRequest) (*v2.IdpClientConf, error)

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

func (*DurosAPIServer) GetIdpConfiguration added in v0.5.1

func (_m *DurosAPIServer) GetIdpConfiguration(_a0 context.Context, _a1 *v2.GetIDPConfigurationRequest) (*v2.IDPConfiguration, error)

GetIdpConfiguration 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) GetTrustedHost added in v0.5.1

func (_m *DurosAPIServer) GetTrustedHost(_a0 context.Context, _a1 *v2.GetTrustedHostRequest) (*v2.TrustedHost, error)

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

func (*DurosAPIServer) GetTrustedHostSecret added in v0.5.1

GetTrustedHostSecret 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) ListAuthMapEntries added in v0.5.2

ListAuthMapEntries 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) ListIdpClientConfs added in v0.5.2

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

func (*DurosAPIServer) ListIdpConfigurations added in v0.5.1

ListIdpConfigurations 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) ListTrustedHosts added in v0.5.1

ListTrustedHosts 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) RotateClusterRootKey added in v0.5.1

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

func (*DurosAPIServer) SetTrustedHostSecret added in v0.5.1

SetTrustedHostSecret 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) UpdateAuthMapEntry added in v0.5.2

func (_m *DurosAPIServer) UpdateAuthMapEntry(_a0 context.Context, _a1 *v2.UpdateAuthMapEntryRequest) (*v2.AuthMapEntry, error)

UpdateAuthMapEntry 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) UpdateIdpClientConf added in v0.5.2

func (_m *DurosAPIServer) UpdateIdpClientConf(_a0 context.Context, _a1 *v2.UpdateIdpClientConfRequest) (*v2.IdpClientConf, error)

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

func (*DurosAPIServer) UpdateIdpConfiguration added in v0.5.1

func (_m *DurosAPIServer) UpdateIdpConfiguration(_a0 context.Context, _a1 *v2.UpdateIDPConfigurationRequest) (*v2.IDPConfiguration, error)

UpdateIdpConfiguration 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) UpdateTrustedHost added in v0.5.1

func (_m *DurosAPIServer) UpdateTrustedHost(_a0 context.Context, _a1 *v2.UpdateTrustedHostRequest) (*v2.TrustedHost, error)

UpdateTrustedHost 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 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