mocks

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitJobController

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

MockGitJobController is a mock of GitJobController interface.

func NewMockGitJobController

func NewMockGitJobController(ctrl *gomock.Controller) *MockGitJobController

NewMockGitJobController creates a new mock instance.

func (*MockGitJobController) AddGenericHandler

func (m *MockGitJobController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericHandler mocks base method.

func (*MockGitJobController) AddGenericRemoveHandler

func (m *MockGitJobController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericRemoveHandler mocks base method.

func (*MockGitJobController) Cache

Cache mocks base method.

func (*MockGitJobController) Create

func (m *MockGitJobController) Create(arg0 *v1.GitJob) (*v1.GitJob, error)

Create mocks base method.

func (*MockGitJobController) Delete

func (m *MockGitJobController) Delete(arg0, arg1 string, arg2 *v11.DeleteOptions) error

Delete mocks base method.

func (*MockGitJobController) EXPECT

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

func (*MockGitJobController) Enqueue

func (m *MockGitJobController) Enqueue(arg0, arg1 string)

Enqueue mocks base method.

func (*MockGitJobController) EnqueueAfter

func (m *MockGitJobController) EnqueueAfter(arg0, arg1 string, arg2 time.Duration)

EnqueueAfter mocks base method.

func (*MockGitJobController) Get

func (m *MockGitJobController) Get(arg0, arg1 string, arg2 v11.GetOptions) (*v1.GitJob, error)

Get mocks base method.

func (*MockGitJobController) GroupVersionKind

func (m *MockGitJobController) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind mocks base method.

func (*MockGitJobController) Informer

Informer mocks base method.

func (*MockGitJobController) List

func (m *MockGitJobController) List(arg0 string, arg1 v11.ListOptions) (*v1.GitJobList, error)

List mocks base method.

func (*MockGitJobController) OnChange

func (m *MockGitJobController) OnChange(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)

OnChange mocks base method.

func (*MockGitJobController) OnRemove

func (m *MockGitJobController) OnRemove(arg0 context.Context, arg1 string, arg2 v10.GitJobHandler)

OnRemove mocks base method.

func (*MockGitJobController) Patch

func (m *MockGitJobController) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.GitJob, error)

Patch mocks base method.

func (*MockGitJobController) Update

func (m *MockGitJobController) Update(arg0 *v1.GitJob) (*v1.GitJob, error)

Update mocks base method.

func (*MockGitJobController) UpdateStatus

func (m *MockGitJobController) UpdateStatus(arg0 *v1.GitJob) (*v1.GitJob, error)

UpdateStatus mocks base method.

func (*MockGitJobController) Updater

func (m *MockGitJobController) Updater() generic.Updater

Updater mocks base method.

func (*MockGitJobController) Watch

Watch mocks base method.

type MockGitJobControllerMockRecorder

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

MockGitJobControllerMockRecorder is the mock recorder for MockGitJobController.

func (*MockGitJobControllerMockRecorder) AddGenericHandler

func (mr *MockGitJobControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericHandler indicates an expected call of AddGenericHandler.

func (*MockGitJobControllerMockRecorder) AddGenericRemoveHandler

func (mr *MockGitJobControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.

func (*MockGitJobControllerMockRecorder) Cache

Cache indicates an expected call of Cache.

func (*MockGitJobControllerMockRecorder) Create

func (mr *MockGitJobControllerMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockGitJobControllerMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockGitJobControllerMockRecorder) Enqueue

func (mr *MockGitJobControllerMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockGitJobControllerMockRecorder) EnqueueAfter

func (mr *MockGitJobControllerMockRecorder) EnqueueAfter(arg0, arg1, arg2 interface{}) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockGitJobControllerMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockGitJobControllerMockRecorder) GroupVersionKind

func (mr *MockGitJobControllerMockRecorder) GroupVersionKind() *gomock.Call

GroupVersionKind indicates an expected call of GroupVersionKind.

func (*MockGitJobControllerMockRecorder) Informer

Informer indicates an expected call of Informer.

func (*MockGitJobControllerMockRecorder) List

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

List indicates an expected call of List.

func (*MockGitJobControllerMockRecorder) OnChange

func (mr *MockGitJobControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockGitJobControllerMockRecorder) OnRemove

func (mr *MockGitJobControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call

OnRemove indicates an expected call of OnRemove.

func (*MockGitJobControllerMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockGitJobControllerMockRecorder) Update

func (mr *MockGitJobControllerMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockGitJobControllerMockRecorder) UpdateStatus

func (mr *MockGitJobControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockGitJobControllerMockRecorder) Updater

Updater indicates an expected call of Updater.

func (*MockGitJobControllerMockRecorder) Watch

func (mr *MockGitJobControllerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockJobClient

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

MockJobClient is a mock of JobClient interface.

func NewMockJobClient

func NewMockJobClient(ctrl *gomock.Controller) *MockJobClient

NewMockJobClient creates a new mock instance.

func (*MockJobClient) Create

func (m *MockJobClient) Create(arg0 *v1.Job) (*v1.Job, error)

Create mocks base method.

func (*MockJobClient) Delete

func (m *MockJobClient) Delete(arg0, arg1 string, arg2 *v10.DeleteOptions) error

Delete mocks base method.

func (*MockJobClient) EXPECT

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

func (*MockJobClient) Get

func (m *MockJobClient) Get(arg0, arg1 string, arg2 v10.GetOptions) (*v1.Job, error)

Get mocks base method.

func (*MockJobClient) List

func (m *MockJobClient) List(arg0 string, arg1 v10.ListOptions) (*v1.JobList, error)

List mocks base method.

func (*MockJobClient) Patch

func (m *MockJobClient) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v1.Job, error)

Patch mocks base method.

func (*MockJobClient) Update

func (m *MockJobClient) Update(arg0 *v1.Job) (*v1.Job, error)

Update mocks base method.

func (*MockJobClient) UpdateStatus

func (m *MockJobClient) UpdateStatus(arg0 *v1.Job) (*v1.Job, error)

UpdateStatus mocks base method.

func (*MockJobClient) Watch

func (m *MockJobClient) Watch(arg0 string, arg1 v10.ListOptions) (watch.Interface, error)

Watch mocks base method.

type MockJobClientMockRecorder

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

MockJobClientMockRecorder is the mock recorder for MockJobClient.

func (*MockJobClientMockRecorder) Create

func (mr *MockJobClientMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockJobClientMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockJobClientMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockJobClientMockRecorder) List

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

List indicates an expected call of List.

func (*MockJobClientMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockJobClientMockRecorder) Update

func (mr *MockJobClientMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockJobClientMockRecorder) UpdateStatus

func (mr *MockJobClientMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockJobClientMockRecorder) Watch

func (mr *MockJobClientMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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