mocks

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDryad

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

MockDryad is a mock of Dryad interface

func NewMockDryad

func NewMockDryad(ctrl *gomock.Controller) *MockDryad

NewMockDryad creates a new mock instance

func (*MockDryad) EXPECT

func (m *MockDryad) EXPECT() *MockDryadMockRecorder

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

func (*MockDryad) Healthcheck

func (m *MockDryad) Healthcheck() error

Healthcheck mocks base method

func (*MockDryad) Prepare

func (m *MockDryad) Prepare(arg0 *ssh.PublicKey) error

Prepare mocks base method

func (*MockDryad) PutInMaintenance

func (m *MockDryad) PutInMaintenance(arg0 string) error

PutInMaintenance mocks base method

type MockDryadMockRecorder

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

MockDryadMockRecorder is the mock recorder for MockDryad

func (*MockDryadMockRecorder) Healthcheck

func (mr *MockDryadMockRecorder) Healthcheck() *gomock.Call

Healthcheck indicates an expected call of Healthcheck

func (*MockDryadMockRecorder) Prepare

func (mr *MockDryadMockRecorder) Prepare(arg0 interface{}) *gomock.Call

Prepare indicates an expected call of Prepare

func (*MockDryadMockRecorder) PutInMaintenance

func (mr *MockDryadMockRecorder) PutInMaintenance(arg0 interface{}) *gomock.Call

PutInMaintenance indicates an expected call of PutInMaintenance

type MockRequests

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

MockRequests is a mock of Requests interface

func NewMockRequests

func NewMockRequests(ctrl *gomock.Controller) *MockRequests

NewMockRequests creates a new mock instance

func (*MockRequests) AcquireWorker

func (m *MockRequests) AcquireWorker(arg0 boruta.ReqID) (boruta.AccessInfo, error)

AcquireWorker mocks base method

func (*MockRequests) CloseRequest

func (m *MockRequests) CloseRequest(arg0 boruta.ReqID) error

CloseRequest mocks base method

func (*MockRequests) EXPECT

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

func (*MockRequests) GetRequestInfo

func (m *MockRequests) GetRequestInfo(arg0 boruta.ReqID) (boruta.ReqInfo, error)

GetRequestInfo mocks base method

func (*MockRequests) ListRequests

ListRequests mocks base method

func (*MockRequests) NewRequest

func (m *MockRequests) NewRequest(arg0 boruta.Capabilities, arg1 boruta.Priority, arg2 boruta.UserInfo, arg3, arg4 time.Time) (boruta.ReqID, error)

NewRequest mocks base method

func (*MockRequests) ProlongAccess

func (m *MockRequests) ProlongAccess(arg0 boruta.ReqID) error

ProlongAccess mocks base method

func (*MockRequests) UpdateRequest

func (m *MockRequests) UpdateRequest(arg0 *boruta.ReqInfo) error

UpdateRequest mocks base method

type MockRequestsMockRecorder

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

MockRequestsMockRecorder is the mock recorder for MockRequests

func (*MockRequestsMockRecorder) AcquireWorker

func (mr *MockRequestsMockRecorder) AcquireWorker(arg0 interface{}) *gomock.Call

AcquireWorker indicates an expected call of AcquireWorker

func (*MockRequestsMockRecorder) CloseRequest

func (mr *MockRequestsMockRecorder) CloseRequest(arg0 interface{}) *gomock.Call

CloseRequest indicates an expected call of CloseRequest

func (*MockRequestsMockRecorder) GetRequestInfo

func (mr *MockRequestsMockRecorder) GetRequestInfo(arg0 interface{}) *gomock.Call

GetRequestInfo indicates an expected call of GetRequestInfo

func (*MockRequestsMockRecorder) ListRequests

func (mr *MockRequestsMockRecorder) ListRequests(arg0, arg1, arg2 interface{}) *gomock.Call

ListRequests indicates an expected call of ListRequests

func (*MockRequestsMockRecorder) NewRequest

