Help us shape the future of Go! Take the 2026 Go Developer Survey

fake

package
v2.12.5 Latest Latest
Warning

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

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

Documentation

Overview

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	tasks.Client
}

Client is the client for Tasks.

type FakeClient

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

FakeClient is a mock of Client interface.

func NewFakeClient

func NewFakeClient(ctrl *gomock.Controller) *FakeClient

NewFakeClient creates a new mock instance.

func (*FakeClient) Create

func (m *FakeClient) Create(arg0 context.Context, arg1 string, arg2 *v1alpha1.Task) (*v1alpha1.Task, error)

Create mocks base method.

func (*FakeClient) Delete

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

Delete mocks base method.

func (*FakeClient) EXPECT

func (m *FakeClient) EXPECT() *FakeClientMockRecorder

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

func (*FakeClient) Get

func (m *FakeClient) Get(arg0 context.Context, arg1, arg2 string) (*v1alpha1.Task, error)

Get mocks base method.

func (*FakeClient) List

func (m *FakeClient) List(arg0 context.Context, arg1 string) ([]v1alpha1.Task, error)

List mocks base method.

func (*FakeClient) Transform

func (m *FakeClient) Transform(arg0 context.Context, arg1, arg2 string, arg3 tasks.Mutator) (*v1alpha1.Task, error)

Transform mocks base method.

func (*FakeClient) Upsert

func (m *FakeClient) Upsert(arg0 context.Context, arg1 string, arg2 *v1alpha1.Task, arg3 tasks.Merger) (*v1alpha1.Task, error)

Upsert mocks base method.

func (*FakeClient) WaitFor

func (m *FakeClient) WaitFor(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, arg4 tasks.Predicate) (*v1alpha1.Task, error)

WaitFor mocks base method.

func (*FakeClient) WaitForConditionReadyTrue

func (m *FakeClient) WaitForConditionReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.Task, error)

WaitForConditionReadyTrue mocks base method.

func (*FakeClient) WaitForDeletion

func (m *FakeClient) WaitForDeletion(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.Task, error)

WaitForDeletion mocks base method.

type FakeClientMockRecorder

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

FakeClientMockRecorder is the mock recorder for FakeClient.

func (*FakeClientMockRecorder) Create

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

Create indicates an expected call of Create.

func (*FakeClientMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*FakeClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*FakeClientMockRecorder) List

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

List indicates an expected call of List.

func (*FakeClientMockRecorder) Transform

func (mr *FakeClientMockRecorder) Transform(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Transform indicates an expected call of Transform.

func (*FakeClientMockRecorder) Upsert

func (mr *FakeClientMockRecorder) Upsert(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert.

func (*FakeClientMockRecorder) WaitFor

func (mr *FakeClientMockRecorder) WaitFor(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

WaitFor indicates an expected call of WaitFor.

func (*FakeClientMockRecorder) WaitForConditionReadyTrue

func (mr *FakeClientMockRecorder) WaitForConditionReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForConditionReadyTrue indicates an expected call of WaitForConditionReadyTrue.

func (*FakeClientMockRecorder) WaitForDeletion

func (mr *FakeClientMockRecorder) WaitForDeletion(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

WaitForDeletion indicates an expected call of WaitForDeletion.

Jump to

Keyboard shortcuts

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