jobfakes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 FakeCancellableJob

type FakeCancellableJob struct {
	CancelStub func() bool

	JobIDStub func() int

	JobNameStub func() conflow.ID

	LightweightStub func() bool

	RunStub func()

	SetJobIDStub func(int)
	// contains filtered or unexported fields
}

func (*FakeCancellableJob) Cancel

func (fake *FakeCancellableJob) Cancel() bool

func (*FakeCancellableJob) CancelCallCount

func (fake *FakeCancellableJob) CancelCallCount() int

func (*FakeCancellableJob) CancelCalls

func (fake *FakeCancellableJob) CancelCalls(stub func() bool)

func (*FakeCancellableJob) CancelReturns

func (fake *FakeCancellableJob) CancelReturns(result1 bool)

func (*FakeCancellableJob) CancelReturnsOnCall

func (fake *FakeCancellableJob) CancelReturnsOnCall(i int, result1 bool)

func (*FakeCancellableJob) Invocations

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

func (*FakeCancellableJob) JobID

func (fake *FakeCancellableJob) JobID() int

func (*FakeCancellableJob) JobIDCallCount

func (fake *FakeCancellableJob) JobIDCallCount() int

func (*FakeCancellableJob) JobIDCalls

func (fake *FakeCancellableJob) JobIDCalls(stub func() int)

func (*FakeCancellableJob) JobIDReturns

func (fake *FakeCancellableJob) JobIDReturns(result1 int)

func (*FakeCancellableJob) JobIDReturnsOnCall

func (fake *FakeCancellableJob) JobIDReturnsOnCall(i int, result1 int)

func (*FakeCancellableJob) JobName

func (fake *FakeCancellableJob) JobName() conflow.ID

func (*FakeCancellableJob) JobNameCallCount

func (fake *FakeCancellableJob) JobNameCallCount() int

func (*FakeCancellableJob) JobNameCalls

func (fake *FakeCancellableJob) JobNameCalls(stub func() conflow.ID)

func (*FakeCancellableJob) JobNameReturns

func (fake *FakeCancellableJob) JobNameReturns(result1 conflow.ID)

func (*FakeCancellableJob) JobNameReturnsOnCall

func (fake *FakeCancellableJob) JobNameReturnsOnCall(i int, result1 conflow.ID)

func (*FakeCancellableJob) Lightweight

func (fake *FakeCancellableJob) Lightweight() bool

func (*FakeCancellableJob) LightweightCallCount

func (fake *FakeCancellableJob) LightweightCallCount() int

func (*FakeCancellableJob) LightweightCalls

func (fake *FakeCancellableJob) LightweightCalls(stub func() bool)

func (*FakeCancellableJob) LightweightReturns

func (fake *FakeCancellableJob) LightweightReturns(result1 bool)

func (*FakeCancellableJob) LightweightReturnsOnCall

func (fake *FakeCancellableJob) LightweightReturnsOnCall(i int, result1 bool)

func (*FakeCancellableJob) Run

func (fake *FakeCancellableJob) Run()

func (*FakeCancellableJob) RunCallCount

func (fake *FakeCancellableJob) RunCallCount() int

func (*FakeCancellableJob) RunCalls

func (fake *FakeCancellableJob) RunCalls(stub func())

func (*FakeCancellableJob) SetJobID

func (fake *FakeCancellableJob) SetJobID(arg1 int)

func (*FakeCancellableJob) SetJobIDArgsForCall

func (fake *FakeCancellableJob) SetJobIDArgsForCall(i int) int

func (*FakeCancellableJob) SetJobIDCallCount

func (fake *FakeCancellableJob) SetJobIDCallCount() int

func (*FakeCancellableJob) SetJobIDCalls

func (fake *FakeCancellableJob) SetJobIDCalls(stub func(int))

type FakePendingJob

type FakePendingJob struct {
	JobIDStub func() int

	JobNameStub func() conflow.ID

	LightweightStub func() bool

	PendingStub func() bool

	RunStub func()

	SetJobIDStub func(int)
	// contains filtered or unexported fields
}

func (*FakePendingJob) Invocations

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

func (*FakePendingJob) JobID

func (fake *FakePendingJob) JobID() int

func (*FakePendingJob) JobIDCallCount

func (fake *FakePendingJob) JobIDCallCount() int

func (*FakePendingJob) JobIDCalls

func (fake *FakePendingJob) JobIDCalls(stub func() int)

func (*FakePendingJob) JobIDReturns

func (fake *FakePendingJob) JobIDReturns(result1 int)

func (*FakePendingJob) JobIDReturnsOnCall

func (fake *FakePendingJob) JobIDReturnsOnCall(i int, result1 int)

func (*FakePendingJob) JobName

func (fake *FakePendingJob) JobName() conflow.ID

func (*FakePendingJob) JobNameCallCount

func (fake *FakePendingJob) JobNameCallCount() int

func (*FakePendingJob) JobNameCalls

func (fake *FakePendingJob) JobNameCalls(stub func() conflow.ID)

func (*FakePendingJob) JobNameReturns

func (fake *FakePendingJob) JobNameReturns(result1 conflow.ID)

func (*FakePendingJob) JobNameReturnsOnCall

func (fake *FakePendingJob) JobNameReturnsOnCall(i int, result1 conflow.ID)

func (*FakePendingJob) Lightweight

func (fake *FakePendingJob) Lightweight() bool

func (*FakePendingJob) LightweightCallCount

func (fake *FakePendingJob) LightweightCallCount() int

func (*FakePendingJob) LightweightCalls

func (fake *FakePendingJob) LightweightCalls(stub func() bool)

func (*FakePendingJob) LightweightReturns

func (fake *FakePendingJob) LightweightReturns(result1 bool)

func (*FakePendingJob) LightweightReturnsOnCall

func (fake *FakePendingJob) LightweightReturnsOnCall(i int, result1 bool)

func (*FakePendingJob) Pending

func (fake *FakePendingJob) Pending() bool

func (*FakePendingJob) PendingCallCount

func (fake *FakePendingJob) PendingCallCount() int

func (*FakePendingJob) PendingCalls

func (fake *FakePendingJob) PendingCalls(stub func() bool)

func (*FakePendingJob) PendingReturns

func (fake *FakePendingJob) PendingReturns(result1 bool)

func (*FakePendingJob) PendingReturnsOnCall

func (fake *FakePendingJob) PendingReturnsOnCall(i int, result1 bool)

func (*FakePendingJob) Run

func (fake *FakePendingJob) Run()

func (*FakePendingJob) RunCallCount

func (fake *FakePendingJob) RunCallCount() int

func (*FakePendingJob) RunCalls

func (fake *FakePendingJob) RunCalls(stub func())

func (*FakePendingJob) SetJobID

func (fake *FakePendingJob) SetJobID(arg1 int)

func (*FakePendingJob) SetJobIDArgsForCall

func (fake *FakePendingJob) SetJobIDArgsForCall(i int) int

func (*FakePendingJob) SetJobIDCallCount

func (fake *FakePendingJob) SetJobIDCallCount() int

func (*FakePendingJob) SetJobIDCalls

func (fake *FakePendingJob) SetJobIDCalls(stub func(int))

Jump to

Keyboard shortcuts

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