Documentation ¶
Overview ¶
Package mock_pool is a generated GoMock package.
Index ¶
- type MockPool
- func (m *MockPool) AssignResource(arg0 string) (string, bool, error)
- func (m *MockPool) EXPECT() *MockPoolMockRecorder
- func (m *MockPool) FreeResource(arg0, arg1 string) (bool, error)
- func (m *MockPool) GetAssignedResource(arg0 string) (string, bool)
- func (m *MockPool) Introspect() pool.IntrospectResponse
- func (m *MockPool) ProcessCoolDownQueue() bool
- func (m *MockPool) ReSync(arg0 []string)
- func (m *MockPool) ReconcilePool() *worker.WarmPoolJob
- func (m *MockPool) SetToActive(arg0 *config.WarmPoolConfig) *worker.WarmPoolJob
- func (m *MockPool) SetToDraining() *worker.WarmPoolJob
- func (m *MockPool) UpdatePool(arg0 *worker.WarmPoolJob, arg1, arg2 bool) bool
- type MockPoolMockRecorder
- func (mr *MockPoolMockRecorder) AssignResource(arg0 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) FreeResource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) GetAssignedResource(arg0 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) Introspect() *gomock.Call
- func (mr *MockPoolMockRecorder) ProcessCoolDownQueue() *gomock.Call
- func (mr *MockPoolMockRecorder) ReSync(arg0 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) ReconcilePool() *gomock.Call
- func (mr *MockPoolMockRecorder) SetToActive(arg0 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) SetToDraining() *gomock.Call
- func (mr *MockPoolMockRecorder) UpdatePool(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
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 ¶
FreeResource mocks base method.
func (*MockPool) GetAssignedResource ¶ added in v1.1.0
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 ¶
ProcessCoolDownQueue mocks base method.
func (*MockPool) ReconcilePool ¶
func (m *MockPool) ReconcilePool() *worker.WarmPoolJob
ReconcilePool mocks base method.
func (*MockPool) SetToActive ¶ added in v1.1.8
func (m *MockPool) SetToActive(arg0 *config.WarmPoolConfig) *worker.WarmPoolJob
SetToActive mocks base method.
func (*MockPool) SetToDraining ¶ added in v1.1.8
func (m *MockPool) SetToDraining() *worker.WarmPoolJob
SetToDraining mocks base method.
func (*MockPool) UpdatePool ¶
func (m *MockPool) UpdatePool(arg0 *worker.WarmPoolJob, arg1, arg2 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) SetToActive ¶ added in v1.1.8
func (mr *MockPoolMockRecorder) SetToActive(arg0 interface{}) *gomock.Call
SetToActive indicates an expected call of SetToActive.
func (*MockPoolMockRecorder) SetToDraining ¶ added in v1.1.8
func (mr *MockPoolMockRecorder) SetToDraining() *gomock.Call
SetToDraining indicates an expected call of SetToDraining.
func (*MockPoolMockRecorder) UpdatePool ¶
func (mr *MockPoolMockRecorder) UpdatePool(arg0, arg1, arg2 interface{}) *gomock.Call
UpdatePool indicates an expected call of UpdatePool.