Documentation ¶
Index ¶
- type ApiClient
- func (_m *ApiClient) GetCustomHTTPHeaders() http.Header
- func (_m *ApiClient) Query(ctx context.Context, cfg api.RequestConfigRenderer, resp interface{}) (api.RespMeta, error)
- func (_m *ApiClient) QueryParams() api.QueryParamsEncoder
- func (_m *ApiClient) QueryParamsWithFields(provider api.FieldProvider) api.QueryParamsEncoder
- func (_m *ApiClient) SetCustomHTTPHeaders(headers http.Header)
- func (_m *ApiClient) SetLogger(logger api.Logger)
- func (_m *ApiClient) SetTraceID(ctx context.Context, traceID string) context.Context
- func (_m *ApiClient) TraceID(ctx context.Context) string
- type Client
- func (_m *Client) APIClient() api.Client
- func (_m *Client) AddMembersToVolumeGroup(ctx context.Context, params *gopowerstore.VolumeGroupMembers, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) AttachVolumeToHost(ctx context.Context, hostID string, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) AttachVolumeToHostGroup(ctx context.Context, hostGroupID string, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) CloneFS(ctx context.Context, createParams *gopowerstore.FsClone, fsID string) (gopowerstore.CreateResponse, error)
- func (_m *Client) CloneVolume(ctx context.Context, createParams *gopowerstore.VolumeClone, volID string) (gopowerstore.CreateResponse, error)
- func (_m *Client) ComputeDifferences(ctx context.Context, snapdiffParams *gopowerstore.VolumeComputeDifferences, ...) (gopowerstore.VolumeComputeDifferencesResponse, error)
- func (_m *Client) ConfigureMetroVolume(ctx context.Context, id string, config *gopowerstore.MetroConfig) (gopowerstore.MetroSessionResponse, error)
- func (_m *Client) ConfigureMetroVolumeGroup(ctx context.Context, id string, config *gopowerstore.MetroConfig) (gopowerstore.MetroSessionResponse, error)
- func (_m *Client) CopyMetricsByAppliance(ctx context.Context, entityID string, ...) ([]gopowerstore.CopyMetricsByApplianceResponse, error)
- func (_m *Client) CopyMetricsByCluster(ctx context.Context, entityID string, ...) ([]gopowerstore.CopyMetricsByClusterResponse, error)
- func (_m *Client) CopyMetricsByRemoteSystem(ctx context.Context, entityID string, ...) ([]gopowerstore.CopyMetricsByRemoteSystemResponse, error)
- func (_m *Client) CopyMetricsByVolume(ctx context.Context, entityID string, ...) ([]gopowerstore.CopyMetricsByVolumeResponse, error)
- func (_m *Client) CopyMetricsByVolumeGroup(ctx context.Context, entityID string, ...) ([]gopowerstore.CopyMetricsByVolumeGroupResponse, error)
- func (_m *Client) CreateFS(ctx context.Context, createParams *gopowerstore.FsCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateFsFromSnapshot(ctx context.Context, createParams *gopowerstore.FsClone, snapID string) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateFsSnapshot(ctx context.Context, createSnapParams *gopowerstore.SnapshotFSCreate, ...) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateHost(ctx context.Context, createParams *gopowerstore.HostCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateHostGroup(ctx context.Context, createParams *gopowerstore.HostGroupCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateNAS(ctx context.Context, createParams *gopowerstore.NASCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateNFSExport(ctx context.Context, createParams *gopowerstore.NFSExportCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateNFSServer(ctx context.Context, createParams *gopowerstore.NFSServerCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateProtectionPolicy(ctx context.Context, createParams *gopowerstore.ProtectionPolicyCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateReplicationRule(ctx context.Context, createParams *gopowerstore.ReplicationRuleCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateSnapshot(ctx context.Context, createSnapParams *gopowerstore.SnapshotCreate, id string) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateSnapshotRule(ctx context.Context, createParams *gopowerstore.SnapshotRuleCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateStorageContainer(ctx context.Context, createParams *gopowerstore.StorageContainer) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateVolume(ctx context.Context, createParams *gopowerstore.VolumeCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateVolumeFromSnapshot(ctx context.Context, createParams *gopowerstore.VolumeClone, snapID string) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateVolumeGroup(ctx context.Context, createParams *gopowerstore.VolumeGroupCreate) (gopowerstore.CreateResponse, error)
- func (_m *Client) CreateVolumeGroupSnapshot(ctx context.Context, volumeGroupID string, ...) (gopowerstore.CreateResponse, error)
- func (_m *Client) DeleteFS(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteFsSnapshot(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteHost(ctx context.Context, deleteParams *gopowerstore.HostDelete, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteHostGroup(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteNAS(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteNFSExport(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteProtectionPolicy(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteReplicationRule(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteSnapshot(ctx context.Context, deleteParams *gopowerstore.VolumeDelete, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteSnapshotRule(ctx context.Context, deleteParams *gopowerstore.SnapshotRuleDelete, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteStorageContainer(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteVolume(ctx context.Context, deleteParams *gopowerstore.VolumeDelete, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DeleteVolumeGroup(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DetachVolumeFromHost(ctx context.Context, hostID string, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) DetachVolumeFromHostGroup(ctx context.Context, hostGroupID string, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) EndMetroVolume(ctx context.Context, id string, options *gopowerstore.EndMetroVolumeOptions) (gopowerstore.EmptyResponse, error)
- func (_m *Client) EndMetroVolumeGroup(ctx context.Context, id string, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ExecuteActionOnReplicationSession(ctx context.Context, id string, actionType gopowerstore.ActionType, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) GetAllRemoteSystems(ctx context.Context) ([]gopowerstore.RemoteSystem, error)
- func (_m *Client) GetAppliance(ctx context.Context, id string) (gopowerstore.ApplianceInstance, error)
- func (_m *Client) GetApplianceByName(ctx context.Context, name string) (gopowerstore.ApplianceInstance, error)
- func (_m *Client) GetCapacity(ctx context.Context) (int64, error)
- func (_m *Client) GetCluster(ctx context.Context) (gopowerstore.Cluster, error)
- func (_m *Client) GetCustomHTTPHeaders() http.Header
- func (_m *Client) GetFCPort(ctx context.Context, id string) (gopowerstore.FcPort, error)
- func (_m *Client) GetFCPorts(ctx context.Context) ([]gopowerstore.FcPort, error)
- func (_m *Client) GetFS(ctx context.Context, id string) (gopowerstore.FileSystem, error)
- func (_m *Client) GetFSByName(ctx context.Context, name string) (gopowerstore.FileSystem, error)
- func (_m *Client) GetFileInterface(ctx context.Context, id string) (gopowerstore.FileInterface, error)
- func (_m *Client) GetFsSnapshot(ctx context.Context, snapID string) (gopowerstore.FileSystem, error)
- func (_m *Client) GetFsSnapshots(ctx context.Context) ([]gopowerstore.FileSystem, error)
- func (_m *Client) GetFsSnapshotsByVolumeID(ctx context.Context, volID string) ([]gopowerstore.FileSystem, error)
- func (_m *Client) GetHost(ctx context.Context, id string) (gopowerstore.Host, error)
- func (_m *Client) GetHostByName(ctx context.Context, name string) (gopowerstore.Host, error)
- func (_m *Client) GetHostGroup(ctx context.Context, id string) (gopowerstore.HostGroup, error)
- func (_m *Client) GetHostGroupByName(ctx context.Context, name string) (gopowerstore.HostGroup, error)
- func (_m *Client) GetHostGroups(ctx context.Context) ([]gopowerstore.HostGroup, error)
- func (_m *Client) GetHostVolumeMapping(ctx context.Context, id string) (gopowerstore.HostVolumeMapping, error)
- func (_m *Client) GetHostVolumeMappingByVolumeID(ctx context.Context, volumeID string) ([]gopowerstore.HostVolumeMapping, error)
- func (_m *Client) GetHostVolumeMappings(ctx context.Context) ([]gopowerstore.HostVolumeMapping, error)
- func (_m *Client) GetHosts(ctx context.Context) ([]gopowerstore.Host, error)
- func (_m *Client) GetMaxVolumeSize(ctx context.Context) (int64, error)
- func (_m *Client) GetNAS(ctx context.Context, id string) (gopowerstore.NAS, error)
- func (_m *Client) GetNASByName(ctx context.Context, name string) (gopowerstore.NAS, error)
- func (_m *Client) GetNFSExportByFileSystemID(ctx context.Context, fsID string) (gopowerstore.NFSExport, error)
- func (_m *Client) GetNFSExportByName(ctx context.Context, name string) (gopowerstore.NFSExport, error)
- func (_m *Client) GetNfsServer(ctx context.Context, id string) (gopowerstore.NFSServerInstance, error)
- func (_m *Client) GetProtectionPolicies(ctx context.Context) ([]gopowerstore.ProtectionPolicy, error)
- func (_m *Client) GetProtectionPolicy(ctx context.Context, id string) (gopowerstore.ProtectionPolicy, error)
- func (_m *Client) GetProtectionPolicyByName(ctx context.Context, name string) (gopowerstore.ProtectionPolicy, error)
- func (_m *Client) GetRemoteSystem(ctx context.Context, id string) (gopowerstore.RemoteSystem, error)
- func (_m *Client) GetRemoteSystemByName(ctx context.Context, name string) (gopowerstore.RemoteSystem, error)
- func (_m *Client) GetReplicationRule(ctx context.Context, id string) (gopowerstore.ReplicationRule, error)
- func (_m *Client) GetReplicationRuleByName(ctx context.Context, name string) (gopowerstore.ReplicationRule, error)
- func (_m *Client) GetReplicationSessionByID(ctx context.Context, id string) (gopowerstore.ReplicationSession, error)
- func (_m *Client) GetReplicationSessionByLocalResourceID(ctx context.Context, id string) (gopowerstore.ReplicationSession, error)
- func (_m *Client) GetSnapshot(ctx context.Context, snapID string) (gopowerstore.Volume, error)
- func (_m *Client) GetSnapshotByName(ctx context.Context, snapName string) (gopowerstore.Volume, error)
- func (_m *Client) GetSnapshotRule(ctx context.Context, id string) (gopowerstore.SnapshotRule, error)
- func (_m *Client) GetSnapshotRuleByName(ctx context.Context, name string) (gopowerstore.SnapshotRule, error)
- func (_m *Client) GetSnapshotRules(ctx context.Context) ([]gopowerstore.SnapshotRule, error)
- func (_m *Client) GetSnapshots(ctx context.Context) ([]gopowerstore.Volume, error)
- func (_m *Client) GetSnapshotsByVolumeID(ctx context.Context, volID string) ([]gopowerstore.Volume, error)
- func (_m *Client) GetSoftwareInstalled(ctx context.Context) ([]gopowerstore.SoftwareInstalled, error)
- func (_m *Client) GetSoftwareMajorMinorVersion(ctx context.Context) (float32, error)
- func (_m *Client) GetStorageContainer(ctx context.Context, id string) (gopowerstore.StorageContainer, error)
- func (_m *Client) GetStorageISCSITargetAddresses(ctx context.Context) ([]gopowerstore.IPPoolAddress, error)
- func (_m *Client) GetStorageNVMETCPTargetAddresses(ctx context.Context) ([]gopowerstore.IPPoolAddress, error)
- func (_m *Client) GetVolume(ctx context.Context, id string) (gopowerstore.Volume, error)
- func (_m *Client) GetVolumeByName(ctx context.Context, name string) (gopowerstore.Volume, error)
- func (_m *Client) GetVolumeGroup(ctx context.Context, id string) (gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroupByName(ctx context.Context, name string) (gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroupSnapshot(ctx context.Context, snapID string) (gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroupSnapshotByName(ctx context.Context, snapName string) (gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroupSnapshots(ctx context.Context) ([]gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroups(ctx context.Context) ([]gopowerstore.VolumeGroup, error)
- func (_m *Client) GetVolumeGroupsByVolumeID(ctx context.Context, id string) (gopowerstore.VolumeGroups, error)
- func (_m *Client) GetVolumes(ctx context.Context) ([]gopowerstore.Volume, error)
- func (_m *Client) ModifyFS(ctx context.Context, modifyParams *gopowerstore.FSModify, volID string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyHost(ctx context.Context, modifyParams *gopowerstore.HostModify, id string) (gopowerstore.CreateResponse, error)
- func (_m *Client) ModifyHostGroup(ctx context.Context, modifyParams *gopowerstore.HostGroupModify, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyNFSExport(ctx context.Context, modifyParams *gopowerstore.NFSExportModify, id string) (gopowerstore.CreateResponse, error)
- func (_m *Client) ModifyProtectionPolicy(ctx context.Context, modifyParams *gopowerstore.ProtectionPolicyCreate, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifySnapshotRule(ctx context.Context, modifyParams *gopowerstore.SnapshotRuleCreate, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyStorageContainer(ctx context.Context, modifyParams *gopowerstore.StorageContainer, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyVolume(ctx context.Context, modifyParams *gopowerstore.VolumeModify, volID string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyVolumeGroup(ctx context.Context, modifyParams *gopowerstore.VolumeGroupModify, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) ModifyVolumeGroupSnapshot(ctx context.Context, modifyParams *gopowerstore.VolumeGroupSnapshotModify, ...) (gopowerstore.EmptyResponse, error)
- func (_m *Client) PerformanceMetricsByAppliance(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByApplianceResponse, error)
- func (_m *Client) PerformanceMetricsByCluster(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByClusterResponse, error)
- func (_m *Client) PerformanceMetricsByFeEthNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByFeEthNodeResponse, error)
- func (_m *Client) PerformanceMetricsByFeEthPort(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByFeEthPortResponse, error)
- func (_m *Client) PerformanceMetricsByFeFcNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByFeFcNodeResponse, error)
- func (_m *Client) PerformanceMetricsByFeFcPort(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByFeFcPortResponse, error)
- func (_m *Client) PerformanceMetricsByFileSystem(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByFileSystemResponse, error)
- func (_m *Client) PerformanceMetricsByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByNodeResponse, error)
- func (_m *Client) PerformanceMetricsByVM(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByVMResponse, error)
- func (_m *Client) PerformanceMetricsByVg(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByVgResponse, error)
- func (_m *Client) PerformanceMetricsByVolume(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByVolumeResponse, error)
- func (_m *Client) PerformanceMetricsNfsByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByNfsResponse, error)
- func (_m *Client) PerformanceMetricsNfsv3ByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByNfsv3Response, error)
- func (_m *Client) PerformanceMetricsNfsv4ByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsByNfsv4Response, error)
- func (_m *Client) PerformanceMetricsSmb1BuiltinclientByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbV1BuiltinClientResponse, error)
- func (_m *Client) PerformanceMetricsSmb1ByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbV1NodeResponse, error)
- func (_m *Client) PerformanceMetricsSmb2BuiltinclientByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbV2BuiltinClientResponse, error)
- func (_m *Client) PerformanceMetricsSmb2ByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbV2NodeResponse, error)
- func (_m *Client) PerformanceMetricsSmbBranchCacheByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbCacheResponse, error)
- func (_m *Client) PerformanceMetricsSmbBuiltinclientByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbClientResponse, error)
- func (_m *Client) PerformanceMetricsSmbByNode(ctx context.Context, entityID string, ...) ([]gopowerstore.PerformanceMetricsBySmbNodeResponse, error)
- func (_m *Client) RemoveMembersFromVolumeGroup(ctx context.Context, params *gopowerstore.VolumeGroupMembers, id string) (gopowerstore.EmptyResponse, error)
- func (_m *Client) SetCustomHTTPHeaders(headers http.Header)
- func (_m *Client) SetLogger(logger gopowerstore.Logger)
- func (_m *Client) SetTraceID(ctx context.Context, value string) context.Context
- func (_m *Client) SpaceMetricsByAppliance(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByApplianceResponse, error)
- func (_m *Client) SpaceMetricsByCluster(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByClusterResponse, error)
- func (_m *Client) SpaceMetricsByStorageContainer(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByStorageContainerResponse, error)
- func (_m *Client) SpaceMetricsByVM(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByVMResponse, error)
- func (_m *Client) SpaceMetricsByVolume(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByVolumeResponse, error)
- func (_m *Client) SpaceMetricsByVolumeFamily(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByVolumeFamilyResponse, error)
- func (_m *Client) SpaceMetricsByVolumeGroup(ctx context.Context, entityID string, ...) ([]gopowerstore.SpaceMetricsByVolumeGroupResponse, error)
- func (_m *Client) UpdateVolumeGroupProtectionPolicy(ctx context.Context, id string, params *gopowerstore.VolumeGroupChangePolicy) (gopowerstore.EmptyResponse, error)
- func (_m *Client) VolumeMirrorTransferRate(ctx context.Context, entityID string) ([]gopowerstore.VolumeMirrorTransferRateResponse, error)
- func (_m *Client) WearMetricsByDrive(ctx context.Context, entityID string, ...) ([]gopowerstore.WearMetricsByDriveResponse, error)
- type FieldProvider
- type Logger
- type QueryParamsEncoder
- func (_m *QueryParamsEncoder) Async(_a0 bool) api.QueryParamsEncoder
- func (_m *QueryParamsEncoder) Encode() string
- func (_m *QueryParamsEncoder) Limit(_a0 int) api.QueryParamsEncoder
- func (_m *QueryParamsEncoder) Offset(_a0 int) api.QueryParamsEncoder
- func (_m *QueryParamsEncoder) Order(_a0 ...string) api.QueryParamsEncoder
- func (_m *QueryParamsEncoder) RawArg(_a0 string, _a1 string) api.QueryParamsEncoder
- func (_m *QueryParamsEncoder) Select(_a0 ...string) api.QueryParamsEncoder
- type RequestConfigRenderer
- type TimeoutSemaphoreInterface
- type Traceable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
ApiClient is an autogenerated mock type for the ApiClient type
func NewApiClient ¶ added in v1.14.1
NewApiClient creates a new instance of ApiClient. 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 (*ApiClient) GetCustomHTTPHeaders ¶ added in v1.14.1
GetCustomHTTPHeaders provides a mock function with given fields:
func (*ApiClient) Query ¶
func (_m *ApiClient) Query(ctx context.Context, cfg api.RequestConfigRenderer, resp interface{}) (api.RespMeta, error)
Query provides a mock function with given fields: ctx, cfg, resp
func (*ApiClient) QueryParams ¶
func (_m *ApiClient) QueryParams() api.QueryParamsEncoder
QueryParams provides a mock function with given fields:
func (*ApiClient) QueryParamsWithFields ¶
func (_m *ApiClient) QueryParamsWithFields(provider api.FieldProvider) api.QueryParamsEncoder
QueryParamsWithFields provides a mock function with given fields: provider
func (*ApiClient) SetCustomHTTPHeaders ¶
SetCustomHTTPHeaders provides a mock function with given fields: headers
func (*ApiClient) SetTraceID ¶
SetTraceID provides a mock function with given fields: ctx, traceID
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v1.8.0
NewClient creates a new instance of Client. 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 (*Client) AddMembersToVolumeGroup ¶ added in v1.8.0
func (_m *Client) AddMembersToVolumeGroup(ctx context.Context, params *gopowerstore.VolumeGroupMembers, id string) (gopowerstore.EmptyResponse, error)
AddMembersToVolumeGroup provides a mock function with given fields: ctx, params, id
func (*Client) AttachVolumeToHost ¶
func (_m *Client) AttachVolumeToHost(ctx context.Context, hostID string, attachParams *gopowerstore.HostVolumeAttach) (gopowerstore.EmptyResponse, error)
AttachVolumeToHost provides a mock function with given fields: ctx, hostID, attachParams
func (*Client) AttachVolumeToHostGroup ¶ added in v1.10.0
func (_m *Client) AttachVolumeToHostGroup(ctx context.Context, hostGroupID string, attachParams *gopowerstore.HostVolumeAttach) (gopowerstore.EmptyResponse, error)
AttachVolumeToHostGroup provides a mock function with given fields: ctx, hostGroupID, attachParams
func (*Client) CloneFS ¶
func (_m *Client) CloneFS(ctx context.Context, createParams *gopowerstore.FsClone, fsID string) (gopowerstore.CreateResponse, error)
CloneFS provides a mock function with given fields: ctx, createParams, fsID
func (*Client) CloneVolume ¶
func (_m *Client) CloneVolume(ctx context.Context, createParams *gopowerstore.VolumeClone, volID string) (gopowerstore.CreateResponse, error)
CloneVolume provides a mock function with given fields: ctx, createParams, volID
func (*Client) ComputeDifferences ¶ added in v1.5.0
func (_m *Client) ComputeDifferences(ctx context.Context, snapdiffParams *gopowerstore.VolumeComputeDifferences, volID string) (gopowerstore.VolumeComputeDifferencesResponse, error)
ComputeDifferences provides a mock function with given fields: ctx, snapdiffParams, volID
func (*Client) ConfigureMetroVolume ¶ added in v1.16.0
func (_m *Client) ConfigureMetroVolume(ctx context.Context, id string, config *gopowerstore.MetroConfig) (gopowerstore.MetroSessionResponse, error)
ConfigureMetroVolume provides a mock function with given fields: ctx, id, config
func (*Client) ConfigureMetroVolumeGroup ¶ added in v1.16.0
func (_m *Client) ConfigureMetroVolumeGroup(ctx context.Context, id string, config *gopowerstore.MetroConfig) (gopowerstore.MetroSessionResponse, error)
ConfigureMetroVolumeGroup provides a mock function with given fields: ctx, id, config
func (*Client) CopyMetricsByAppliance ¶
func (_m *Client) CopyMetricsByAppliance(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.CopyMetricsByApplianceResponse, error)
CopyMetricsByAppliance provides a mock function with given fields: ctx, entityID, interval
func (*Client) CopyMetricsByCluster ¶
func (_m *Client) CopyMetricsByCluster(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.CopyMetricsByClusterResponse, error)
CopyMetricsByCluster provides a mock function with given fields: ctx, entityID, interval
func (*Client) CopyMetricsByRemoteSystem ¶
func (_m *Client) CopyMetricsByRemoteSystem(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.CopyMetricsByRemoteSystemResponse, error)
CopyMetricsByRemoteSystem provides a mock function with given fields: ctx, entityID, interval
func (*Client) CopyMetricsByVolume ¶
func (_m *Client) CopyMetricsByVolume(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.CopyMetricsByVolumeResponse, error)
CopyMetricsByVolume provides a mock function with given fields: ctx, entityID, interval
func (*Client) CopyMetricsByVolumeGroup ¶
func (_m *Client) CopyMetricsByVolumeGroup(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.CopyMetricsByVolumeGroupResponse, error)
CopyMetricsByVolumeGroup provides a mock function with given fields: ctx, entityID, interval
func (*Client) CreateFS ¶
func (_m *Client) CreateFS(ctx context.Context, createParams *gopowerstore.FsCreate) (gopowerstore.CreateResponse, error)
CreateFS provides a mock function with given fields: ctx, createParams
func (*Client) CreateFsFromSnapshot ¶
func (_m *Client) CreateFsFromSnapshot(ctx context.Context, createParams *gopowerstore.FsClone, snapID string) (gopowerstore.CreateResponse, error)
CreateFsFromSnapshot provides a mock function with given fields: ctx, createParams, snapID
func (*Client) CreateFsSnapshot ¶
func (_m *Client) CreateFsSnapshot(ctx context.Context, createSnapParams *gopowerstore.SnapshotFSCreate, id string) (gopowerstore.CreateResponse, error)
CreateFsSnapshot provides a mock function with given fields: ctx, createSnapParams, id
func (*Client) CreateHost ¶
func (_m *Client) CreateHost(ctx context.Context, createParams *gopowerstore.HostCreate) (gopowerstore.CreateResponse, error)
CreateHost provides a mock function with given fields: ctx, createParams
func (*Client) CreateHostGroup ¶ added in v1.12.0
func (_m *Client) CreateHostGroup(ctx context.Context, createParams *gopowerstore.HostGroupCreate) (gopowerstore.CreateResponse, error)
CreateHostGroup provides a mock function with given fields: ctx, createParams
func (*Client) CreateNAS ¶
func (_m *Client) CreateNAS(ctx context.Context, createParams *gopowerstore.NASCreate) (gopowerstore.CreateResponse, error)
CreateNAS provides a mock function with given fields: ctx, createParams
func (*Client) CreateNFSExport ¶
func (_m *Client) CreateNFSExport(ctx context.Context, createParams *gopowerstore.NFSExportCreate) (gopowerstore.CreateResponse, error)
CreateNFSExport provides a mock function with given fields: ctx, createParams
func (*Client) CreateNFSServer ¶
func (_m *Client) CreateNFSServer(ctx context.Context, createParams *gopowerstore.NFSServerCreate) (gopowerstore.CreateResponse, error)
CreateNFSServer provides a mock function with given fields: ctx, createParams
func (*Client) CreateProtectionPolicy ¶ added in v1.4.0
func (_m *Client) CreateProtectionPolicy(ctx context.Context, createParams *gopowerstore.ProtectionPolicyCreate) (gopowerstore.CreateResponse, error)
CreateProtectionPolicy provides a mock function with given fields: ctx, createParams
func (*Client) CreateReplicationRule ¶ added in v1.4.0
func (_m *Client) CreateReplicationRule(ctx context.Context, createParams *gopowerstore.ReplicationRuleCreate) (gopowerstore.CreateResponse, error)
CreateReplicationRule provides a mock function with given fields: ctx, createParams
func (*Client) CreateSnapshot ¶
func (_m *Client) CreateSnapshot(ctx context.Context, createSnapParams *gopowerstore.SnapshotCreate, id string) (gopowerstore.CreateResponse, error)
CreateSnapshot provides a mock function with given fields: ctx, createSnapParams, id
func (*Client) CreateSnapshotRule ¶ added in v1.10.0
func (_m *Client) CreateSnapshotRule(ctx context.Context, createParams *gopowerstore.SnapshotRuleCreate) (gopowerstore.CreateResponse, error)
CreateSnapshotRule provides a mock function with given fields: ctx, createParams
func (*Client) CreateStorageContainer ¶ added in v1.11.0
func (_m *Client) CreateStorageContainer(ctx context.Context, createParams *gopowerstore.StorageContainer) (gopowerstore.CreateResponse, error)
CreateStorageContainer provides a mock function with given fields: ctx, createParams
func (*Client) CreateVolume ¶
func (_m *Client) CreateVolume(ctx context.Context, createParams *gopowerstore.VolumeCreate) (gopowerstore.CreateResponse, error)
CreateVolume provides a mock function with given fields: ctx, createParams
func (*Client) CreateVolumeFromSnapshot ¶
func (_m *Client) CreateVolumeFromSnapshot(ctx context.Context, createParams *gopowerstore.VolumeClone, snapID string) (gopowerstore.CreateResponse, error)
CreateVolumeFromSnapshot provides a mock function with given fields: ctx, createParams, snapID
func (*Client) CreateVolumeGroup ¶ added in v1.4.0
func (_m *Client) CreateVolumeGroup(ctx context.Context, createParams *gopowerstore.VolumeGroupCreate) (gopowerstore.CreateResponse, error)
CreateVolumeGroup provides a mock function with given fields: ctx, createParams
func (*Client) CreateVolumeGroupSnapshot ¶ added in v1.8.0
func (_m *Client) CreateVolumeGroupSnapshot(ctx context.Context, volumeGroupID string, createParams *gopowerstore.VolumeGroupSnapshotCreate) (gopowerstore.CreateResponse, error)
CreateVolumeGroupSnapshot provides a mock function with given fields: ctx, volumeGroupID, createParams
func (*Client) DeleteFS ¶
func (_m *Client) DeleteFS(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteFS provides a mock function with given fields: ctx, id
func (*Client) DeleteFsSnapshot ¶
func (_m *Client) DeleteFsSnapshot(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteFsSnapshot provides a mock function with given fields: ctx, id
func (*Client) DeleteHost ¶
func (_m *Client) DeleteHost(ctx context.Context, deleteParams *gopowerstore.HostDelete, id string) (gopowerstore.EmptyResponse, error)
DeleteHost provides a mock function with given fields: ctx, deleteParams, id
func (*Client) DeleteHostGroup ¶ added in v1.12.0
func (_m *Client) DeleteHostGroup(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteHostGroup provides a mock function with given fields: ctx, id
func (*Client) DeleteNAS ¶
func (_m *Client) DeleteNAS(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteNAS provides a mock function with given fields: ctx, id
func (*Client) DeleteNFSExport ¶
func (_m *Client) DeleteNFSExport(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteNFSExport provides a mock function with given fields: ctx, id
func (*Client) DeleteProtectionPolicy ¶ added in v1.4.0
func (_m *Client) DeleteProtectionPolicy(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteProtectionPolicy provides a mock function with given fields: ctx, id
func (*Client) DeleteReplicationRule ¶ added in v1.4.0
func (_m *Client) DeleteReplicationRule(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteReplicationRule provides a mock function with given fields: ctx, id
func (*Client) DeleteSnapshot ¶
func (_m *Client) DeleteSnapshot(ctx context.Context, deleteParams *gopowerstore.VolumeDelete, id string) (gopowerstore.EmptyResponse, error)
DeleteSnapshot provides a mock function with given fields: ctx, deleteParams, id
func (*Client) DeleteSnapshotRule ¶ added in v1.10.0
func (_m *Client) DeleteSnapshotRule(ctx context.Context, deleteParams *gopowerstore.SnapshotRuleDelete, id string) (gopowerstore.EmptyResponse, error)
DeleteSnapshotRule provides a mock function with given fields: ctx, deleteParams, id
func (*Client) DeleteStorageContainer ¶ added in v1.11.0
func (_m *Client) DeleteStorageContainer(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteStorageContainer provides a mock function with given fields: ctx, id
func (*Client) DeleteVolume ¶
func (_m *Client) DeleteVolume(ctx context.Context, deleteParams *gopowerstore.VolumeDelete, id string) (gopowerstore.EmptyResponse, error)
DeleteVolume provides a mock function with given fields: ctx, deleteParams, id
func (*Client) DeleteVolumeGroup ¶ added in v1.4.0
func (_m *Client) DeleteVolumeGroup(ctx context.Context, id string) (gopowerstore.EmptyResponse, error)
DeleteVolumeGroup provides a mock function with given fields: ctx, id
func (*Client) DetachVolumeFromHost ¶
func (_m *Client) DetachVolumeFromHost(ctx context.Context, hostID string, detachParams *gopowerstore.HostVolumeDetach) (gopowerstore.EmptyResponse, error)
DetachVolumeFromHost provides a mock function with given fields: ctx, hostID, detachParams
func (*Client) DetachVolumeFromHostGroup ¶ added in v1.10.0
func (_m *Client) DetachVolumeFromHostGroup(ctx context.Context, hostGroupID string, detachParams *gopowerstore.HostVolumeDetach) (gopowerstore.EmptyResponse, error)
DetachVolumeFromHostGroup provides a mock function with given fields: ctx, hostGroupID, detachParams
func (*Client) EndMetroVolume ¶ added in v1.16.0
func (_m *Client) EndMetroVolume(ctx context.Context, id string, options *gopowerstore.EndMetroVolumeOptions) (gopowerstore.EmptyResponse, error)
EndMetroVolume provides a mock function with given fields: ctx, id, options
func (*Client) EndMetroVolumeGroup ¶ added in v1.16.0
func (_m *Client) EndMetroVolumeGroup(ctx context.Context, id string, options *gopowerstore.EndMetroVolumeGroupOptions) (gopowerstore.EmptyResponse, error)
EndMetroVolumeGroup provides a mock function with given fields: ctx, id, options
func (*Client) ExecuteActionOnReplicationSession ¶ added in v1.5.0
func (_m *Client) ExecuteActionOnReplicationSession(ctx context.Context, id string, actionType gopowerstore.ActionType, params *gopowerstore.FailoverParams) (gopowerstore.EmptyResponse, error)
ExecuteActionOnReplicationSession provides a mock function with given fields: ctx, id, actionType, params
func (*Client) GetAllRemoteSystems ¶ added in v1.4.0
func (_m *Client) GetAllRemoteSystems(ctx context.Context) ([]gopowerstore.RemoteSystem, error)
GetAllRemoteSystems provides a mock function with given fields: ctx
func (*Client) GetAppliance ¶ added in v1.10.0
func (_m *Client) GetAppliance(ctx context.Context, id string) (gopowerstore.ApplianceInstance, error)
GetAppliance provides a mock function with given fields: ctx, id
func (*Client) GetApplianceByName ¶ added in v1.10.0
func (_m *Client) GetApplianceByName(ctx context.Context, name string) (gopowerstore.ApplianceInstance, error)
GetApplianceByName provides a mock function with given fields: ctx, name
func (*Client) GetCapacity ¶
GetCapacity provides a mock function with given fields: ctx
func (*Client) GetCluster ¶ added in v1.4.0
GetCluster provides a mock function with given fields: ctx
func (*Client) GetCustomHTTPHeaders ¶ added in v1.8.0
GetCustomHTTPHeaders provides a mock function with given fields:
func (*Client) GetFCPorts ¶
GetFCPorts provides a mock function with given fields: ctx
func (*Client) GetFS ¶
func (_m *Client) GetFS(ctx context.Context, id string) (gopowerstore.FileSystem, error)
GetFS provides a mock function with given fields: ctx, id
func (*Client) GetFSByName ¶
func (_m *Client) GetFSByName(ctx context.Context, name string) (gopowerstore.FileSystem, error)
GetFSByName provides a mock function with given fields: ctx, name
func (*Client) GetFileInterface ¶
func (_m *Client) GetFileInterface(ctx context.Context, id string) (gopowerstore.FileInterface, error)
GetFileInterface provides a mock function with given fields: ctx, id
func (*Client) GetFsSnapshot ¶
func (_m *Client) GetFsSnapshot(ctx context.Context, snapID string) (gopowerstore.FileSystem, error)
GetFsSnapshot provides a mock function with given fields: ctx, snapID
func (*Client) GetFsSnapshots ¶
func (_m *Client) GetFsSnapshots(ctx context.Context) ([]gopowerstore.FileSystem, error)
GetFsSnapshots provides a mock function with given fields: ctx
func (*Client) GetFsSnapshotsByVolumeID ¶
func (_m *Client) GetFsSnapshotsByVolumeID(ctx context.Context, volID string) ([]gopowerstore.FileSystem, error)
GetFsSnapshotsByVolumeID provides a mock function with given fields: ctx, volID
func (*Client) GetHostByName ¶
GetHostByName provides a mock function with given fields: ctx, name
func (*Client) GetHostGroup ¶ added in v1.12.0
GetHostGroup provides a mock function with given fields: ctx, id
func (*Client) GetHostGroupByName ¶ added in v1.11.0
func (_m *Client) GetHostGroupByName(ctx context.Context, name string) (gopowerstore.HostGroup, error)
GetHostGroupByName provides a mock function with given fields: ctx, name
func (*Client) GetHostGroups ¶ added in v1.13.0
GetHostGroups provides a mock function with given fields: ctx
func (*Client) GetHostVolumeMapping ¶
func (_m *Client) GetHostVolumeMapping(ctx context.Context, id string) (gopowerstore.HostVolumeMapping, error)
GetHostVolumeMapping provides a mock function with given fields: ctx, id
func (*Client) GetHostVolumeMappingByVolumeID ¶
func (_m *Client) GetHostVolumeMappingByVolumeID(ctx context.Context, volumeID string) ([]gopowerstore.HostVolumeMapping, error)
GetHostVolumeMappingByVolumeID provides a mock function with given fields: ctx, volumeID
func (*Client) GetHostVolumeMappings ¶
func (_m *Client) GetHostVolumeMappings(ctx context.Context) ([]gopowerstore.HostVolumeMapping, error)
GetHostVolumeMappings provides a mock function with given fields: ctx
func (*Client) GetMaxVolumeSize ¶ added in v1.14.0
GetMaxVolumeSize provides a mock function with given fields: ctx
func (*Client) GetNASByName ¶
GetNASByName provides a mock function with given fields: ctx, name
func (*Client) GetNFSExportByFileSystemID ¶
func (_m *Client) GetNFSExportByFileSystemID(ctx context.Context, fsID string) (gopowerstore.NFSExport, error)
GetNFSExportByFileSystemID provides a mock function with given fields: ctx, fsID
func (*Client) GetNFSExportByName ¶
func (_m *Client) GetNFSExportByName(ctx context.Context, name string) (gopowerstore.NFSExport, error)
GetNFSExportByName provides a mock function with given fields: ctx, name
func (*Client) GetNfsServer ¶ added in v1.7.0
func (_m *Client) GetNfsServer(ctx context.Context, id string) (gopowerstore.NFSServerInstance, error)
GetNfsServer provides a mock function with given fields: ctx, id
func (*Client) GetProtectionPolicies ¶ added in v1.12.0
func (_m *Client) GetProtectionPolicies(ctx context.Context) ([]gopowerstore.ProtectionPolicy, error)
GetProtectionPolicies provides a mock function with given fields: ctx
func (*Client) GetProtectionPolicy ¶ added in v1.11.0
func (_m *Client) GetProtectionPolicy(ctx context.Context, id string) (gopowerstore.ProtectionPolicy, error)
GetProtectionPolicy provides a mock function with given fields: ctx, id
func (*Client) GetProtectionPolicyByName ¶ added in v1.4.0
func (_m *Client) GetProtectionPolicyByName(ctx context.Context, name string) (gopowerstore.ProtectionPolicy, error)
GetProtectionPolicyByName provides a mock function with given fields: ctx, name
func (*Client) GetRemoteSystem ¶ added in v1.4.0
func (_m *Client) GetRemoteSystem(ctx context.Context, id string) (gopowerstore.RemoteSystem, error)
GetRemoteSystem provides a mock function with given fields: ctx, id
func (*Client) GetRemoteSystemByName ¶ added in v1.4.0
func (_m *Client) GetRemoteSystemByName(ctx context.Context, name string) (gopowerstore.RemoteSystem, error)
GetRemoteSystemByName provides a mock function with given fields: ctx, name
func (*Client) GetReplicationRule ¶ added in v1.11.0
func (_m *Client) GetReplicationRule(ctx context.Context, id string) (gopowerstore.ReplicationRule, error)
GetReplicationRule provides a mock function with given fields: ctx, id
func (*Client) GetReplicationRuleByName ¶ added in v1.4.0
func (_m *Client) GetReplicationRuleByName(ctx context.Context, name string) (gopowerstore.ReplicationRule, error)
GetReplicationRuleByName provides a mock function with given fields: ctx, name
func (*Client) GetReplicationSessionByID ¶ added in v1.5.0
func (_m *Client) GetReplicationSessionByID(ctx context.Context, id string) (gopowerstore.ReplicationSession, error)
GetReplicationSessionByID provides a mock function with given fields: ctx, id
func (*Client) GetReplicationSessionByLocalResourceID ¶ added in v1.4.0
func (_m *Client) GetReplicationSessionByLocalResourceID(ctx context.Context, id string) (gopowerstore.ReplicationSession, error)
GetReplicationSessionByLocalResourceID provides a mock function with given fields: ctx, id
func (*Client) GetSnapshot ¶
GetSnapshot provides a mock function with given fields: ctx, snapID
func (*Client) GetSnapshotByName ¶ added in v1.12.0
func (_m *Client) GetSnapshotByName(ctx context.Context, snapName string) (gopowerstore.Volume, error)
GetSnapshotByName provides a mock function with given fields: ctx, snapName
func (*Client) GetSnapshotRule ¶ added in v1.10.0
func (_m *Client) GetSnapshotRule(ctx context.Context, id string) (gopowerstore.SnapshotRule, error)
GetSnapshotRule provides a mock function with given fields: ctx, id
func (*Client) GetSnapshotRuleByName ¶ added in v1.13.0
func (_m *Client) GetSnapshotRuleByName(ctx context.Context, name string) (gopowerstore.SnapshotRule, error)
GetSnapshotRuleByName provides a mock function with given fields: ctx, name
func (*Client) GetSnapshotRules ¶ added in v1.10.0
func (_m *Client) GetSnapshotRules(ctx context.Context) ([]gopowerstore.SnapshotRule, error)
GetSnapshotRules provides a mock function with given fields: ctx
func (*Client) GetSnapshots ¶
GetSnapshots provides a mock function with given fields: ctx
func (*Client) GetSnapshotsByVolumeID ¶
func (_m *Client) GetSnapshotsByVolumeID(ctx context.Context, volID string) ([]gopowerstore.Volume, error)
GetSnapshotsByVolumeID provides a mock function with given fields: ctx, volID
func (*Client) GetSoftwareInstalled ¶ added in v1.8.0
func (_m *Client) GetSoftwareInstalled(ctx context.Context) ([]gopowerstore.SoftwareInstalled, error)
GetSoftwareInstalled provides a mock function with given fields: ctx
func (*Client) GetSoftwareMajorMinorVersion ¶ added in v1.8.0
GetSoftwareMajorMinorVersion provides a mock function with given fields: ctx
func (*Client) GetStorageContainer ¶ added in v1.11.0
func (_m *Client) GetStorageContainer(ctx context.Context, id string) (gopowerstore.StorageContainer, error)
GetStorageContainer provides a mock function with given fields: ctx, id
func (*Client) GetStorageISCSITargetAddresses ¶
func (_m *Client) GetStorageISCSITargetAddresses(ctx context.Context) ([]gopowerstore.IPPoolAddress, error)
GetStorageISCSITargetAddresses provides a mock function with given fields: ctx
func (*Client) GetStorageNVMETCPTargetAddresses ¶ added in v1.14.1
func (_m *Client) GetStorageNVMETCPTargetAddresses(ctx context.Context) ([]gopowerstore.IPPoolAddress, error)
GetStorageNVMETCPTargetAddresses provides a mock function with given fields: ctx
func (*Client) GetVolumeByName ¶
GetVolumeByName provides a mock function with given fields: ctx, name
func (*Client) GetVolumeGroup ¶ added in v1.4.0
func (_m *Client) GetVolumeGroup(ctx context.Context, id string) (gopowerstore.VolumeGroup, error)
GetVolumeGroup provides a mock function with given fields: ctx, id
func (*Client) GetVolumeGroupByName ¶ added in v1.4.0
func (_m *Client) GetVolumeGroupByName(ctx context.Context, name string) (gopowerstore.VolumeGroup, error)
GetVolumeGroupByName provides a mock function with given fields: ctx, name
func (*Client) GetVolumeGroupSnapshot ¶ added in v1.12.0
func (_m *Client) GetVolumeGroupSnapshot(ctx context.Context, snapID string) (gopowerstore.VolumeGroup, error)
GetVolumeGroupSnapshot provides a mock function with given fields: ctx, snapID
func (*Client) GetVolumeGroupSnapshotByName ¶ added in v1.12.0
func (_m *Client) GetVolumeGroupSnapshotByName(ctx context.Context, snapName string) (gopowerstore.VolumeGroup, error)
GetVolumeGroupSnapshotByName provides a mock function with given fields: ctx, snapName
func (*Client) GetVolumeGroupSnapshots ¶ added in v1.12.0
func (_m *Client) GetVolumeGroupSnapshots(ctx context.Context) ([]gopowerstore.VolumeGroup, error)
GetVolumeGroupSnapshots provides a mock function with given fields: ctx
func (*Client) GetVolumeGroups ¶ added in v1.12.0
func (_m *Client) GetVolumeGroups(ctx context.Context) ([]gopowerstore.VolumeGroup, error)
GetVolumeGroups provides a mock function with given fields: ctx
func (*Client) GetVolumeGroupsByVolumeID ¶ added in v1.4.0
func (_m *Client) GetVolumeGroupsByVolumeID(ctx context.Context, id string) (gopowerstore.VolumeGroups, error)
GetVolumeGroupsByVolumeID provides a mock function with given fields: ctx, id
func (*Client) GetVolumes ¶
GetVolumes provides a mock function with given fields: ctx
func (*Client) ModifyFS ¶
func (_m *Client) ModifyFS(ctx context.Context, modifyParams *gopowerstore.FSModify, volID string) (gopowerstore.EmptyResponse, error)
ModifyFS provides a mock function with given fields: ctx, modifyParams, volID
func (*Client) ModifyHost ¶
func (_m *Client) ModifyHost(ctx context.Context, modifyParams *gopowerstore.HostModify, id string) (gopowerstore.CreateResponse, error)
ModifyHost provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyHostGroup ¶ added in v1.12.0
func (_m *Client) ModifyHostGroup(ctx context.Context, modifyParams *gopowerstore.HostGroupModify, id string) (gopowerstore.EmptyResponse, error)
ModifyHostGroup provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyNFSExport ¶
func (_m *Client) ModifyNFSExport(ctx context.Context, modifyParams *gopowerstore.NFSExportModify, id string) (gopowerstore.CreateResponse, error)
ModifyNFSExport provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyProtectionPolicy ¶ added in v1.11.0
func (_m *Client) ModifyProtectionPolicy(ctx context.Context, modifyParams *gopowerstore.ProtectionPolicyCreate, id string) (gopowerstore.EmptyResponse, error)
ModifyProtectionPolicy provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifySnapshotRule ¶ added in v1.10.0
func (_m *Client) ModifySnapshotRule(ctx context.Context, modifyParams *gopowerstore.SnapshotRuleCreate, id string) (gopowerstore.EmptyResponse, error)
ModifySnapshotRule provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyStorageContainer ¶ added in v1.11.0
func (_m *Client) ModifyStorageContainer(ctx context.Context, modifyParams *gopowerstore.StorageContainer, id string) (gopowerstore.EmptyResponse, error)
ModifyStorageContainer provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyVolume ¶
func (_m *Client) ModifyVolume(ctx context.Context, modifyParams *gopowerstore.VolumeModify, volID string) (gopowerstore.EmptyResponse, error)
ModifyVolume provides a mock function with given fields: ctx, modifyParams, volID
func (*Client) ModifyVolumeGroup ¶ added in v1.4.0
func (_m *Client) ModifyVolumeGroup(ctx context.Context, modifyParams *gopowerstore.VolumeGroupModify, id string) (gopowerstore.EmptyResponse, error)
ModifyVolumeGroup provides a mock function with given fields: ctx, modifyParams, id
func (*Client) ModifyVolumeGroupSnapshot ¶ added in v1.15.0
func (_m *Client) ModifyVolumeGroupSnapshot(ctx context.Context, modifyParams *gopowerstore.VolumeGroupSnapshotModify, id string) (gopowerstore.EmptyResponse, error)
ModifyVolumeGroupSnapshot provides a mock function with given fields: ctx, modifyParams, id
func (*Client) PerformanceMetricsByAppliance ¶
func (_m *Client) PerformanceMetricsByAppliance(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByApplianceResponse, error)
PerformanceMetricsByAppliance provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByCluster ¶
func (_m *Client) PerformanceMetricsByCluster(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByClusterResponse, error)
PerformanceMetricsByCluster provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByFeEthNode ¶
func (_m *Client) PerformanceMetricsByFeEthNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByFeEthNodeResponse, error)
PerformanceMetricsByFeEthNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByFeEthPort ¶
func (_m *Client) PerformanceMetricsByFeEthPort(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByFeEthPortResponse, error)
PerformanceMetricsByFeEthPort provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByFeFcNode ¶
func (_m *Client) PerformanceMetricsByFeFcNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByFeFcNodeResponse, error)
PerformanceMetricsByFeFcNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByFeFcPort ¶
func (_m *Client) PerformanceMetricsByFeFcPort(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByFeFcPortResponse, error)
PerformanceMetricsByFeFcPort provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByFileSystem ¶
func (_m *Client) PerformanceMetricsByFileSystem(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByFileSystemResponse, error)
PerformanceMetricsByFileSystem provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByNode ¶
func (_m *Client) PerformanceMetricsByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByNodeResponse, error)
PerformanceMetricsByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByVM ¶
func (_m *Client) PerformanceMetricsByVM(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByVMResponse, error)
PerformanceMetricsByVM provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByVg ¶
func (_m *Client) PerformanceMetricsByVg(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByVgResponse, error)
PerformanceMetricsByVg provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsByVolume ¶
func (_m *Client) PerformanceMetricsByVolume(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByVolumeResponse, error)
PerformanceMetricsByVolume provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsNfsByNode ¶
func (_m *Client) PerformanceMetricsNfsByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByNfsResponse, error)
PerformanceMetricsNfsByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsNfsv3ByNode ¶
func (_m *Client) PerformanceMetricsNfsv3ByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByNfsv3Response, error)
PerformanceMetricsNfsv3ByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsNfsv4ByNode ¶
func (_m *Client) PerformanceMetricsNfsv4ByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsByNfsv4Response, error)
PerformanceMetricsNfsv4ByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmb1BuiltinclientByNode ¶
func (_m *Client) PerformanceMetricsSmb1BuiltinclientByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbV1BuiltinClientResponse, error)
PerformanceMetricsSmb1BuiltinclientByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmb1ByNode ¶
func (_m *Client) PerformanceMetricsSmb1ByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbV1NodeResponse, error)
PerformanceMetricsSmb1ByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmb2BuiltinclientByNode ¶
func (_m *Client) PerformanceMetricsSmb2BuiltinclientByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbV2BuiltinClientResponse, error)
PerformanceMetricsSmb2BuiltinclientByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmb2ByNode ¶
func (_m *Client) PerformanceMetricsSmb2ByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbV2NodeResponse, error)
PerformanceMetricsSmb2ByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmbBranchCacheByNode ¶
func (_m *Client) PerformanceMetricsSmbBranchCacheByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbCacheResponse, error)
PerformanceMetricsSmbBranchCacheByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmbBuiltinclientByNode ¶
func (_m *Client) PerformanceMetricsSmbBuiltinclientByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbClientResponse, error)
PerformanceMetricsSmbBuiltinclientByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) PerformanceMetricsSmbByNode ¶
func (_m *Client) PerformanceMetricsSmbByNode(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.PerformanceMetricsBySmbNodeResponse, error)
PerformanceMetricsSmbByNode provides a mock function with given fields: ctx, entityID, interval
func (*Client) RemoveMembersFromVolumeGroup ¶ added in v1.4.0
func (_m *Client) RemoveMembersFromVolumeGroup(ctx context.Context, params *gopowerstore.VolumeGroupMembers, id string) (gopowerstore.EmptyResponse, error)
RemoveMembersFromVolumeGroup provides a mock function with given fields: ctx, params, id
func (*Client) SetCustomHTTPHeaders ¶
SetCustomHTTPHeaders provides a mock function with given fields: headers
func (*Client) SetLogger ¶
func (_m *Client) SetLogger(logger gopowerstore.Logger)
SetLogger provides a mock function with given fields: logger
func (*Client) SetTraceID ¶
SetTraceID provides a mock function with given fields: ctx, value
func (*Client) SpaceMetricsByAppliance ¶
func (_m *Client) SpaceMetricsByAppliance(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByApplianceResponse, error)
SpaceMetricsByAppliance provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByCluster ¶
func (_m *Client) SpaceMetricsByCluster(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByClusterResponse, error)
SpaceMetricsByCluster provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByStorageContainer ¶
func (_m *Client) SpaceMetricsByStorageContainer(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByStorageContainerResponse, error)
SpaceMetricsByStorageContainer provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByVM ¶
func (_m *Client) SpaceMetricsByVM(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByVMResponse, error)
SpaceMetricsByVM provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByVolume ¶
func (_m *Client) SpaceMetricsByVolume(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByVolumeResponse, error)
SpaceMetricsByVolume provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByVolumeFamily ¶
func (_m *Client) SpaceMetricsByVolumeFamily(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByVolumeFamilyResponse, error)
SpaceMetricsByVolumeFamily provides a mock function with given fields: ctx, entityID, interval
func (*Client) SpaceMetricsByVolumeGroup ¶
func (_m *Client) SpaceMetricsByVolumeGroup(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.SpaceMetricsByVolumeGroupResponse, error)
SpaceMetricsByVolumeGroup provides a mock function with given fields: ctx, entityID, interval
func (*Client) UpdateVolumeGroupProtectionPolicy ¶ added in v1.4.0
func (_m *Client) UpdateVolumeGroupProtectionPolicy(ctx context.Context, id string, params *gopowerstore.VolumeGroupChangePolicy) (gopowerstore.EmptyResponse, error)
UpdateVolumeGroupProtectionPolicy provides a mock function with given fields: ctx, id, params
func (*Client) VolumeMirrorTransferRate ¶ added in v1.16.0
func (_m *Client) VolumeMirrorTransferRate(ctx context.Context, entityID string) ([]gopowerstore.VolumeMirrorTransferRateResponse, error)
func (*Client) WearMetricsByDrive ¶
func (_m *Client) WearMetricsByDrive(ctx context.Context, entityID string, interval gopowerstore.MetricsIntervalEnum) ([]gopowerstore.WearMetricsByDriveResponse, error)
WearMetricsByDrive provides a mock function with given fields: ctx, entityID, interval
type FieldProvider ¶
FieldProvider is an autogenerated mock type for the FieldProvider type
func NewFieldProvider ¶ added in v1.14.1
func NewFieldProvider(t interface { mock.TestingT Cleanup(func()) }) *FieldProvider
NewFieldProvider creates a new instance of FieldProvider. 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 (*FieldProvider) Fields ¶
func (_m *FieldProvider) Fields() []string
Fields provides a mock function with given fields:
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶ added in v1.14.1
NewLogger creates a new instance of Logger. 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.
type QueryParamsEncoder ¶
QueryParamsEncoder is an autogenerated mock type for the QueryParamsEncoder type
func NewQueryParamsEncoder ¶ added in v1.14.1
func NewQueryParamsEncoder(t interface { mock.TestingT Cleanup(func()) }) *QueryParamsEncoder
NewQueryParamsEncoder creates a new instance of QueryParamsEncoder. 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 (*QueryParamsEncoder) Async ¶
func (_m *QueryParamsEncoder) Async(_a0 bool) api.QueryParamsEncoder
Async provides a mock function with given fields: _a0
func (*QueryParamsEncoder) Encode ¶
func (_m *QueryParamsEncoder) Encode() string
Encode provides a mock function with given fields:
func (*QueryParamsEncoder) Limit ¶
func (_m *QueryParamsEncoder) Limit(_a0 int) api.QueryParamsEncoder
Limit provides a mock function with given fields: _a0
func (*QueryParamsEncoder) Offset ¶
func (_m *QueryParamsEncoder) Offset(_a0 int) api.QueryParamsEncoder
Offset provides a mock function with given fields: _a0
func (*QueryParamsEncoder) Order ¶
func (_m *QueryParamsEncoder) Order(_a0 ...string) api.QueryParamsEncoder
Order provides a mock function with given fields: _a0
func (*QueryParamsEncoder) RawArg ¶
func (_m *QueryParamsEncoder) RawArg(_a0 string, _a1 string) api.QueryParamsEncoder
RawArg provides a mock function with given fields: _a0, _a1
func (*QueryParamsEncoder) Select ¶
func (_m *QueryParamsEncoder) Select(_a0 ...string) api.QueryParamsEncoder
Select provides a mock function with given fields: _a0
type RequestConfigRenderer ¶
RequestConfigRenderer is an autogenerated mock type for the RequestConfigRenderer type
func NewRequestConfigRenderer ¶ added in v1.14.1
func NewRequestConfigRenderer(t interface { mock.TestingT Cleanup(func()) }) *RequestConfigRenderer
NewRequestConfigRenderer creates a new instance of RequestConfigRenderer. 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 (*RequestConfigRenderer) RenderRequestConfig ¶
func (_m *RequestConfigRenderer) RenderRequestConfig() api.RequestConfig
RenderRequestConfig provides a mock function with given fields:
type TimeoutSemaphoreInterface ¶
TimeoutSemaphoreInterface is an autogenerated mock type for the TimeoutSemaphoreInterface type
func NewTimeoutSemaphoreInterface ¶ added in v1.14.1
func NewTimeoutSemaphoreInterface(t interface { mock.TestingT Cleanup(func()) }) *TimeoutSemaphoreInterface
NewTimeoutSemaphoreInterface creates a new instance of TimeoutSemaphoreInterface. 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 (*TimeoutSemaphoreInterface) Acquire ¶
func (_m *TimeoutSemaphoreInterface) Acquire(ctx context.Context) error
Acquire provides a mock function with given fields: ctx
func (*TimeoutSemaphoreInterface) Release ¶
func (_m *TimeoutSemaphoreInterface) Release(ctx context.Context)
Release provides a mock function with given fields: ctx
func (*TimeoutSemaphoreInterface) SetLogger ¶
func (_m *TimeoutSemaphoreInterface) SetLogger(logger api.Logger) api.TimeoutSemaphoreInterface
SetLogger provides a mock function with given fields: logger
type Traceable ¶
Traceable is an autogenerated mock type for the Traceable type
func NewTraceable ¶ added in v1.14.1
NewTraceable creates a new instance of Traceable. 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 (*Traceable) SetTraceID ¶
SetTraceID provides a mock function with given fields: ctx, traceID