Documentation
¶
Index ¶
- type ClientService
- func (_mock *ClientService) ClusterInfo(params *volume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.ClusterInfoOK, error)
- func (_mock *ClientService) DeleteSnapshot(params *volume.DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.DeleteSnapshotOK, error)
- func (_mock *ClientService) DeleteVolume(params *volume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.DeleteVolumeOK, error)
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindSnapshots(params *volume.FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.FindSnapshotsOK, error)
- func (_mock *ClientService) FindVolumes(params *volume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.FindVolumesOK, error)
- func (_mock *ClientService) GetSnapshot(params *volume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.GetSnapshotOK, error)
- func (_mock *ClientService) GetVolume(params *volume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.GetVolumeOK, error)
- func (_mock *ClientService) ListPolicies(params *volume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.ListPoliciesOK, error)
- func (_mock *ClientService) ListVolumes(params *volume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.ListVolumesOK, error)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) SetVolumeQoSPolicy(params *volume.SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*volume.SetVolumeQoSPolicyOK, error)
- type ClientService_ClusterInfo_Call
- func (_c *ClientService_ClusterInfo_Call) Return(clusterInfoOK *volume.ClusterInfoOK, err error) *ClientService_ClusterInfo_Call
- func (_c *ClientService_ClusterInfo_Call) Run(...) *ClientService_ClusterInfo_Call
- func (_c *ClientService_ClusterInfo_Call) RunAndReturn(...) *ClientService_ClusterInfo_Call
- type ClientService_DeleteSnapshot_Call
- func (_c *ClientService_DeleteSnapshot_Call) Return(deleteSnapshotOK *volume.DeleteSnapshotOK, err error) *ClientService_DeleteSnapshot_Call
- func (_c *ClientService_DeleteSnapshot_Call) Run(...) *ClientService_DeleteSnapshot_Call
- func (_c *ClientService_DeleteSnapshot_Call) RunAndReturn(...) *ClientService_DeleteSnapshot_Call
- type ClientService_DeleteVolume_Call
- func (_c *ClientService_DeleteVolume_Call) Return(deleteVolumeOK *volume.DeleteVolumeOK, err error) *ClientService_DeleteVolume_Call
- func (_c *ClientService_DeleteVolume_Call) Run(...) *ClientService_DeleteVolume_Call
- func (_c *ClientService_DeleteVolume_Call) RunAndReturn(...) *ClientService_DeleteVolume_Call
- type ClientService_Expecter
- func (_e *ClientService_Expecter) ClusterInfo(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ClusterInfo_Call
- func (_e *ClientService_Expecter) DeleteSnapshot(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteSnapshot_Call
- func (_e *ClientService_Expecter) DeleteVolume(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteVolume_Call
- func (_e *ClientService_Expecter) FindSnapshots(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSnapshots_Call
- func (_e *ClientService_Expecter) FindVolumes(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindVolumes_Call
- func (_e *ClientService_Expecter) GetSnapshot(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetSnapshot_Call
- func (_e *ClientService_Expecter) GetVolume(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetVolume_Call
- func (_e *ClientService_Expecter) ListPolicies(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListPolicies_Call
- func (_e *ClientService_Expecter) ListVolumes(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListVolumes_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) SetVolumeQoSPolicy(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_SetVolumeQoSPolicy_Call
- type ClientService_FindSnapshots_Call
- func (_c *ClientService_FindSnapshots_Call) Return(findSnapshotsOK *volume.FindSnapshotsOK, err error) *ClientService_FindSnapshots_Call
- func (_c *ClientService_FindSnapshots_Call) Run(...) *ClientService_FindSnapshots_Call
- func (_c *ClientService_FindSnapshots_Call) RunAndReturn(...) *ClientService_FindSnapshots_Call
- type ClientService_FindVolumes_Call
- func (_c *ClientService_FindVolumes_Call) Return(findVolumesOK *volume.FindVolumesOK, err error) *ClientService_FindVolumes_Call
- func (_c *ClientService_FindVolumes_Call) Run(...) *ClientService_FindVolumes_Call
- func (_c *ClientService_FindVolumes_Call) RunAndReturn(...) *ClientService_FindVolumes_Call
- type ClientService_GetSnapshot_Call
- func (_c *ClientService_GetSnapshot_Call) Return(getSnapshotOK *volume.GetSnapshotOK, err error) *ClientService_GetSnapshot_Call
- func (_c *ClientService_GetSnapshot_Call) Run(...) *ClientService_GetSnapshot_Call
- func (_c *ClientService_GetSnapshot_Call) RunAndReturn(...) *ClientService_GetSnapshot_Call
- type ClientService_GetVolume_Call
- type ClientService_ListPolicies_Call
- func (_c *ClientService_ListPolicies_Call) Return(listPoliciesOK *volume.ListPoliciesOK, err error) *ClientService_ListPolicies_Call
- func (_c *ClientService_ListPolicies_Call) Run(...) *ClientService_ListPolicies_Call
- func (_c *ClientService_ListPolicies_Call) RunAndReturn(...) *ClientService_ListPolicies_Call
- type ClientService_ListVolumes_Call
- func (_c *ClientService_ListVolumes_Call) Return(listVolumesOK *volume.ListVolumesOK, err error) *ClientService_ListVolumes_Call
- func (_c *ClientService_ListVolumes_Call) Run(...) *ClientService_ListVolumes_Call
- func (_c *ClientService_ListVolumes_Call) RunAndReturn(...) *ClientService_ListVolumes_Call
- type ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
- type ClientService_SetVolumeQoSPolicy_Call
- func (_c *ClientService_SetVolumeQoSPolicy_Call) Return(setVolumeQoSPolicyOK *volume.SetVolumeQoSPolicyOK, err error) *ClientService_SetVolumeQoSPolicy_Call
- func (_c *ClientService_SetVolumeQoSPolicy_Call) Run(...) *ClientService_SetVolumeQoSPolicy_Call
- func (_c *ClientService_SetVolumeQoSPolicy_Call) RunAndReturn(...) *ClientService_SetVolumeQoSPolicy_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 (_mock *ClientService) ClusterInfo(params *volume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ClusterInfoOK, error)
ClusterInfo provides a mock function for the type ClientService
func (*ClientService) DeleteSnapshot ¶ added in v0.20.0
func (_mock *ClientService) DeleteSnapshot(params *volume.DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.DeleteSnapshotOK, error)
DeleteSnapshot provides a mock function for the type ClientService
func (*ClientService) DeleteVolume ¶
func (_mock *ClientService) DeleteVolume(params *volume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.DeleteVolumeOK, error)
DeleteVolume provides a mock function for the type ClientService
func (*ClientService) EXPECT ¶ added in v0.30.9
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindSnapshots ¶ added in v0.20.0
func (_mock *ClientService) FindSnapshots(params *volume.FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.FindSnapshotsOK, error)
FindSnapshots provides a mock function for the type ClientService
func (*ClientService) FindVolumes ¶
func (_mock *ClientService) FindVolumes(params *volume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.FindVolumesOK, error)
FindVolumes provides a mock function for the type ClientService
func (*ClientService) GetSnapshot ¶ added in v0.20.0
func (_mock *ClientService) GetSnapshot(params *volume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.GetSnapshotOK, error)
GetSnapshot provides a mock function for the type ClientService
func (*ClientService) GetVolume ¶ added in v0.17.15
func (_mock *ClientService) GetVolume(params *volume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.GetVolumeOK, error)
GetVolume provides a mock function for the type ClientService
func (*ClientService) ListPolicies ¶ added in v0.26.5
func (_mock *ClientService) ListPolicies(params *volume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ListPoliciesOK, error)
ListPolicies provides a mock function for the type ClientService
func (*ClientService) ListVolumes ¶
func (_mock *ClientService) ListVolumes(params *volume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ListVolumesOK, error)
ListVolumes provides a mock function for the type ClientService
func (*ClientService) SetTransport ¶
func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function for the type ClientService
func (*ClientService) SetVolumeQoSPolicy ¶ added in v0.26.5
func (_mock *ClientService) SetVolumeQoSPolicy(params *volume.SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.SetVolumeQoSPolicyOK, error)
SetVolumeQoSPolicy provides a mock function for the type ClientService
type ClientService_ClusterInfo_Call ¶ added in v0.30.9
ClientService_ClusterInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterInfo'
func (*ClientService_ClusterInfo_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ClusterInfo_Call) Return(clusterInfoOK *volume.ClusterInfoOK, err error) *ClientService_ClusterInfo_Call
func (*ClientService_ClusterInfo_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ClusterInfo_Call) Run(run func(params *volume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_ClusterInfo_Call
func (*ClientService_ClusterInfo_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ClusterInfo_Call) RunAndReturn(run func(params *volume.ClusterInfoParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ClusterInfoOK, error)) *ClientService_ClusterInfo_Call
type ClientService_DeleteSnapshot_Call ¶ added in v0.30.9
ClientService_DeleteSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSnapshot'
func (*ClientService_DeleteSnapshot_Call) Return ¶ added in v0.30.9
func (_c *ClientService_DeleteSnapshot_Call) Return(deleteSnapshotOK *volume.DeleteSnapshotOK, err error) *ClientService_DeleteSnapshot_Call
func (*ClientService_DeleteSnapshot_Call) Run ¶ added in v0.30.9
func (_c *ClientService_DeleteSnapshot_Call) Run(run func(params *volume.DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_DeleteSnapshot_Call
func (*ClientService_DeleteSnapshot_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_DeleteSnapshot_Call) RunAndReturn(run func(params *volume.DeleteSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.DeleteSnapshotOK, error)) *ClientService_DeleteSnapshot_Call
type ClientService_DeleteVolume_Call ¶ added in v0.30.9
ClientService_DeleteVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteVolume'
func (*ClientService_DeleteVolume_Call) Return ¶ added in v0.30.9
func (_c *ClientService_DeleteVolume_Call) Return(deleteVolumeOK *volume.DeleteVolumeOK, err error) *ClientService_DeleteVolume_Call
func (*ClientService_DeleteVolume_Call) Run ¶ added in v0.30.9
func (_c *ClientService_DeleteVolume_Call) Run(run func(params *volume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_DeleteVolume_Call
func (*ClientService_DeleteVolume_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_DeleteVolume_Call) RunAndReturn(run func(params *volume.DeleteVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.DeleteVolumeOK, error)) *ClientService_DeleteVolume_Call
type ClientService_Expecter ¶ added in v0.30.9
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) ClusterInfo ¶ added in v0.30.9
func (_e *ClientService_Expecter) ClusterInfo(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ClusterInfo_Call
ClusterInfo is a helper method to define mock.On call
- params *volume.ClusterInfoParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) DeleteSnapshot ¶ added in v0.30.9
func (_e *ClientService_Expecter) DeleteSnapshot(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteSnapshot_Call
DeleteSnapshot is a helper method to define mock.On call
- params *volume.DeleteSnapshotParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) DeleteVolume ¶ added in v0.30.9
func (_e *ClientService_Expecter) DeleteVolume(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteVolume_Call
DeleteVolume is a helper method to define mock.On call
- params *volume.DeleteVolumeParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) FindSnapshots ¶ added in v0.30.9
func (_e *ClientService_Expecter) FindSnapshots(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindSnapshots_Call
FindSnapshots is a helper method to define mock.On call
- params *volume.FindSnapshotsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) FindVolumes ¶ added in v0.30.9
func (_e *ClientService_Expecter) FindVolumes(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindVolumes_Call
FindVolumes is a helper method to define mock.On call
- params *volume.FindVolumesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) GetSnapshot ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetSnapshot(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetSnapshot_Call
GetSnapshot is a helper method to define mock.On call
- params *volume.GetSnapshotParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) GetVolume ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetVolume(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetVolume_Call
GetVolume is a helper method to define mock.On call
- params *volume.GetVolumeParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) ListPolicies ¶ added in v0.30.9
func (_e *ClientService_Expecter) ListPolicies(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListPolicies_Call
ListPolicies is a helper method to define mock.On call
- params *volume.ListPoliciesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) ListVolumes ¶ added in v0.30.9
func (_e *ClientService_Expecter) ListVolumes(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListVolumes_Call
ListVolumes is a helper method to define mock.On call
- params *volume.ListVolumesParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
func (*ClientService_Expecter) SetTransport ¶ added in v0.30.9
func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
func (*ClientService_Expecter) SetVolumeQoSPolicy ¶ added in v0.30.9
func (_e *ClientService_Expecter) SetVolumeQoSPolicy(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_SetVolumeQoSPolicy_Call
SetVolumeQoSPolicy is a helper method to define mock.On call
- params *volume.SetVolumeQoSPolicyParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...volume.ClientOption
type ClientService_FindSnapshots_Call ¶ added in v0.30.9
ClientService_FindSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSnapshots'
func (*ClientService_FindSnapshots_Call) Return ¶ added in v0.30.9
func (_c *ClientService_FindSnapshots_Call) Return(findSnapshotsOK *volume.FindSnapshotsOK, err error) *ClientService_FindSnapshots_Call
func (*ClientService_FindSnapshots_Call) Run ¶ added in v0.30.9
func (_c *ClientService_FindSnapshots_Call) Run(run func(params *volume.FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_FindSnapshots_Call
func (*ClientService_FindSnapshots_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_FindSnapshots_Call) RunAndReturn(run func(params *volume.FindSnapshotsParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.FindSnapshotsOK, error)) *ClientService_FindSnapshots_Call
type ClientService_FindVolumes_Call ¶ added in v0.30.9
ClientService_FindVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindVolumes'
func (*ClientService_FindVolumes_Call) Return ¶ added in v0.30.9
func (_c *ClientService_FindVolumes_Call) Return(findVolumesOK *volume.FindVolumesOK, err error) *ClientService_FindVolumes_Call
func (*ClientService_FindVolumes_Call) Run ¶ added in v0.30.9
func (_c *ClientService_FindVolumes_Call) Run(run func(params *volume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_FindVolumes_Call
func (*ClientService_FindVolumes_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_FindVolumes_Call) RunAndReturn(run func(params *volume.FindVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.FindVolumesOK, error)) *ClientService_FindVolumes_Call
type ClientService_GetSnapshot_Call ¶ added in v0.30.9
ClientService_GetSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSnapshot'
func (*ClientService_GetSnapshot_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetSnapshot_Call) Return(getSnapshotOK *volume.GetSnapshotOK, err error) *ClientService_GetSnapshot_Call
func (*ClientService_GetSnapshot_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetSnapshot_Call) Run(run func(params *volume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_GetSnapshot_Call
func (*ClientService_GetSnapshot_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetSnapshot_Call) RunAndReturn(run func(params *volume.GetSnapshotParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.GetSnapshotOK, error)) *ClientService_GetSnapshot_Call
type ClientService_GetVolume_Call ¶ added in v0.30.9
ClientService_GetVolume_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVolume'
func (*ClientService_GetVolume_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetVolume_Call) Return(getVolumeOK *volume.GetVolumeOK, err error) *ClientService_GetVolume_Call
func (*ClientService_GetVolume_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetVolume_Call) Run(run func(params *volume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_GetVolume_Call
func (*ClientService_GetVolume_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetVolume_Call) RunAndReturn(run func(params *volume.GetVolumeParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.GetVolumeOK, error)) *ClientService_GetVolume_Call
type ClientService_ListPolicies_Call ¶ added in v0.30.9
ClientService_ListPolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPolicies'
func (*ClientService_ListPolicies_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ListPolicies_Call) Return(listPoliciesOK *volume.ListPoliciesOK, err error) *ClientService_ListPolicies_Call
func (*ClientService_ListPolicies_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ListPolicies_Call) Run(run func(params *volume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_ListPolicies_Call
func (*ClientService_ListPolicies_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ListPolicies_Call) RunAndReturn(run func(params *volume.ListPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ListPoliciesOK, error)) *ClientService_ListPolicies_Call
type ClientService_ListVolumes_Call ¶ added in v0.30.9
ClientService_ListVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVolumes'
func (*ClientService_ListVolumes_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ListVolumes_Call) Return(listVolumesOK *volume.ListVolumesOK, err error) *ClientService_ListVolumes_Call
func (*ClientService_ListVolumes_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ListVolumes_Call) Run(run func(params *volume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_ListVolumes_Call
func (*ClientService_ListVolumes_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ListVolumes_Call) RunAndReturn(run func(params *volume.ListVolumesParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.ListVolumesOK, error)) *ClientService_ListVolumes_Call
type ClientService_SetTransport_Call ¶ added in v0.30.9
ClientService_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*ClientService_SetTransport_Call) Return ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) Return() *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) Run ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
func (*ClientService_SetTransport_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_SetTransport_Call) RunAndReturn(run func(transport runtime.ClientTransport)) *ClientService_SetTransport_Call
type ClientService_SetVolumeQoSPolicy_Call ¶ added in v0.30.9
ClientService_SetVolumeQoSPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetVolumeQoSPolicy'
func (*ClientService_SetVolumeQoSPolicy_Call) Return ¶ added in v0.30.9
func (_c *ClientService_SetVolumeQoSPolicy_Call) Return(setVolumeQoSPolicyOK *volume.SetVolumeQoSPolicyOK, err error) *ClientService_SetVolumeQoSPolicy_Call
func (*ClientService_SetVolumeQoSPolicy_Call) Run ¶ added in v0.30.9
func (_c *ClientService_SetVolumeQoSPolicy_Call) Run(run func(params *volume.SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption)) *ClientService_SetVolumeQoSPolicy_Call
func (*ClientService_SetVolumeQoSPolicy_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_SetVolumeQoSPolicy_Call) RunAndReturn(run func(params *volume.SetVolumeQoSPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...volume.ClientOption) (*volume.SetVolumeQoSPolicyOK, error)) *ClientService_SetVolumeQoSPolicy_Call