Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPool
- func (m *MockPool) CreatePool(ctx context.Context, pool *v1.Pool) (string, error)
- func (m *MockPool) DeletePool(ctx context.Context, key client.ObjectKey) error
- func (m *MockPool) EXPECT() *MockPoolMockRecorder
- func (m *MockPool) GetPool(ctx context.Context, key client.ObjectKey) (*v1.Pool, error)
- func (m *MockPool) ListPools(ctx context.Context) (*v1.PoolList, error)
- func (m *MockPool) UpdatePool(ctx context.Context, pool *v1.Pool) error
- type MockPoolMockRecorder
- func (mr *MockPoolMockRecorder) CreatePool(ctx, pool interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) DeletePool(ctx, key interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) GetPool(ctx, key interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) ListPools(ctx interface{}) *gomock.Call
- func (mr *MockPoolMockRecorder) UpdatePool(ctx, pool 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) CreatePool ¶
CreatePool mocks base method.
func (*MockPool) DeletePool ¶
DeletePool mocks base method.
func (*MockPool) EXPECT ¶
func (m *MockPool) EXPECT() *MockPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPoolMockRecorder ¶
type MockPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolMockRecorder is the mock recorder for MockPool.
func (*MockPoolMockRecorder) CreatePool ¶
func (mr *MockPoolMockRecorder) CreatePool(ctx, pool interface{}) *gomock.Call
CreatePool indicates an expected call of CreatePool.
func (*MockPoolMockRecorder) DeletePool ¶
func (mr *MockPoolMockRecorder) DeletePool(ctx, key interface{}) *gomock.Call
DeletePool indicates an expected call of DeletePool.
func (*MockPoolMockRecorder) GetPool ¶
func (mr *MockPoolMockRecorder) GetPool(ctx, key interface{}) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockPoolMockRecorder) ListPools ¶
func (mr *MockPoolMockRecorder) ListPools(ctx interface{}) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*MockPoolMockRecorder) UpdatePool ¶
func (mr *MockPoolMockRecorder) UpdatePool(ctx, pool interface{}) *gomock.Call
UpdatePool indicates an expected call of UpdatePool.
Click to show internal directories.
Click to hide internal directories.