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) ProcessCoolDownQueue() bool
- func (m *MockPool) ReconcilePool() *worker.WarmPoolJob
- func (m *MockPool) UpdatePool(arg0 *worker.WarmPoolJob, arg1 bool) bool
- type MockPoolMockRecorder
- func (mr *MockPoolMockRecorder) AssignResource(arg0 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) FreeResource(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) ProcessCoolDownQueue() *gomock.Call
- func (mr *MockPoolMockRecorder) ReconcilePool() *gomock.Call
- func (mr *MockPoolMockRecorder) UpdatePool(arg0, arg1 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) ProcessCoolDownQueue ¶
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