mockke

package
v0.0.0-...-908e76c Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mockke is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockruntime

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

Mockruntime is a mock of runtime interface.

func NewMockruntime

func NewMockruntime(ctrl *gomock.Controller) *Mockruntime

NewMockruntime creates a new mock instance.

func (*Mockruntime) Create

func (m *Mockruntime) Create(arg0 context.Context, arg1 *kev1alpha.Cluster) (*kev1alpha.Cluster, error)

Create mocks base method.

func (*Mockruntime) Delete

func (m *Mockruntime) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*Mockruntime) EXPECT

func (m *Mockruntime) EXPECT() *MockruntimeMockRecorder

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

func (*Mockruntime) Get

func (m *Mockruntime) Get(arg0 context.Context, arg1 string) (*kev1alpha.Cluster, error)

Get mocks base method.

func (*Mockruntime) List

func (m *Mockruntime) List(arg0 context.Context, arg1 int32, arg2 *v1.Pagination) ([]*kev1alpha.Cluster, *v1.Pagination, error)

List mocks base method.

func (*Mockruntime) NewID

func (m *Mockruntime) NewID() string

NewID mocks base method.

func (*Mockruntime) Update

Update mocks base method.

type MockruntimeMockRecorder

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

MockruntimeMockRecorder is the mock recorder for Mockruntime.

func (*MockruntimeMockRecorder) Create

func (mr *MockruntimeMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockruntimeMockRecorder) Delete

func (mr *MockruntimeMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockruntimeMockRecorder) Get

func (mr *MockruntimeMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockruntimeMockRecorder) List

func (mr *MockruntimeMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockruntimeMockRecorder) NewID

func (mr *MockruntimeMockRecorder) NewID() *gomock.Call

NewID indicates an expected call of NewID.

func (*MockruntimeMockRecorder) Update

func (mr *MockruntimeMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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