mock

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHibernationActuator

type MockHibernationActuator struct {
	// contains filtered or unexported fields
}

MockHibernationActuator is a mock of HibernationActuator interface

func NewMockHibernationActuator

func NewMockHibernationActuator(ctrl *gomock.Controller) *MockHibernationActuator

NewMockHibernationActuator creates a new mock instance

func (*MockHibernationActuator) CanHandle

CanHandle mocks base method

func (*MockHibernationActuator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHibernationActuator) MachinesRunning

func (m *MockHibernationActuator) MachinesRunning(cd *v1.ClusterDeployment, hiveClient client.Client, logger logrus.FieldLogger) (bool, []string, error)

MachinesRunning mocks base method

func (*MockHibernationActuator) MachinesStopped

func (m *MockHibernationActuator) MachinesStopped(cd *v1.ClusterDeployment, hiveClient client.Client, logger logrus.FieldLogger) (bool, []string, error)

MachinesStopped mocks base method

func (*MockHibernationActuator) StartMachines

func (m *MockHibernationActuator) StartMachines(cd *v1.ClusterDeployment, hiveClient client.Client, logger logrus.FieldLogger) error

StartMachines mocks base method

func (*MockHibernationActuator) StopMachines

func (m *MockHibernationActuator) StopMachines(cd *v1.ClusterDeployment, hiveClient client.Client, logger logrus.FieldLogger) error

StopMachines mocks base method

type MockHibernationActuatorMockRecorder

type MockHibernationActuatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockHibernationActuatorMockRecorder is the mock recorder for MockHibernationActuator

func (*MockHibernationActuatorMockRecorder) CanHandle

func (mr *MockHibernationActuatorMockRecorder) CanHandle(cd interface{}) *gomock.Call

CanHandle indicates an expected call of CanHandle

func (*MockHibernationActuatorMockRecorder) MachinesRunning

func (mr *MockHibernationActuatorMockRecorder) MachinesRunning(cd, hiveClient, logger interface{}) *gomock.Call

MachinesRunning indicates an expected call of MachinesRunning

func (*MockHibernationActuatorMockRecorder) MachinesStopped

func (mr *MockHibernationActuatorMockRecorder) MachinesStopped(cd, hiveClient, logger interface{}) *gomock.Call

MachinesStopped indicates an expected call of MachinesStopped

func (*MockHibernationActuatorMockRecorder) StartMachines

func (mr *MockHibernationActuatorMockRecorder) StartMachines(cd, hiveClient, logger interface{}) *gomock.Call

StartMachines indicates an expected call of StartMachines

func (*MockHibernationActuatorMockRecorder) StopMachines

func (mr *MockHibernationActuatorMockRecorder) StopMachines(cd, hiveClient, logger interface{}) *gomock.Call

StopMachines indicates an expected call of StopMachines

type MockHibernationPreemptibleMachines added in v1.1.10

type MockHibernationPreemptibleMachines struct {
	// contains filtered or unexported fields
}

MockHibernationPreemptibleMachines is a mock of HibernationPreemptibleMachines interface

func NewMockHibernationPreemptibleMachines added in v1.1.10

func NewMockHibernationPreemptibleMachines(ctrl *gomock.Controller) *MockHibernationPreemptibleMachines

NewMockHibernationPreemptibleMachines creates a new mock instance

func (*MockHibernationPreemptibleMachines) EXPECT added in v1.1.10

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHibernationPreemptibleMachines) ReplaceMachines added in v1.1.10

func (m *MockHibernationPreemptibleMachines) ReplaceMachines(cd *v1.ClusterDeployment, remoteClient client.Client, logger logrus.FieldLogger) (bool, error)

ReplaceMachines mocks base method

type MockHibernationPreemptibleMachinesMockRecorder added in v1.1.10

type MockHibernationPreemptibleMachinesMockRecorder struct {
	// contains filtered or unexported fields
}

MockHibernationPreemptibleMachinesMockRecorder is the mock recorder for MockHibernationPreemptibleMachines

func (*MockHibernationPreemptibleMachinesMockRecorder) ReplaceMachines added in v1.1.10

func (mr *MockHibernationPreemptibleMachinesMockRecorder) ReplaceMachines(cd, remoteClient, logger interface{}) *gomock.Call

ReplaceMachines indicates an expected call of ReplaceMachines

type MockcsrHelper

type MockcsrHelper struct {
	// contains filtered or unexported fields
}

MockcsrHelper is a mock of csrHelper interface

func NewMockcsrHelper

func NewMockcsrHelper(ctrl *gomock.Controller) *MockcsrHelper

NewMockcsrHelper creates a new mock instance

func (*MockcsrHelper) Approve

Approve mocks base method

func (*MockcsrHelper) Authorize

Authorize mocks base method

func (*MockcsrHelper) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockcsrHelper) IsApproved

func (m *MockcsrHelper) IsApproved(csr *v1.CertificateSigningRequest) bool

IsApproved mocks base method

func (*MockcsrHelper) Parse

Parse mocks base method

type MockcsrHelperMockRecorder

type MockcsrHelperMockRecorder struct {
	// contains filtered or unexported fields
}

MockcsrHelperMockRecorder is the mock recorder for MockcsrHelper

func (*MockcsrHelperMockRecorder) Approve

func (mr *MockcsrHelperMockRecorder) Approve(client, csr interface{}) *gomock.Call

Approve indicates an expected call of Approve

func (*MockcsrHelperMockRecorder) Authorize

func (mr *MockcsrHelperMockRecorder) Authorize(machines, nodes, req, csr interface{}) *gomock.Call

Authorize indicates an expected call of Authorize

func (*MockcsrHelperMockRecorder) IsApproved

func (mr *MockcsrHelperMockRecorder) IsApproved(csr interface{}) *gomock.Call

IsApproved indicates an expected call of IsApproved

func (*MockcsrHelperMockRecorder) Parse

func (mr *MockcsrHelperMockRecorder) Parse(obj interface{}) *gomock.Call

Parse indicates an expected call of Parse

Jump to

Keyboard shortcuts

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