mock_pool

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_pool is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPool

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

MockPool is a mock of Pool interface.

func NewMockPool

func NewMockPool(ctrl *gomock.Controller) *MockPool

NewMockPool creates a new mock instance.

func (*MockPool) AssignResource

func (m *MockPool) AssignResource(arg0 string) (string, bool, error)

AssignResource mocks base method.

func (*MockPool) EXPECT

func (m *MockPool) EXPECT() *MockPoolMockRecorder

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

func (*MockPool) FreeResource

func (m *MockPool) FreeResource(arg0, arg1 string) (bool, error)

FreeResource mocks base method.

func (*MockPool) GetAssignedResource added in v1.1.0

func (m *MockPool) GetAssignedResource(arg0 string) (string, bool)

GetAssignedResource mocks base method.

func (*MockPool) Introspect added in v1.1.0

func (m *MockPool) Introspect() pool.IntrospectResponse

Introspect mocks base method.

func (*MockPool) ProcessCoolDownQueue

func (m *MockPool) ProcessCoolDownQueue() bool

ProcessCoolDownQueue mocks base method.

func (*MockPool) ReSync added in v1.1.0

func (m *MockPool) ReSync(arg0 []string)

ReSync mocks base method.

func (*MockPool) ReconcilePool

func (m *MockPool) ReconcilePool() *worker.WarmPoolJob

ReconcilePool mocks base method.

func (*MockPool) UpdatePool

func (m *MockPool) UpdatePool(arg0 *worker.WarmPoolJob, arg1 bool) bool

UpdatePool mocks base method.

type MockPoolMockRecorder

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

MockPoolMockRecorder is the mock recorder for MockPool.

func (*MockPoolMockRecorder) AssignResource

func (mr *MockPoolMockRecorder) AssignResource(arg0 interface{}) *gomock.Call

AssignResource indicates an expected call of AssignResource.

func (*MockPoolMockRecorder) FreeResource

func (mr *MockPoolMockRecorder) FreeResource(arg0, arg1 interface{}) *gomock.Call

FreeResource indicates an expected call of FreeResource.

func (*MockPoolMockRecorder) GetAssignedResource added in v1.1.0

func (mr *MockPoolMockRecorder) GetAssignedResource(arg0 interface{}) *gomock.Call

GetAssignedResource indicates an expected call of GetAssignedResource.

func (*MockPoolMockRecorder) Introspect added in v1.1.0

func (mr *MockPoolMockRecorder) Introspect() *gomock.Call

Introspect indicates an expected call of Introspect.

func (*MockPoolMockRecorder) ProcessCoolDownQueue

func (mr *MockPoolMockRecorder) ProcessCoolDownQueue() *gomock.Call

ProcessCoolDownQueue indicates an expected call of ProcessCoolDownQueue.

func (*MockPoolMockRecorder) ReSync added in v1.1.0

func (mr *MockPoolMockRecorder) ReSync(arg0 interface{}) *gomock.Call

ReSync indicates an expected call of ReSync.

func (*MockPoolMockRecorder) ReconcilePool

func (mr *MockPoolMockRecorder) ReconcilePool() *gomock.Call

ReconcilePool indicates an expected call of ReconcilePool.

func (*MockPoolMockRecorder) UpdatePool

func (mr *MockPoolMockRecorder) UpdatePool(arg0, arg1 interface{}) *gomock.Call

UpdatePool indicates an expected call of UpdatePool.

Jump to

Keyboard shortcuts

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