mock_pool

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 3 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) ProcessCoolDownQueue

func (m *MockPool) ProcessCoolDownQueue() bool

ProcessCoolDownQueue 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) ProcessCoolDownQueue

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

ProcessCoolDownQueue indicates an expected call of ProcessCoolDownQueue

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