mock_k8s

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_k8s is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Create

Create mocks base method.

func (*MockManager) Delete

func (m *MockManager) Delete(ctx context.Context, name string) error

Delete mocks base method.

func (*MockManager) DeleteAll

func (m *MockManager) DeleteAll(ctx context.Context) error

DeleteAll mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManager) List

func (m *MockManager) List(ctx context.Context) ([]model.LoadGenerator, error)

List mocks base method.

type MockManagerMockRecorder

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Create

func (mr *MockManagerMockRecorder) Create(ctx, cfg interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockManagerMockRecorder) Delete

func (mr *MockManagerMockRecorder) Delete(ctx, name interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockManagerMockRecorder) DeleteAll

func (mr *MockManagerMockRecorder) DeleteAll(ctx interface{}) *gomock.Call

DeleteAll indicates an expected call of DeleteAll.

func (*MockManagerMockRecorder) List

func (mr *MockManagerMockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

Jump to

Keyboard shortcuts

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