Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) ClusterInfo(params *clientvolume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.ClusterInfoOK, error)
- func (_m *ClientService) DeleteSnapshot(params *clientvolume.DeleteSnapshotParams, ...) (*clientvolume.DeleteSnapshotOK, error)
- func (_m *ClientService) DeleteVolume(params *clientvolume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.DeleteVolumeOK, error)
- func (_m *ClientService) FindSnapshots(params *clientvolume.FindSnapshotsParams, ...) (*clientvolume.FindSnapshotsOK, error)
- func (_m *ClientService) FindVolumes(params *clientvolume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.FindVolumesOK, error)
- func (_m *ClientService) GetSnapshot(params *clientvolume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.GetSnapshotOK, error)
- func (_m *ClientService) GetVolume(params *clientvolume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.GetVolumeOK, error)
- func (_m *ClientService) ListPolicies(params *clientvolume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.ListPoliciesOK, error)
- func (_m *ClientService) ListVolumes(params *clientvolume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientvolume.ListVolumesOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) SetVolumeQoSPolicy(params *clientvolume.SetVolumeQoSPolicyParams, ...) (*clientvolume.SetVolumeQoSPolicyOK, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
ClientOption is an autogenerated mock type for the ClientOption type
func NewClientOption ¶ added in v0.18.21
func NewClientOption(t interface { mock.TestingT Cleanup(func()) }) *ClientOption
NewClientOption creates a new instance of ClientOption. 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 (*ClientOption) Execute ¶
func (_m *ClientOption) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type ClientService ¶
ClientService is an autogenerated mock type for the ClientService type
func NewClientService ¶ added in v0.18.21
func NewClientService(t interface { mock.TestingT Cleanup(func()) }) *ClientService
NewClientService creates a new instance of ClientService. 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 (*ClientService) ClusterInfo ¶
func (_m *ClientService) ClusterInfo(params *clientvolume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.ClusterInfoOK, error)
ClusterInfo provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteSnapshot ¶ added in v0.20.0
func (_m *ClientService) DeleteSnapshot(params *clientvolume.DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.DeleteSnapshotOK, error)
DeleteSnapshot provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteVolume ¶
func (_m *ClientService) DeleteVolume(params *clientvolume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.DeleteVolumeOK, error)
DeleteVolume provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindSnapshots ¶ added in v0.20.0
func (_m *ClientService) FindSnapshots(params *clientvolume.FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.FindSnapshotsOK, error)
FindSnapshots provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindVolumes ¶
func (_m *ClientService) FindVolumes(params *clientvolume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.FindVolumesOK, error)
FindVolumes provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetSnapshot ¶ added in v0.20.0
func (_m *ClientService) GetSnapshot(params *clientvolume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.GetSnapshotOK, error)
GetSnapshot provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetVolume ¶ added in v0.17.15
func (_m *ClientService) GetVolume(params *clientvolume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.GetVolumeOK, error)
GetVolume provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListPolicies ¶ added in v0.26.5
func (_m *ClientService) ListPolicies(params *clientvolume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.ListPoliciesOK, error)
ListPolicies provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListVolumes ¶
func (_m *ClientService) ListVolumes(params *clientvolume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.ListVolumesOK, error)
ListVolumes provides a mock function with given fields: params, authInfo, opts
func (*ClientService) SetTransport ¶
func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
func (*ClientService) SetVolumeQoSPolicy ¶ added in v0.26.5
func (_m *ClientService) SetVolumeQoSPolicy(params *clientvolume.SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientvolume.ClientOption) (*clientvolume.SetVolumeQoSPolicyOK, error)
SetVolumeQoSPolicy provides a mock function with given fields: params, authInfo, opts