mock_controller

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_controller is a generated GoMock package.

Package mock_controller is a generated GoMock package.

Package mock_controller is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJobDeletionReconciler

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

MockJobDeletionReconciler is a mock of JobDeletionReconciler interface

func NewMockJobDeletionReconciler

func NewMockJobDeletionReconciler(ctrl *gomock.Controller) *MockJobDeletionReconciler

NewMockJobDeletionReconciler creates a new mock instance

func (*MockJobDeletionReconciler) EXPECT

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

func (*MockJobDeletionReconciler) ReconcileJobDeletion

func (m *MockJobDeletionReconciler) ReconcileJobDeletion(req reconcile.Request) error

ReconcileJobDeletion mocks base method

type MockJobDeletionReconcilerMockRecorder

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

MockJobDeletionReconcilerMockRecorder is the mock recorder for MockJobDeletionReconciler

func (*MockJobDeletionReconcilerMockRecorder) ReconcileJobDeletion

func (mr *MockJobDeletionReconcilerMockRecorder) ReconcileJobDeletion(req interface{}) *gomock.Call

ReconcileJobDeletion indicates an expected call of ReconcileJobDeletion

type MockJobEventHandler

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

MockJobEventHandler is a mock of JobEventHandler interface

func NewMockJobEventHandler

func NewMockJobEventHandler(ctrl *gomock.Controller) *MockJobEventHandler

NewMockJobEventHandler creates a new mock instance

func (*MockJobEventHandler) CreateJob

func (m *MockJobEventHandler) CreateJob(obj *v1.Job) error

CreateJob mocks base method

func (*MockJobEventHandler) DeleteJob

func (m *MockJobEventHandler) DeleteJob(obj *v1.Job) error

DeleteJob mocks base method

func (*MockJobEventHandler) EXPECT

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

func (*MockJobEventHandler) GenericJob

func (m *MockJobEventHandler) GenericJob(obj *v1.Job) error

GenericJob mocks base method

func (*MockJobEventHandler) UpdateJob

func (m *MockJobEventHandler) UpdateJob(old, new *v1.Job) error

UpdateJob mocks base method

type MockJobEventHandlerMockRecorder

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

MockJobEventHandlerMockRecorder is the mock recorder for MockJobEventHandler

func (*MockJobEventHandlerMockRecorder) CreateJob

func (mr *MockJobEventHandlerMockRecorder) CreateJob(obj interface{}) *gomock.Call

CreateJob indicates an expected call of CreateJob

func (*MockJobEventHandlerMockRecorder) DeleteJob

func (mr *MockJobEventHandlerMockRecorder) DeleteJob(obj interface{}) *gomock.Call

DeleteJob indicates an expected call of DeleteJob

func (*MockJobEventHandlerMockRecorder) GenericJob

func (mr *MockJobEventHandlerMockRecorder) GenericJob(obj interface{}) *gomock.Call

GenericJob indicates an expected call of GenericJob

func (*MockJobEventHandlerMockRecorder) UpdateJob

func (mr *MockJobEventHandlerMockRecorder) UpdateJob(old, new interface{}) *gomock.Call

UpdateJob indicates an expected call of UpdateJob

type MockJobEventWatcher

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

MockJobEventWatcher is a mock of JobEventWatcher interface

func NewMockJobEventWatcher

func NewMockJobEventWatcher(ctrl *gomock.Controller) *MockJobEventWatcher

NewMockJobEventWatcher creates a new mock instance

func (*MockJobEventWatcher) AddEventHandler

func (m *MockJobEventWatcher) AddEventHandler(ctx context.Context, h controller.JobEventHandler, predicates ...predicate.Predicate) error

AddEventHandler mocks base method

func (*MockJobEventWatcher) EXPECT

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

type MockJobEventWatcherMockRecorder

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

MockJobEventWatcherMockRecorder is the mock recorder for MockJobEventWatcher

func (*MockJobEventWatcherMockRecorder) AddEventHandler

func (mr *MockJobEventWatcherMockRecorder) AddEventHandler(ctx, h interface{}, predicates ...interface{}) *gomock.Call

AddEventHandler indicates an expected call of AddEventHandler

type MockJobFinalizer

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

MockJobFinalizer is a mock of JobFinalizer interface

func NewMockJobFinalizer

func NewMockJobFinalizer(ctrl *gomock.Controller) *MockJobFinalizer

NewMockJobFinalizer creates a new mock instance

func (*MockJobFinalizer) EXPECT

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

func (*MockJobFinalizer) FinalizeJob

func (m *MockJobFinalizer) FinalizeJob(obj *v1.Job) error

FinalizeJob mocks base method

func (*MockJobFinalizer) JobFinalizerName

func (m *MockJobFinalizer) JobFinalizerName() string

JobFinalizerName mocks base method

func (*MockJobFinalizer) ReconcileJob

func (m *MockJobFinalizer) ReconcileJob(obj *v1.Job) (reconcile.Result, error)

ReconcileJob mocks base method

type MockJobFinalizerMockRecorder

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

MockJobFinalizerMockRecorder is the mock recorder for MockJobFinalizer

func (*MockJobFinalizerMockRecorder) FinalizeJob

func (mr *MockJobFinalizerMockRecorder) FinalizeJob(obj interface{}) *gomock.Call

FinalizeJob indicates an expected call of FinalizeJob

func (*MockJobFinalizerMockRecorder) JobFinalizerName

func (mr *MockJobFinalizerMockRecorder) JobFinalizerName() *gomock.Call

JobFinalizerName indicates an expected call of JobFinalizerName

func (*MockJobFinalizerMockRecorder) ReconcileJob

func (mr *MockJobFinalizerMockRecorder) ReconcileJob(obj interface{}) *gomock.Call

