mocks

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks 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) CreatePool

func (m *MockPool) CreatePool(ctx context.Context, pool *v1.Pool) (string, error)

CreatePool mocks base method.

func (*MockPool) DeletePool

func (m *MockPool) DeletePool(ctx context.Context, key client.ObjectKey) error

DeletePool 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) GetPool

func (m *MockPool) GetPool(ctx context.Context, key client.ObjectKey) (*v1.Pool, error)

GetPool mocks base method.

func (*MockPool) ListPools

func (m *MockPool) ListPools(ctx context.Context) (*v1.PoolList, error)

ListPools mocks base method.

func (*MockPool) UpdatePool

func (m *MockPool) UpdatePool(ctx context.Context, pool *v1.Pool) error

UpdatePool mocks base method.

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.

Jump to

Keyboard shortcuts

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