v1

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1 is a generated GoMock package.

Index

Constants

View Source
const (
	TaskHealthHealthy   = "healthy"
	TaskHealthUnhealthy = "unhealthy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOption

type CreateOption func(c *clientV1)

func WithClient

func WithClient(client tasksv1.TaskServiceClient) CreateOption

func WithEmitLabels

func WithEmitLabels(l labels.Label) CreateOption

type MockTaskServiceClient

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

MockTaskServiceClient is a mock of TaskServiceClient interface.

func NewMockTaskServiceClient

func NewMockTaskServiceClient(ctrl *gomock.Controller) *MockTaskServiceClient

NewMockTaskServiceClient creates a new mock instance.

func (*MockTaskServiceClient) Create

Create mocks base method.

func (*MockTaskServiceClient) Delete

Delete mocks base method.

func (*MockTaskServiceClient) EXPECT

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

func (*MockTaskServiceClient) Get

Get mocks base method.

func (*MockTaskServiceClient) Kill

Kill mocks base method.

func (*MockTaskServiceClient) List

List mocks base method.

func (*MockTaskServiceClient) Patch

Patch mocks base method.

func (*MockTaskServiceClient) Start

Start mocks base method.

func (*MockTaskServiceClient) Update

Update mocks base method.

func (*MockTaskServiceClient) UpdateStatus

UpdateStatus mocks base method.

type MockTaskServiceClientMockRecorder

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

MockTaskServiceClientMockRecorder is the mock recorder for MockTaskServiceClient.

func (*MockTaskServiceClientMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockTaskServiceClientMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockTaskServiceClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockTaskServiceClientMockRecorder) Kill

func (mr *MockTaskServiceClientMockRecorder) Kill(ctx, in any, opts ...any) *gomock.Call

Kill indicates an expected call of Kill.

func (*MockTaskServiceClientMockRecorder) List

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

List indicates an expected call of List.

func (*MockTaskServiceClientMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockTaskServiceClientMockRecorder) Start

func (mr *MockTaskServiceClientMockRecorder) Start(ctx, in any, opts ...any) *gomock.Call

Start indicates an expected call of Start.

func (*MockTaskServiceClientMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockTaskServiceClientMockRecorder) UpdateStatus

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

UpdateStatus indicates an expected call of UpdateStatus.

type StatusClientV1

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

Jump to

Keyboard shortcuts

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