cluster

package
v0.30.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientService

type ClientService struct {
	mock.Mock
}

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

CreateCluster provides a mock function for the type ClientService

func (*ClientService) CycleMachine added in v0.17.9

CycleMachine provides a mock function for the type ClientService

func (*ClientService) DeleteCluster

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

FindCluster provides a mock function for the type ClientService

func (*ClientService) FindClusters

FindClusters provides a mock function for the type ClientService

func (*ClientService) GetAuditPolicy added in v0.23.0

GetAuditPolicy provides a mock function for the type ClientService

func (*ClientService) GetClusterKubeconfigTpl

GetClusterKubeconfigTpl provides a mock function for the type ClientService

func (*ClientService) GetMonitoringSecret added in v0.18.28

GetMonitoringSecret provides a mock function for the type ClientService

func (*ClientService) GetSSHKeyPair

GetSSHKeyPair provides a mock function for the type ClientService

func (*ClientService) ListClusters

ListClusters provides a mock function for the type ClientService

func (*ClientService) ListConstraints

ListConstraints provides a mock function for the type ClientService

func (*ClientService) ReconcileCluster

ReconcileCluster provides a mock function for the type ClientService

func (*ClientService) ReinstallMachine added in v0.17.9

ReinstallMachine provides a mock function for the type ClientService

func (*ClientService) ResetMachine added in v0.17.9

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

UpdateCluster provides a mock function for the type ClientService

type ClientService_CreateCluster_Call added in v0.30.9

type ClientService_CreateCluster_Call struct {
	*mock.Call
}

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 (*ClientService_CreateCluster_Call) Run added in v0.30.9

func (*ClientService_CreateCluster_Call) RunAndReturn added in v0.30.9

type ClientService_CycleMachine_Call added in v0.30.9

type ClientService_CycleMachine_Call struct {
	*mock.Call
}

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 (*ClientService_CycleMachine_Call) Run added in v0.30.9

func (*ClientService_CycleMachine_Call) RunAndReturn added in v0.30.9

type ClientService_DeleteCluster_Call added in v0.30.9

type ClientService_DeleteCluster_Call struct {
	*mock.Call
}

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 (*ClientService_DeleteCluster_Call) Run added in v0.30.9

func (*ClientService_DeleteCluster_Call) RunAndReturn added in v0.30.9

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

type ClientService_FindCluster_Call struct {
	*mock.Call
}

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 (*ClientService_FindCluster_Call) Run added in v0.30.9

func (*ClientService_FindCluster_Call) RunAndReturn added in v0.30.9

type ClientService_FindClusters_Call added in v0.30.9

type ClientService_FindClusters_Call struct {
	*mock.Call
}

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 (*ClientService_FindClusters_Call) Run added in v0.30.9

func (*ClientService_FindClusters_Call) RunAndReturn added in v0.30.9

type ClientService_GetAuditPolicy_Call added in v0.30.9

type ClientService_GetAuditPolicy_Call struct {
	*mock.Call
}

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 (*ClientService_GetAuditPolicy_Call) Run added in v0.30.9

func (*ClientService_GetAuditPolicy_Call) RunAndReturn added in v0.30.9

type ClientService_GetClusterKubeconfigTpl_Call added in v0.30.9

type ClientService_GetClusterKubeconfigTpl_Call struct {
	*mock.Call
}

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 (*ClientService_GetClusterKubeconfigTpl_Call) Run added in v0.30.9

func (*ClientService_GetClusterKubeconfigTpl_Call) RunAndReturn added in v0.30.9

type ClientService_GetMonitoringSecret_Call added in v0.30.9

type ClientService_GetMonitoringSecret_Call struct {
	*mock.Call
}

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 (*ClientService_GetMonitoringSecret_Call) Run added in v0.30.9

func (*ClientService_GetMonitoringSecret_Call) RunAndReturn added in v0.30.9

type ClientService_GetSSHKeyPair_Call added in v0.30.9

type ClientService_GetSSHKeyPair_Call struct {
	*mock.Call
}

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 (*ClientService_GetSSHKeyPair_Call) Run added in v0.30.9

func (*ClientService_GetSSHKeyPair_Call) RunAndReturn added in v0.30.9

type ClientService_ListClusters_Call added in v0.30.9

type ClientService_ListClusters_Call struct {
	*mock.Call
}

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 (*ClientService_ListClusters_Call) Run added in v0.30.9

func (*ClientService_ListClusters_Call) RunAndReturn added in v0.30.9

type ClientService_ListConstraints_Call added in v0.30.9

type ClientService_ListConstraints_Call struct {
	*mock.Call
}

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 (*ClientService_ListConstraints_Call) Run added in v0.30.9

func (*ClientService_ListConstraints_Call) RunAndReturn added in v0.30.9

type ClientService_ReconcileCluster_Call added in v0.30.9

type ClientService_ReconcileCluster_Call struct {
	*mock.Call
}

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 (*ClientService_ReconcileCluster_Call) Run added in v0.30.9

func (*ClientService_ReconcileCluster_Call) RunAndReturn added in v0.30.9

type ClientService_ReinstallMachine_Call added in v0.30.9

type ClientService_ReinstallMachine_Call struct {
	*mock.Call
}

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 (*ClientService_ReinstallMachine_Call) Run added in v0.30.9

func (*ClientService_ReinstallMachine_Call) RunAndReturn added in v0.30.9

type ClientService_ResetMachine_Call added in v0.30.9

type ClientService_ResetMachine_Call struct {
	*mock.Call
}

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 (*ClientService_ResetMachine_Call) Run added in v0.30.9

func (*ClientService_ResetMachine_Call) RunAndReturn added in v0.30.9

type ClientService_SetTransport_Call added in v0.30.9

type ClientService_SetTransport_Call struct {
	*mock.Call
}

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 (*ClientService_SetTransport_Call) Run added in v0.30.9

func (*ClientService_SetTransport_Call) RunAndReturn added in v0.30.9

type ClientService_UpdateCluster_Call added in v0.30.9

type ClientService_UpdateCluster_Call struct {
	*mock.Call
}

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 (*ClientService_UpdateCluster_Call) Run added in v0.30.9

func (*ClientService_UpdateCluster_Call) RunAndReturn added in v0.30.9

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL