mock

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, error)

MachinesRunning mocks base method

func (*MockHibernationActuator) MachinesStopped

func (m *MockHibernationActuator) MachinesStopped(cd *v1.ClusterDeployment, hiveClient client.Client, logger logrus.FieldLogger) (bool, 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 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

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