v1

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package v1 is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOption

type CreateOption func(c *clientV1)

func WithClient

func WithClient(client nodesv1.NodeServiceClient) CreateOption

func WithLogger

func WithLogger(l logger.Logger) CreateOption

type MockNodeServiceClient

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

MockNodeServiceClient is a mock of NodeServiceClient interface.

func NewMockNodeServiceClient

func NewMockNodeServiceClient(ctrl *gomock.Controller) *MockNodeServiceClient

NewMockNodeServiceClient creates a new mock instance.

func (*MockNodeServiceClient) Condition added in v0.0.14

Condition mocks base method.

func (*MockNodeServiceClient) Connect

Connect mocks base method.

func (*MockNodeServiceClient) Create

Create mocks base method.

func (*MockNodeServiceClient) Delete

Delete mocks base method.

func (*MockNodeServiceClient) EXPECT

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

func (*MockNodeServiceClient) Forget

Forget mocks base method.

func (*MockNodeServiceClient) Get

Get mocks base method.

func (*MockNodeServiceClient) Join

Join mocks base method.

func (*MockNodeServiceClient) List

List mocks base method.

func (*MockNodeServiceClient) Patch

Patch mocks base method.

func (*MockNodeServiceClient) Update

Update mocks base method.

func (*MockNodeServiceClient) UpdateStatus

UpdateStatus mocks base method.

func (*MockNodeServiceClient) Upgrade

Upgrade mocks base method.

type MockNodeServiceClientMockRecorder

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

MockNodeServiceClientMockRecorder is the mock recorder for MockNodeServiceClient.

func (*MockNodeServiceClientMockRecorder) Condition added in v0.0.14

func (mr *MockNodeServiceClientMockRecorder) Condition(ctx, in any, opts ...any) *gomock.Call

Condition indicates an expected call of Condition.

func (*MockNodeServiceClientMockRecorder) Connect

func (mr *MockNodeServiceClientMockRecorder) Connect(ctx any, opts ...any) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockNodeServiceClientMockRecorder) Create

func (mr *MockNodeServiceClientMockRecorder) Create(ctx, in any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockNodeServiceClientMockRecorder) Delete

func (mr *MockNodeServiceClientMockRecorder) Delete(ctx, in any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNodeServiceClientMockRecorder) Forget

func (mr *MockNodeServiceClientMockRecorder) Forget(ctx, in any, opts ...any) *gomock.Call

Forget indicates an expected call of Forget.

func (*MockNodeServiceClientMockRecorder) Get

func (mr *MockNodeServiceClientMockRecorder) Get(ctx, in any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

func (*MockNodeServiceClientMockRecorder) Join

func (mr *MockNodeServiceClientMockRecorder) Join(ctx, in any, opts ...any) *gomock.Call

Join indicates an expected call of Join.

func (*MockNodeServiceClientMockRecorder) List

func (mr *MockNodeServiceClientMockRecorder) List(ctx, in any, opts ...any) *gomock.Call

List indicates an expected call of List.

func (*MockNodeServiceClientMockRecorder) Patch

func (mr *MockNodeServiceClientMockRecorder) Patch(ctx, in any, opts ...any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNodeServiceClientMockRecorder) Update

func (mr *MockNodeServiceClientMockRecorder) Update(ctx, in any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

func (*MockNodeServiceClientMockRecorder) UpdateStatus

func (mr *MockNodeServiceClientMockRecorder) UpdateStatus(ctx, in any, opts ...any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNodeServiceClientMockRecorder) Upgrade

func (mr *MockNodeServiceClientMockRecorder) Upgrade(ctx, in any, opts ...any) *gomock.Call

Upgrade indicates an expected call of Upgrade.

type StatusClientV1

type StatusClientV1 interface {
	Update(context.Context, string, *nodesv1.Status, ...string) error
}

Jump to

Keyboard shortcuts

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