Documentation
¶
Index ¶
- type ClientService
- func (_mock *ClientService) CreateCluster(params *cluster.CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.CreateClusterCreated, error)
- func (_mock *ClientService) CycleMachine(params *cluster.CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.CycleMachineOK, error)
- func (_mock *ClientService) DeleteCluster(params *cluster.DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.DeleteClusterOK, error)
- func (_m *ClientService) EXPECT() *ClientService_Expecter
- func (_mock *ClientService) FindCluster(params *cluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.FindClusterOK, error)
- func (_mock *ClientService) FindClusters(params *cluster.FindClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.FindClustersOK, error)
- func (_mock *ClientService) GetAuditPolicy(params *cluster.GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.GetAuditPolicyOK, error)
- func (_mock *ClientService) GetClusterKubeconfigTpl(params *cluster.GetClusterKubeconfigTplParams, ...) (*cluster.GetClusterKubeconfigTplOK, error)
- func (_mock *ClientService) GetMonitoringSecret(params *cluster.GetMonitoringSecretParams, ...) (*cluster.GetMonitoringSecretOK, error)
- func (_mock *ClientService) GetSSHKeyPair(params *cluster.GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.GetSSHKeyPairOK, error)
- func (_mock *ClientService) ListClusters(params *cluster.ListClustersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.ListClustersOK, error)
- func (_mock *ClientService) ListConstraints(params *cluster.ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.ListConstraintsOK, error)
- func (_mock *ClientService) ReconcileCluster(params *cluster.ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.ReconcileClusterOK, error)
- func (_mock *ClientService) ReinstallMachine(params *cluster.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.ReinstallMachineOK, error)
- func (_mock *ClientService) ResetMachine(params *cluster.ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.ResetMachineOK, error)
- func (_mock *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_mock *ClientService) UpdateCluster(params *cluster.UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*cluster.UpdateClusterOK, error)
- type ClientService_CreateCluster_Call
- func (_c *ClientService_CreateCluster_Call) Return(createClusterCreated *cluster.CreateClusterCreated, err error) *ClientService_CreateCluster_Call
- func (_c *ClientService_CreateCluster_Call) Run(...) *ClientService_CreateCluster_Call
- func (_c *ClientService_CreateCluster_Call) RunAndReturn(...) *ClientService_CreateCluster_Call
- type ClientService_CycleMachine_Call
- func (_c *ClientService_CycleMachine_Call) Return(cycleMachineOK *cluster.CycleMachineOK, err error) *ClientService_CycleMachine_Call
- func (_c *ClientService_CycleMachine_Call) Run(...) *ClientService_CycleMachine_Call
- func (_c *ClientService_CycleMachine_Call) RunAndReturn(...) *ClientService_CycleMachine_Call
- type ClientService_DeleteCluster_Call
- func (_c *ClientService_DeleteCluster_Call) Return(deleteClusterOK *cluster.DeleteClusterOK, err error) *ClientService_DeleteCluster_Call
- func (_c *ClientService_DeleteCluster_Call) Run(...) *ClientService_DeleteCluster_Call
- func (_c *ClientService_DeleteCluster_Call) RunAndReturn(...) *ClientService_DeleteCluster_Call
- type ClientService_Expecter
- func (_e *ClientService_Expecter) CreateCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CreateCluster_Call
- func (_e *ClientService_Expecter) CycleMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CycleMachine_Call
- func (_e *ClientService_Expecter) DeleteCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteCluster_Call
- func (_e *ClientService_Expecter) FindCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindCluster_Call
- func (_e *ClientService_Expecter) FindClusters(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindClusters_Call
- func (_e *ClientService_Expecter) GetAuditPolicy(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetAuditPolicy_Call
- func (_e *ClientService_Expecter) GetClusterKubeconfigTpl(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetClusterKubeconfigTpl_Call
- func (_e *ClientService_Expecter) GetMonitoringSecret(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetMonitoringSecret_Call
- func (_e *ClientService_Expecter) GetSSHKeyPair(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetSSHKeyPair_Call
- func (_e *ClientService_Expecter) ListClusters(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListClusters_Call
- func (_e *ClientService_Expecter) ListConstraints(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListConstraints_Call
- func (_e *ClientService_Expecter) ReconcileCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ReconcileCluster_Call
- func (_e *ClientService_Expecter) ReinstallMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ReinstallMachine_Call
- func (_e *ClientService_Expecter) ResetMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ResetMachine_Call
- func (_e *ClientService_Expecter) SetTransport(transport interface{}) *ClientService_SetTransport_Call
- func (_e *ClientService_Expecter) UpdateCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateCluster_Call
- type ClientService_FindCluster_Call
- func (_c *ClientService_FindCluster_Call) Return(findClusterOK *cluster.FindClusterOK, err error) *ClientService_FindCluster_Call
- func (_c *ClientService_FindCluster_Call) Run(...) *ClientService_FindCluster_Call
- func (_c *ClientService_FindCluster_Call) RunAndReturn(...) *ClientService_FindCluster_Call
- type ClientService_FindClusters_Call
- func (_c *ClientService_FindClusters_Call) Return(findClustersOK *cluster.FindClustersOK, err error) *ClientService_FindClusters_Call
- func (_c *ClientService_FindClusters_Call) Run(...) *ClientService_FindClusters_Call
- func (_c *ClientService_FindClusters_Call) RunAndReturn(...) *ClientService_FindClusters_Call
- type ClientService_GetAuditPolicy_Call
- func (_c *ClientService_GetAuditPolicy_Call) Return(getAuditPolicyOK *cluster.GetAuditPolicyOK, err error) *ClientService_GetAuditPolicy_Call
- func (_c *ClientService_GetAuditPolicy_Call) Run(...) *ClientService_GetAuditPolicy_Call
- func (_c *ClientService_GetAuditPolicy_Call) RunAndReturn(...) *ClientService_GetAuditPolicy_Call
- type ClientService_GetClusterKubeconfigTpl_Call
- func (_c *ClientService_GetClusterKubeconfigTpl_Call) Return(getClusterKubeconfigTplOK *cluster.GetClusterKubeconfigTplOK, err error) *ClientService_GetClusterKubeconfigTpl_Call
- func (_c *ClientService_GetClusterKubeconfigTpl_Call) Run(run func(params *cluster.GetClusterKubeconfigTplParams, ...)) *ClientService_GetClusterKubeconfigTpl_Call
- func (_c *ClientService_GetClusterKubeconfigTpl_Call) RunAndReturn(...) *ClientService_GetClusterKubeconfigTpl_Call
- type ClientService_GetMonitoringSecret_Call
- func (_c *ClientService_GetMonitoringSecret_Call) Return(getMonitoringSecretOK *cluster.GetMonitoringSecretOK, err error) *ClientService_GetMonitoringSecret_Call
- func (_c *ClientService_GetMonitoringSecret_Call) Run(run func(params *cluster.GetMonitoringSecretParams, ...)) *ClientService_GetMonitoringSecret_Call
- func (_c *ClientService_GetMonitoringSecret_Call) RunAndReturn(...) *ClientService_GetMonitoringSecret_Call
- type ClientService_GetSSHKeyPair_Call
- func (_c *ClientService_GetSSHKeyPair_Call) Return(getSSHKeyPairOK *cluster.GetSSHKeyPairOK, err error) *ClientService_GetSSHKeyPair_Call
- func (_c *ClientService_GetSSHKeyPair_Call) Run(...) *ClientService_GetSSHKeyPair_Call
- func (_c *ClientService_GetSSHKeyPair_Call) RunAndReturn(...) *ClientService_GetSSHKeyPair_Call
- type ClientService_ListClusters_Call
- func (_c *ClientService_ListClusters_Call) Return(listClustersOK *cluster.ListClustersOK, err error) *ClientService_ListClusters_Call
- func (_c *ClientService_ListClusters_Call) Run(...) *ClientService_ListClusters_Call
- func (_c *ClientService_ListClusters_Call) RunAndReturn(...) *ClientService_ListClusters_Call
- type ClientService_ListConstraints_Call
- func (_c *ClientService_ListConstraints_Call) Return(listConstraintsOK *cluster.ListConstraintsOK, err error) *ClientService_ListConstraints_Call
- func (_c *ClientService_ListConstraints_Call) Run(...) *ClientService_ListConstraints_Call
- func (_c *ClientService_ListConstraints_Call) RunAndReturn(...) *ClientService_ListConstraints_Call
- type ClientService_ReconcileCluster_Call
- func (_c *ClientService_ReconcileCluster_Call) Return(reconcileClusterOK *cluster.ReconcileClusterOK, err error) *ClientService_ReconcileCluster_Call
- func (_c *ClientService_ReconcileCluster_Call) Run(...) *ClientService_ReconcileCluster_Call
- func (_c *ClientService_ReconcileCluster_Call) RunAndReturn(...) *ClientService_ReconcileCluster_Call
- type ClientService_ReinstallMachine_Call
- func (_c *ClientService_ReinstallMachine_Call) Return(reinstallMachineOK *cluster.ReinstallMachineOK, err error) *ClientService_ReinstallMachine_Call
- func (_c *ClientService_ReinstallMachine_Call) Run(...) *ClientService_ReinstallMachine_Call
- func (_c *ClientService_ReinstallMachine_Call) RunAndReturn(...) *ClientService_ReinstallMachine_Call
- type ClientService_ResetMachine_Call
- func (_c *ClientService_ResetMachine_Call) Return(resetMachineOK *cluster.ResetMachineOK, err error) *ClientService_ResetMachine_Call
- func (_c *ClientService_ResetMachine_Call) Run(...) *ClientService_ResetMachine_Call
- func (_c *ClientService_ResetMachine_Call) RunAndReturn(...) *ClientService_ResetMachine_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_UpdateCluster_Call
- func (_c *ClientService_UpdateCluster_Call) Return(updateClusterOK *cluster.UpdateClusterOK, err error) *ClientService_UpdateCluster_Call
- func (_c *ClientService_UpdateCluster_Call) Run(...) *ClientService_UpdateCluster_Call
- func (_c *ClientService_UpdateCluster_Call) RunAndReturn(...) *ClientService_UpdateCluster_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) CreateCluster ¶
func (_mock *ClientService) CreateCluster(params *cluster.CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.CreateClusterCreated, error)
CreateCluster provides a mock function for the type ClientService
func (*ClientService) CycleMachine ¶ added in v0.17.9
func (_mock *ClientService) CycleMachine(params *cluster.CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.CycleMachineOK, error)
CycleMachine provides a mock function for the type ClientService
func (*ClientService) DeleteCluster ¶
func (_mock *ClientService) DeleteCluster(params *cluster.DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.DeleteClusterOK, error)
DeleteCluster provides a mock function for the type ClientService
func (*ClientService) EXPECT ¶ added in v0.30.9
func (_m *ClientService) EXPECT() *ClientService_Expecter
func (*ClientService) FindCluster ¶
func (_mock *ClientService) FindCluster(params *cluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.FindClusterOK, error)
FindCluster provides a mock function for the type ClientService
func (*ClientService) FindClusters ¶
func (_mock *ClientService) FindClusters(params *cluster.FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.FindClustersOK, error)
FindClusters provides a mock function for the type ClientService
func (*ClientService) GetAuditPolicy ¶ added in v0.23.0
func (_mock *ClientService) GetAuditPolicy(params *cluster.GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetAuditPolicyOK, error)
GetAuditPolicy provides a mock function for the type ClientService
func (*ClientService) GetClusterKubeconfigTpl ¶
func (_mock *ClientService) GetClusterKubeconfigTpl(params *cluster.GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetClusterKubeconfigTplOK, error)
GetClusterKubeconfigTpl provides a mock function for the type ClientService
func (*ClientService) GetMonitoringSecret ¶ added in v0.18.28
func (_mock *ClientService) GetMonitoringSecret(params *cluster.GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetMonitoringSecretOK, error)
GetMonitoringSecret provides a mock function for the type ClientService
func (*ClientService) GetSSHKeyPair ¶
func (_mock *ClientService) GetSSHKeyPair(params *cluster.GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetSSHKeyPairOK, error)
GetSSHKeyPair provides a mock function for the type ClientService
func (*ClientService) ListClusters ¶
func (_mock *ClientService) ListClusters(params *cluster.ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ListClustersOK, error)
ListClusters provides a mock function for the type ClientService
func (*ClientService) ListConstraints ¶
func (_mock *ClientService) ListConstraints(params *cluster.ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ListConstraintsOK, error)
ListConstraints provides a mock function for the type ClientService
func (*ClientService) ReconcileCluster ¶
func (_mock *ClientService) ReconcileCluster(params *cluster.ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ReconcileClusterOK, error)
ReconcileCluster provides a mock function for the type ClientService
func (*ClientService) ReinstallMachine ¶ added in v0.17.9
func (_mock *ClientService) ReinstallMachine(params *cluster.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ReinstallMachineOK, error)
ReinstallMachine provides a mock function for the type ClientService
func (*ClientService) ResetMachine ¶ added in v0.17.9
func (_mock *ClientService) ResetMachine(params *cluster.ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ResetMachineOK, error)
ResetMachine 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) UpdateCluster ¶
func (_mock *ClientService) UpdateCluster(params *cluster.UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.UpdateClusterOK, error)
UpdateCluster provides a mock function for the type ClientService
type ClientService_CreateCluster_Call ¶ added in v0.30.9
ClientService_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'
func (*ClientService_CreateCluster_Call) Return ¶ added in v0.30.9
func (_c *ClientService_CreateCluster_Call) Return(createClusterCreated *cluster.CreateClusterCreated, err error) *ClientService_CreateCluster_Call
func (*ClientService_CreateCluster_Call) Run ¶ added in v0.30.9
func (_c *ClientService_CreateCluster_Call) Run(run func(params *cluster.CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_CreateCluster_Call
func (*ClientService_CreateCluster_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_CreateCluster_Call) RunAndReturn(run func(params *cluster.CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.CreateClusterCreated, error)) *ClientService_CreateCluster_Call
type ClientService_CycleMachine_Call ¶ added in v0.30.9
ClientService_CycleMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CycleMachine'
func (*ClientService_CycleMachine_Call) Return ¶ added in v0.30.9
func (_c *ClientService_CycleMachine_Call) Return(cycleMachineOK *cluster.CycleMachineOK, err error) *ClientService_CycleMachine_Call
func (*ClientService_CycleMachine_Call) Run ¶ added in v0.30.9
func (_c *ClientService_CycleMachine_Call) Run(run func(params *cluster.CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_CycleMachine_Call
func (*ClientService_CycleMachine_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_CycleMachine_Call) RunAndReturn(run func(params *cluster.CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.CycleMachineOK, error)) *ClientService_CycleMachine_Call
type ClientService_DeleteCluster_Call ¶ added in v0.30.9
ClientService_DeleteCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCluster'
func (*ClientService_DeleteCluster_Call) Return ¶ added in v0.30.9
func (_c *ClientService_DeleteCluster_Call) Return(deleteClusterOK *cluster.DeleteClusterOK, err error) *ClientService_DeleteCluster_Call
func (*ClientService_DeleteCluster_Call) Run ¶ added in v0.30.9
func (_c *ClientService_DeleteCluster_Call) Run(run func(params *cluster.DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_DeleteCluster_Call
func (*ClientService_DeleteCluster_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_DeleteCluster_Call) RunAndReturn(run func(params *cluster.DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.DeleteClusterOK, error)) *ClientService_DeleteCluster_Call
type ClientService_Expecter ¶ added in v0.30.9
type ClientService_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientService_Expecter) CreateCluster ¶ added in v0.30.9
func (_e *ClientService_Expecter) CreateCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CreateCluster_Call
CreateCluster is a helper method to define mock.On call
- params *cluster.CreateClusterParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) CycleMachine ¶ added in v0.30.9
func (_e *ClientService_Expecter) CycleMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_CycleMachine_Call
CycleMachine is a helper method to define mock.On call
- params *cluster.CycleMachineParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) DeleteCluster ¶ added in v0.30.9
func (_e *ClientService_Expecter) DeleteCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_DeleteCluster_Call
DeleteCluster is a helper method to define mock.On call
- params *cluster.DeleteClusterParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) FindCluster ¶ added in v0.30.9
func (_e *ClientService_Expecter) FindCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindCluster_Call
FindCluster is a helper method to define mock.On call
- params *cluster.FindClusterParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) FindClusters ¶ added in v0.30.9
func (_e *ClientService_Expecter) FindClusters(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_FindClusters_Call
FindClusters is a helper method to define mock.On call
- params *cluster.FindClustersParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) GetAuditPolicy ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetAuditPolicy(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetAuditPolicy_Call
GetAuditPolicy is a helper method to define mock.On call
- params *cluster.GetAuditPolicyParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) GetClusterKubeconfigTpl ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetClusterKubeconfigTpl(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetClusterKubeconfigTpl_Call
GetClusterKubeconfigTpl is a helper method to define mock.On call
- params *cluster.GetClusterKubeconfigTplParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) GetMonitoringSecret ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetMonitoringSecret(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetMonitoringSecret_Call
GetMonitoringSecret is a helper method to define mock.On call
- params *cluster.GetMonitoringSecretParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) GetSSHKeyPair ¶ added in v0.30.9
func (_e *ClientService_Expecter) GetSSHKeyPair(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_GetSSHKeyPair_Call
GetSSHKeyPair is a helper method to define mock.On call
- params *cluster.GetSSHKeyPairParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) ListClusters ¶ added in v0.30.9
func (_e *ClientService_Expecter) ListClusters(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListClusters_Call
ListClusters is a helper method to define mock.On call
- params *cluster.ListClustersParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) ListConstraints ¶ added in v0.30.9
func (_e *ClientService_Expecter) ListConstraints(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ListConstraints_Call
ListConstraints is a helper method to define mock.On call
- params *cluster.ListConstraintsParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) ReconcileCluster ¶ added in v0.30.9
func (_e *ClientService_Expecter) ReconcileCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ReconcileCluster_Call
ReconcileCluster is a helper method to define mock.On call
- params *cluster.ReconcileClusterParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) ReinstallMachine ¶ added in v0.30.9
func (_e *ClientService_Expecter) ReinstallMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ReinstallMachine_Call
ReinstallMachine is a helper method to define mock.On call
- params *cluster.ReinstallMachineParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
func (*ClientService_Expecter) ResetMachine ¶ added in v0.30.9
func (_e *ClientService_Expecter) ResetMachine(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_ResetMachine_Call
ResetMachine is a helper method to define mock.On call
- params *cluster.ResetMachineParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.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) UpdateCluster ¶ added in v0.30.9
func (_e *ClientService_Expecter) UpdateCluster(params interface{}, authInfo interface{}, opts ...interface{}) *ClientService_UpdateCluster_Call
UpdateCluster is a helper method to define mock.On call
- params *cluster.UpdateClusterParams
- authInfo runtime.ClientAuthInfoWriter
- opts ...cluster.ClientOption
type ClientService_FindCluster_Call ¶ added in v0.30.9
ClientService_FindCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindCluster'
func (*ClientService_FindCluster_Call) Return ¶ added in v0.30.9
func (_c *ClientService_FindCluster_Call) Return(findClusterOK *cluster.FindClusterOK, err error) *ClientService_FindCluster_Call
func (*ClientService_FindCluster_Call) Run ¶ added in v0.30.9
func (_c *ClientService_FindCluster_Call) Run(run func(params *cluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_FindCluster_Call
func (*ClientService_FindCluster_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_FindCluster_Call) RunAndReturn(run func(params *cluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.FindClusterOK, error)) *ClientService_FindCluster_Call
type ClientService_FindClusters_Call ¶ added in v0.30.9
ClientService_FindClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindClusters'
func (*ClientService_FindClusters_Call) Return ¶ added in v0.30.9
func (_c *ClientService_FindClusters_Call) Return(findClustersOK *cluster.FindClustersOK, err error) *ClientService_FindClusters_Call
func (*ClientService_FindClusters_Call) Run ¶ added in v0.30.9
func (_c *ClientService_FindClusters_Call) Run(run func(params *cluster.FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_FindClusters_Call
func (*ClientService_FindClusters_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_FindClusters_Call) RunAndReturn(run func(params *cluster.FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.FindClustersOK, error)) *ClientService_FindClusters_Call
type ClientService_GetAuditPolicy_Call ¶ added in v0.30.9
ClientService_GetAuditPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAuditPolicy'
func (*ClientService_GetAuditPolicy_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetAuditPolicy_Call) Return(getAuditPolicyOK *cluster.GetAuditPolicyOK, err error) *ClientService_GetAuditPolicy_Call
func (*ClientService_GetAuditPolicy_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetAuditPolicy_Call) Run(run func(params *cluster.GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_GetAuditPolicy_Call
func (*ClientService_GetAuditPolicy_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetAuditPolicy_Call) RunAndReturn(run func(params *cluster.GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetAuditPolicyOK, error)) *ClientService_GetAuditPolicy_Call
type ClientService_GetClusterKubeconfigTpl_Call ¶ added in v0.30.9
ClientService_GetClusterKubeconfigTpl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClusterKubeconfigTpl'
func (*ClientService_GetClusterKubeconfigTpl_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetClusterKubeconfigTpl_Call) Return(getClusterKubeconfigTplOK *cluster.GetClusterKubeconfigTplOK, err error) *ClientService_GetClusterKubeconfigTpl_Call
func (*ClientService_GetClusterKubeconfigTpl_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetClusterKubeconfigTpl_Call) Run(run func(params *cluster.GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_GetClusterKubeconfigTpl_Call
func (*ClientService_GetClusterKubeconfigTpl_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetClusterKubeconfigTpl_Call) RunAndReturn(run func(params *cluster.GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetClusterKubeconfigTplOK, error)) *ClientService_GetClusterKubeconfigTpl_Call
type ClientService_GetMonitoringSecret_Call ¶ added in v0.30.9
ClientService_GetMonitoringSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMonitoringSecret'
func (*ClientService_GetMonitoringSecret_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetMonitoringSecret_Call) Return(getMonitoringSecretOK *cluster.GetMonitoringSecretOK, err error) *ClientService_GetMonitoringSecret_Call
func (*ClientService_GetMonitoringSecret_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetMonitoringSecret_Call) Run(run func(params *cluster.GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_GetMonitoringSecret_Call
func (*ClientService_GetMonitoringSecret_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetMonitoringSecret_Call) RunAndReturn(run func(params *cluster.GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetMonitoringSecretOK, error)) *ClientService_GetMonitoringSecret_Call
type ClientService_GetSSHKeyPair_Call ¶ added in v0.30.9
ClientService_GetSSHKeyPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSSHKeyPair'
func (*ClientService_GetSSHKeyPair_Call) Return ¶ added in v0.30.9
func (_c *ClientService_GetSSHKeyPair_Call) Return(getSSHKeyPairOK *cluster.GetSSHKeyPairOK, err error) *ClientService_GetSSHKeyPair_Call
func (*ClientService_GetSSHKeyPair_Call) Run ¶ added in v0.30.9
func (_c *ClientService_GetSSHKeyPair_Call) Run(run func(params *cluster.GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_GetSSHKeyPair_Call
func (*ClientService_GetSSHKeyPair_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_GetSSHKeyPair_Call) RunAndReturn(run func(params *cluster.GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.GetSSHKeyPairOK, error)) *ClientService_GetSSHKeyPair_Call
type ClientService_ListClusters_Call ¶ added in v0.30.9
ClientService_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'
func (*ClientService_ListClusters_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ListClusters_Call) Return(listClustersOK *cluster.ListClustersOK, err error) *ClientService_ListClusters_Call
func (*ClientService_ListClusters_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ListClusters_Call) Run(run func(params *cluster.ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_ListClusters_Call
func (*ClientService_ListClusters_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ListClusters_Call) RunAndReturn(run func(params *cluster.ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ListClustersOK, error)) *ClientService_ListClusters_Call
type ClientService_ListConstraints_Call ¶ added in v0.30.9
ClientService_ListConstraints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListConstraints'
func (*ClientService_ListConstraints_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ListConstraints_Call) Return(listConstraintsOK *cluster.ListConstraintsOK, err error) *ClientService_ListConstraints_Call
func (*ClientService_ListConstraints_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ListConstraints_Call) Run(run func(params *cluster.ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_ListConstraints_Call
func (*ClientService_ListConstraints_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ListConstraints_Call) RunAndReturn(run func(params *cluster.ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ListConstraintsOK, error)) *ClientService_ListConstraints_Call
type ClientService_ReconcileCluster_Call ¶ added in v0.30.9
ClientService_ReconcileCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReconcileCluster'
func (*ClientService_ReconcileCluster_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ReconcileCluster_Call) Return(reconcileClusterOK *cluster.ReconcileClusterOK, err error) *ClientService_ReconcileCluster_Call
func (*ClientService_ReconcileCluster_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ReconcileCluster_Call) Run(run func(params *cluster.ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_ReconcileCluster_Call
func (*ClientService_ReconcileCluster_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ReconcileCluster_Call) RunAndReturn(run func(params *cluster.ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ReconcileClusterOK, error)) *ClientService_ReconcileCluster_Call
type ClientService_ReinstallMachine_Call ¶ added in v0.30.9
ClientService_ReinstallMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReinstallMachine'
func (*ClientService_ReinstallMachine_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ReinstallMachine_Call) Return(reinstallMachineOK *cluster.ReinstallMachineOK, err error) *ClientService_ReinstallMachine_Call
func (*ClientService_ReinstallMachine_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ReinstallMachine_Call) Run(run func(params *cluster.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_ReinstallMachine_Call
func (*ClientService_ReinstallMachine_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ReinstallMachine_Call) RunAndReturn(run func(params *cluster.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ReinstallMachineOK, error)) *ClientService_ReinstallMachine_Call
type ClientService_ResetMachine_Call ¶ added in v0.30.9
ClientService_ResetMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetMachine'
func (*ClientService_ResetMachine_Call) Return ¶ added in v0.30.9
func (_c *ClientService_ResetMachine_Call) Return(resetMachineOK *cluster.ResetMachineOK, err error) *ClientService_ResetMachine_Call
func (*ClientService_ResetMachine_Call) Run ¶ added in v0.30.9
func (_c *ClientService_ResetMachine_Call) Run(run func(params *cluster.ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_ResetMachine_Call
func (*ClientService_ResetMachine_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_ResetMachine_Call) RunAndReturn(run func(params *cluster.ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.ResetMachineOK, error)) *ClientService_ResetMachine_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_UpdateCluster_Call ¶ added in v0.30.9
ClientService_UpdateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCluster'
func (*ClientService_UpdateCluster_Call) Return ¶ added in v0.30.9
func (_c *ClientService_UpdateCluster_Call) Return(updateClusterOK *cluster.UpdateClusterOK, err error) *ClientService_UpdateCluster_Call
func (*ClientService_UpdateCluster_Call) Run ¶ added in v0.30.9
func (_c *ClientService_UpdateCluster_Call) Run(run func(params *cluster.UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption)) *ClientService_UpdateCluster_Call
func (*ClientService_UpdateCluster_Call) RunAndReturn ¶ added in v0.30.9
func (_c *ClientService_UpdateCluster_Call) RunAndReturn(run func(params *cluster.UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...cluster.ClientOption) (*cluster.UpdateClusterOK, error)) *ClientService_UpdateCluster_Call