mockv1alpha

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: 7 Imported by: 0

Documentation

Overview

Package mockv1alpha 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(ctx context.Context, resource *kev1alpha.Cluster) (*kev1alpha.Cluster, error)

Create mocks base method.

func (*Mockruntime) Delete

func (m *Mockruntime) Delete(ctx context.Context, name string) (*empty.Empty, 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(ctx context.Context, name string) (*kev1alpha.Cluster, error)

Get mocks base method.

func (*Mockruntime) List

func (m *Mockruntime) List(ctx context.Context, pageSize int32, page *v1.Pagination) ([]*kev1alpha.Cluster, *v1.Pagination, error)

List mocks base method.

func (*Mockruntime) Update

func (m *Mockruntime) Update(ctx context.Context, resource *kev1alpha.Cluster, mask *fieldmaskpb.FieldMask) (*kev1alpha.Cluster, error)

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(ctx, resource interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockruntimeMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockruntimeMockRecorder) Get

func (mr *MockruntimeMockRecorder) Get(ctx, name interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockruntimeMockRecorder) List

func (mr *MockruntimeMockRecorder) List(ctx, pageSize, page interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockruntimeMockRecorder) Update

func (mr *MockruntimeMockRecorder) Update(ctx, resource, mask 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