taskfakes

package
v0.0.0-...-db62745 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDeleter

type FakeDeleter struct {
	DeleteStub func(context.Context, string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeDeleter) Delete

func (fake *FakeDeleter) Delete(arg1 context.Context, arg2 string) (string, error)

func (*FakeDeleter) DeleteArgsForCall

func (fake *FakeDeleter) DeleteArgsForCall(i int) (context.Context, string)

func (*FakeDeleter) DeleteCallCount

func (fake *FakeDeleter) DeleteCallCount() int

func (*FakeDeleter) DeleteCalls

func (fake *FakeDeleter) DeleteCalls(stub func(context.Context, string) (string, error))

func (*FakeDeleter) DeleteReturns

func (fake *FakeDeleter) DeleteReturns(result1 string, result2 error)

func (*FakeDeleter) DeleteReturnsOnCall

func (fake *FakeDeleter) DeleteReturnsOnCall(i int, result1 string, result2 error)

func (*FakeDeleter) Invocations

func (fake *FakeDeleter) Invocations() map[string][][]interface{}

type FakeJobsClient

type FakeJobsClient struct {
	GetByGUIDStub func(context.Context, string, bool) ([]v1.Job, error)

	SetLabelStub func(context.Context, *v1.Job, string, string) (*v1.Job, error)
	// contains filtered or unexported fields
}

func (*FakeJobsClient) GetByGUID

func (fake *FakeJobsClient) GetByGUID(arg1 context.Context, arg2 string, arg3 bool) ([]v1.Job, error)

func (*FakeJobsClient) GetByGUIDArgsForCall

func (fake *FakeJobsClient) GetByGUIDArgsForCall(i int) (context.Context, string, bool)

func (*FakeJobsClient) GetByGUIDCallCount

func (fake *FakeJobsClient) GetByGUIDCallCount() int

func (*FakeJobsClient) GetByGUIDCalls

func (fake *FakeJobsClient) GetByGUIDCalls(stub func(context.Context, string, bool) ([]v1.Job, error))

func (*FakeJobsClient) GetByGUIDReturns

func (fake *FakeJobsClient) GetByGUIDReturns(result1 []v1.Job, result2 error)

func (*FakeJobsClient) GetByGUIDReturnsOnCall

func (fake *FakeJobsClient) GetByGUIDReturnsOnCall(i int, result1 []v1.Job, result2 error)

func (*FakeJobsClient) Invocations

func (fake *FakeJobsClient) Invocations() map[string][][]interface{}

func (*FakeJobsClient) SetLabel

func (fake *FakeJobsClient) SetLabel(arg1 context.Context, arg2 *v1.Job, arg3 string, arg4 string) (*v1.Job, error)

func (*FakeJobsClient) SetLabelArgsForCall

func (fake *FakeJobsClient) SetLabelArgsForCall(i int) (context.Context, *v1.Job, string, string)

func (*FakeJobsClient) SetLabelCallCount

func (fake *FakeJobsClient) SetLabelCallCount() int

func (*FakeJobsClient) SetLabelCalls

func (fake *FakeJobsClient) SetLabelCalls(stub func(context.Context, *v1.Job, string, string) (*v1.Job, error))

func (*FakeJobsClient) SetLabelReturns

func (fake *FakeJobsClient) SetLabelReturns(result1 *v1.Job, result2 error)

func (*FakeJobsClient) SetLabelReturnsOnCall

func (fake *FakeJobsClient) SetLabelReturnsOnCall(i int, result1 *v1.Job, result2 error)

type FakePodsClient

type FakePodsClient struct {
	SetAndTestAnnotationStub func(context.Context, *v1.Pod, string, string, *string) (*v1.Pod, error)

	SetAnnotationStub func(context.Context, *v1.Pod, string, string) (*v1.Pod, error)
	// contains filtered or unexported fields
}

func (*FakePodsClient) Invocations

func (fake *FakePodsClient) Invocations() map[string][][]interface{}

func (*FakePodsClient) SetAndTestAnnotation

func (fake *FakePodsClient) SetAndTestAnnotation(arg1 context.Context, arg2 *v1.Pod, arg3 string, arg4 string, arg5 *string) (*v1.Pod, error)

func (*FakePodsClient) SetAndTestAnnotationArgsForCall

func (fake *FakePodsClient) SetAndTestAnnotationArgsForCall(i int) (context.Context, *v1.Pod, string, string, *string)

func (*FakePodsClient) SetAndTestAnnotationCallCount

func (fake *FakePodsClient) SetAndTestAnnotationCallCount() int

func (*FakePodsClient) SetAndTestAnnotationCalls

func (fake *FakePodsClient) SetAndTestAnnotationCalls(stub func(context.Context, *v1.Pod, string, string, *string) (*v1.Pod, error))

func (*FakePodsClient) SetAndTestAnnotationReturns

func (fake *FakePodsClient) SetAndTestAnnotationReturns(result1 *v1.Pod, result2 error)

func (*FakePodsClient) SetAndTestAnnotationReturnsOnCall

func (fake *FakePodsClient) SetAndTestAnnotationReturnsOnCall(i int, result1 *v1.Pod, result2 error)

func (*FakePodsClient) SetAnnotation

func (fake *FakePodsClient) SetAnnotation(arg1 context.Context, arg2 *v1.Pod, arg3 string, arg4 string) (*v1.Pod, error)

func (*FakePodsClient) SetAnnotationArgsForCall

func (fake *FakePodsClient) SetAnnotationArgsForCall(i int) (context.Context, *v1.Pod, string, string)

func (*FakePodsClient) SetAnnotationCallCount

func (fake *FakePodsClient) SetAnnotationCallCount() int

func (*FakePodsClient) SetAnnotationCalls

func (fake *FakePodsClient) SetAnnotationCalls(stub func(context.Context, *v1.Pod, string, string) (*v1.Pod, error))

func (*FakePodsClient) SetAnnotationReturns

func (fake *FakePodsClient) SetAnnotationReturns(result1 *v1.Pod, result2 error)

func (*FakePodsClient) SetAnnotationReturnsOnCall

func (fake *FakePodsClient) SetAnnotationReturnsOnCall(i int, result1 *v1.Pod, result2 error)

type FakeReporter

type FakeReporter struct {
	ReportStub func(context.Context, *v1.Pod) error
	// contains filtered or unexported fields
}

func (*FakeReporter) Invocations

func (fake *FakeReporter) Invocations() map[string][][]interface{}

func (*FakeReporter) Report

func (fake *FakeReporter) Report(arg1 context.Context, arg2 *v1.Pod) error

func (*FakeReporter) ReportArgsForCall

func (fake *FakeReporter) ReportArgsForCall(i int) (context.Context, *v1.Pod)

func (*FakeReporter) ReportCallCount

func (fake *FakeReporter) ReportCallCount() int

func (*FakeReporter) ReportCalls

func (fake *FakeReporter) ReportCalls(stub func(context.Context, *v1.Pod) error)

func (*FakeReporter) ReportReturns

func (fake *FakeReporter) ReportReturns(result1 error)

func (*FakeReporter) ReportReturnsOnCall

func (fake *FakeReporter) ReportReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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