ReconcileJob indicates an expected call of ReconcileJob

type MockJobReconcileLoop

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

MockJobReconcileLoop is a mock of JobReconcileLoop interface

func NewMockJobReconcileLoop

func NewMockJobReconcileLoop(ctrl *gomock.Controller) *MockJobReconcileLoop

NewMockJobReconcileLoop creates a new mock instance

func (*MockJobReconcileLoop) EXPECT

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

func (*MockJobReconcileLoop) RunJobReconciler

func (m *MockJobReconcileLoop) RunJobReconciler(ctx context.Context, rec controller.JobReconciler, predicates ...predicate.Predicate) error

RunJobReconciler mocks base method

type MockJobReconcileLoopMockRecorder

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

MockJobReconcileLoopMockRecorder is the mock recorder for MockJobReconcileLoop

func (*MockJobReconcileLoopMockRecorder) RunJobReconciler

func (mr *MockJobReconcileLoopMockRecorder) RunJobReconciler(ctx, rec interface{}, predicates ...interface{}) *gomock.Call

RunJobReconciler indicates an expected call of RunJobReconciler

type MockJobReconciler

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

MockJobReconciler is a mock of JobReconciler interface

func NewMockJobReconciler

func NewMockJobReconciler(ctrl *gomock.Controller) *MockJobReconciler

NewMockJobReconciler creates a new mock instance

func (*MockJobReconciler) EXPECT

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

func (*MockJobReconciler) ReconcileJob

func (m *MockJobReconciler) ReconcileJob(obj *v1.Job) (reconcile.Result, error)

ReconcileJob mocks base method

type MockJobReconcilerMockRecorder

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

MockJobReconcilerMockRecorder is the mock recorder for MockJobReconciler

func (*MockJobReconcilerMockRecorder) ReconcileJob

func (mr *MockJobReconcilerMockRecorder) ReconcileJob(obj interface{}) *gomock.Call

ReconcileJob indicates an expected call of ReconcileJob

type MockMulticlusterJobDeletionReconciler

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

MockMulticlusterJobDeletionReconciler is a mock of MulticlusterJobDeletionReconciler interface

func NewMockMulticlusterJobDeletionReconciler

func NewMockMulticlusterJobDeletionReconciler(ctrl *gomock.Controller) *MockMulticlusterJobDeletionReconciler

NewMockMulticlusterJobDeletionReconciler creates a new mock instance

func (*MockMulticlusterJobDeletionReconciler) EXPECT

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

func (*MockMulticlusterJobDeletionReconciler) ReconcileJobDeletion

func (m *MockMulticlusterJobDeletionReconciler) ReconcileJobDeletion(clusterName string, req reconcile.Request) error

ReconcileJobDeletion mocks base method

type MockMulticlusterJobDeletionReconcilerMockRecorder

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

MockMulticlusterJobDeletionReconcilerMockRecorder is the mock recorder for MockMulticlusterJobDeletionReconciler

func (*MockMulticlusterJobDeletionReconcilerMockRecorder) ReconcileJobDeletion

func (mr *MockMulticlusterJobDeletionReconcilerMockRecorder) ReconcileJobDeletion(clusterName, req interface{}) *gomock.Call

ReconcileJobDeletion indicates an expected call of ReconcileJobDeletion

type MockMulticlusterJobReconcileLoop

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

MockMulticlusterJobReconcileLoop is a mock of MulticlusterJobReconcileLoop interface

func NewMockMulticlusterJobReconcileLoop

func NewMockMulticlusterJobReconcileLoop(ctrl *gomock.Controller) *MockMulticlusterJobReconcileLoop

NewMockMulticlusterJobReconcileLoop creates a new mock instance

func (*MockMulticlusterJobReconcileLoop) AddMulticlusterJobReconciler

func (m *MockMulticlusterJobReconcileLoop) AddMulticlusterJobReconciler(ctx context.Context, rec controller.MulticlusterJobReconciler, predicates ...predicate.Predicate)

AddMulticlusterJobReconciler mocks base method

func (*MockMulticlusterJobReconcileLoop) EXPECT

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

type MockMulticlusterJobReconcileLoopMockRecorder

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

MockMulticlusterJobReconcileLoopMockRecorder is the mock recorder for MockMulticlusterJobReconcileLoop

func (*MockMulticlusterJobReconcileLoopMockRecorder) AddMulticlusterJobReconciler

func (mr *MockMulticlusterJobReconcileLoopMockRecorder) AddMulticlusterJobReconciler(ctx, rec interface{}, predicates ...interface{}) *gomock.Call

AddMulticlusterJobReconciler indicates an expected call of AddMulticlusterJobReconciler

type MockMulticlusterJobReconciler

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

MockMulticlusterJobReconciler is a mock of MulticlusterJobReconciler interface

func NewMockMulticlusterJobReconciler

func NewMockMulticlusterJobReconciler(ctrl *gomock.Controller) *MockMulticlusterJobReconciler

NewMockMulticlusterJobReconciler creates a new mock instance

func (*MockMulticlusterJobReconciler) EXPECT

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

func (*MockMulticlusterJobReconciler) ReconcileJob

func (m *MockMulticlusterJobReconciler) ReconcileJob(clusterName string, obj *v1.Job) (reconcile.Result, error)

ReconcileJob mocks base method

type MockMulticlusterJobReconcilerMockRecorder

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

MockMulticlusterJobReconcilerMockRecorder is the mock recorder for MockMulticlusterJobReconciler

func (*MockMulticlusterJobReconcilerMockRecorder) ReconcileJob

func (mr *MockMulticlusterJobReconcilerMockRecorder) ReconcileJob(clusterName, obj interface{}) *gomock.Call

ReconcileJob indicates an expected call of ReconcileJob

Jump to

Keyboard shortcuts

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