Documentation ¶
Index ¶
- type ClientOption
- type ClientService
- func (_m *ClientService) CreateCluster(params *clientcluster.CreateClusterParams, ...) (*clientcluster.CreateClusterCreated, error)
- func (_m *ClientService) CycleMachine(params *clientcluster.CycleMachineParams, ...) (*clientcluster.CycleMachineOK, error)
- func (_m *ClientService) DeleteCluster(params *clientcluster.DeleteClusterParams, ...) (*clientcluster.DeleteClusterOK, error)
- func (_m *ClientService) FindCluster(params *clientcluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, ...) (*clientcluster.FindClusterOK, error)
- func (_m *ClientService) FindClusters(params *clientcluster.FindClustersParams, ...) (*clientcluster.FindClustersOK, error)
- func (_m *ClientService) GetAuditPolicy(params *clientcluster.GetAuditPolicyParams, ...) (*clientcluster.GetAuditPolicyOK, error)
- func (_m *ClientService) GetClusterKubeconfigTpl(params *clientcluster.GetClusterKubeconfigTplParams, ...) (*clientcluster.GetClusterKubeconfigTplOK, error)
- func (_m *ClientService) GetMonitoringSecret(params *clientcluster.GetMonitoringSecretParams, ...) (*clientcluster.GetMonitoringSecretOK, error)
- func (_m *ClientService) GetSSHKeyPair(params *clientcluster.GetSSHKeyPairParams, ...) (*clientcluster.GetSSHKeyPairOK, error)
- func (_m *ClientService) ListClusters(params *clientcluster.ListClustersParams, ...) (*clientcluster.ListClustersOK, error)
- func (_m *ClientService) ListConstraints(params *clientcluster.ListConstraintsParams, ...) (*clientcluster.ListConstraintsOK, error)
- func (_m *ClientService) ReconcileCluster(params *clientcluster.ReconcileClusterParams, ...) (*clientcluster.ReconcileClusterOK, error)
- func (_m *ClientService) ReinstallMachine(params *clientcluster.ReinstallMachineParams, ...) (*clientcluster.ReinstallMachineOK, error)
- func (_m *ClientService) ResetMachine(params *clientcluster.ResetMachineParams, ...) (*clientcluster.ResetMachineOK, error)
- func (_m *ClientService) SetTransport(transport runtime.ClientTransport)
- func (_m *ClientService) UpdateCluster(params *clientcluster.UpdateClusterParams, ...) (*clientcluster.UpdateClusterOK, 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) CreateCluster ¶
func (_m *ClientService) CreateCluster(params *clientcluster.CreateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.CreateClusterCreated, error)
CreateCluster provides a mock function with given fields: params, authInfo, opts
func (*ClientService) CycleMachine ¶ added in v0.17.9
func (_m *ClientService) CycleMachine(params *clientcluster.CycleMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.CycleMachineOK, error)
CycleMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) DeleteCluster ¶
func (_m *ClientService) DeleteCluster(params *clientcluster.DeleteClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.DeleteClusterOK, error)
DeleteCluster provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindCluster ¶
func (_m *ClientService) FindCluster(params *clientcluster.FindClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.FindClusterOK, error)
FindCluster provides a mock function with given fields: params, authInfo, opts
func (*ClientService) FindClusters ¶
func (_m *ClientService) FindClusters(params *clientcluster.FindClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.FindClustersOK, error)
FindClusters provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetAuditPolicy ¶ added in v0.23.0
func (_m *ClientService) GetAuditPolicy(params *clientcluster.GetAuditPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.GetAuditPolicyOK, error)
GetAuditPolicy provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetClusterKubeconfigTpl ¶
func (_m *ClientService) GetClusterKubeconfigTpl(params *clientcluster.GetClusterKubeconfigTplParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.GetClusterKubeconfigTplOK, error)
GetClusterKubeconfigTpl provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetMonitoringSecret ¶ added in v0.18.28
func (_m *ClientService) GetMonitoringSecret(params *clientcluster.GetMonitoringSecretParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.GetMonitoringSecretOK, error)
GetMonitoringSecret provides a mock function with given fields: params, authInfo, opts
func (*ClientService) GetSSHKeyPair ¶
func (_m *ClientService) GetSSHKeyPair(params *clientcluster.GetSSHKeyPairParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.GetSSHKeyPairOK, error)
GetSSHKeyPair provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListClusters ¶
func (_m *ClientService) ListClusters(params *clientcluster.ListClustersParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.ListClustersOK, error)
ListClusters provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ListConstraints ¶
func (_m *ClientService) ListConstraints(params *clientcluster.ListConstraintsParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.ListConstraintsOK, error)
ListConstraints provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ReconcileCluster ¶
func (_m *ClientService) ReconcileCluster(params *clientcluster.ReconcileClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.ReconcileClusterOK, error)
ReconcileCluster provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ReinstallMachine ¶ added in v0.17.9
func (_m *ClientService) ReinstallMachine(params *clientcluster.ReinstallMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.ReinstallMachineOK, error)
ReinstallMachine provides a mock function with given fields: params, authInfo, opts
func (*ClientService) ResetMachine ¶ added in v0.17.9
func (_m *ClientService) ResetMachine(params *clientcluster.ResetMachineParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.ResetMachineOK, error)
ResetMachine 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) UpdateCluster ¶
func (_m *ClientService) UpdateCluster(params *clientcluster.UpdateClusterParams, authInfo runtime.ClientAuthInfoWriter, opts ...clientcluster.ClientOption) (*clientcluster.UpdateClusterOK, error)
UpdateCluster provides a mock function with given fields: params, authInfo, opts