func (mr *MockRequestsMockRecorder) NewRequest(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

NewRequest indicates an expected call of NewRequest

func (*MockRequestsMockRecorder) ProlongAccess

func (mr *MockRequestsMockRecorder) ProlongAccess(arg0 interface{}) *gomock.Call

ProlongAccess indicates an expected call of ProlongAccess

func (*MockRequestsMockRecorder) UpdateRequest

func (mr *MockRequestsMockRecorder) UpdateRequest(arg0 interface{}) *gomock.Call

UpdateRequest indicates an expected call of UpdateRequest

type MockSuperviser

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

MockSuperviser is a mock of Superviser interface

func NewMockSuperviser

func NewMockSuperviser(ctrl *gomock.Controller) *MockSuperviser

NewMockSuperviser creates a new mock instance

func (*MockSuperviser) EXPECT

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

func (*MockSuperviser) Register

func (m *MockSuperviser) Register(arg0 boruta.Capabilities, arg1, arg2 string) error

Register mocks base method

func (*MockSuperviser) SetFail

func (m *MockSuperviser) SetFail(arg0 boruta.WorkerUUID, arg1 string) error

SetFail mocks base method

type MockSuperviserMockRecorder

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

MockSuperviserMockRecorder is the mock recorder for MockSuperviser

func (*MockSuperviserMockRecorder) Register

func (mr *MockSuperviserMockRecorder) Register(arg0, arg1, arg2 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockSuperviserMockRecorder) SetFail

func (mr *MockSuperviserMockRecorder) SetFail(arg0, arg1 interface{}) *gomock.Call

SetFail indicates an expected call of SetFail

type MockWorkers

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

MockWorkers is a mock of Workers interface

func NewMockWorkers

func NewMockWorkers(ctrl *gomock.Controller) *MockWorkers

NewMockWorkers creates a new mock instance

func (*MockWorkers) Deregister

func (m *MockWorkers) Deregister(arg0 boruta.WorkerUUID) error

Deregister mocks base method

func (*MockWorkers) EXPECT

func (m *MockWorkers) EXPECT() *MockWorkersMockRecorder

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

func (*MockWorkers) GetWorkerInfo

func (m *MockWorkers) GetWorkerInfo(arg0 boruta.WorkerUUID) (boruta.WorkerInfo, error)

GetWorkerInfo mocks base method

func (*MockWorkers) ListWorkers

ListWorkers mocks base method

func (*MockWorkers) SetGroups

func (m *MockWorkers) SetGroups(arg0 boruta.WorkerUUID, arg1 boruta.Groups) error

SetGroups mocks base method

func (*MockWorkers) SetState

func (m *MockWorkers) SetState(arg0 boruta.WorkerUUID, arg1 boruta.WorkerState) error

SetState mocks base method

type MockWorkersMockRecorder

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

MockWorkersMockRecorder is the mock recorder for MockWorkers

func (*MockWorkersMockRecorder) Deregister

func (mr *MockWorkersMockRecorder) Deregister(arg0 interface{}) *gomock.Call

Deregister indicates an expected call of Deregister

func (*MockWorkersMockRecorder) GetWorkerInfo

func (mr *MockWorkersMockRecorder) GetWorkerInfo(arg0 interface{}) *gomock.Call

GetWorkerInfo indicates an expected call of GetWorkerInfo

func (*MockWorkersMockRecorder) ListWorkers

func (mr *MockWorkersMockRecorder) ListWorkers(arg0, arg1, arg2 interface{}) *gomock.Call

ListWorkers indicates an expected call of ListWorkers

func (*MockWorkersMockRecorder) SetGroups

func (mr *MockWorkersMockRecorder) SetGroups(arg0, arg1 interface{}) *gomock.Call

SetGroups indicates an expected call of SetGroups

func (*MockWorkersMockRecorder) SetState

func (mr *MockWorkersMockRecorder) SetState(arg0, arg1 interface{}) *gomock.Call

SetState indicates an expected call of SetState

Jump to

Keyboard shortcuts

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