jobsfakes

package
v2.85.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApplier

type FakeApplier struct {
	PrepareStub func(job models.Job) error

	ApplyStub func(job models.Job) error

	ConfigureStub func(job models.Job, jobIndex int) error

	KeepOnlyStub func(jobs []models.Job) error

	CreateDirectoriesStub func(job models.Job, baseDir string) error
	// contains filtered or unexported fields
}

func (*FakeApplier) Apply

func (fake *FakeApplier) Apply(job models.Job) error

func (*FakeApplier) ApplyArgsForCall

func (fake *FakeApplier) ApplyArgsForCall(i int) models.Job

func (*FakeApplier) ApplyCallCount

func (fake *FakeApplier) ApplyCallCount() int

func (*FakeApplier) ApplyReturns

func (fake *FakeApplier) ApplyReturns(result1 error)

func (*FakeApplier) Configure

func (fake *FakeApplier) Configure(job models.Job, jobIndex int) error

func (*FakeApplier) ConfigureArgsForCall

func (fake *FakeApplier) ConfigureArgsForCall(i int) (models.Job, int)

func (*FakeApplier) ConfigureCallCount

func (fake *FakeApplier) ConfigureCallCount() int

func (*FakeApplier) ConfigureReturns

func (fake *FakeApplier) ConfigureReturns(result1 error)

func (*FakeApplier) CreateDirectories

func (fake *FakeApplier) CreateDirectories(job models.Job, baseDir string) error

func (*FakeApplier) CreateDirectoriesArgsForCall

func (fake *FakeApplier) CreateDirectoriesArgsForCall(i int) (models.Job, string)

func (*FakeApplier) CreateDirectoriesCallCount

func (fake *FakeApplier) CreateDirectoriesCallCount() int

func (*FakeApplier) CreateDirectoriesReturns

func (fake *FakeApplier) CreateDirectoriesReturns(result1 error)

func (*FakeApplier) Invocations

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

func (*FakeApplier) KeepOnly

func (fake *FakeApplier) KeepOnly(jobs []models.Job) error

func (*FakeApplier) KeepOnlyArgsForCall

func (fake *FakeApplier) KeepOnlyArgsForCall(i int) []models.Job

func (*FakeApplier) KeepOnlyCallCount

func (fake *FakeApplier) KeepOnlyCallCount() int

func (*FakeApplier) KeepOnlyReturns

func (fake *FakeApplier) KeepOnlyReturns(result1 error)

func (*FakeApplier) Prepare

func (fake *FakeApplier) Prepare(job models.Job) error

func (*FakeApplier) PrepareArgsForCall

func (fake *FakeApplier) PrepareArgsForCall(i int) models.Job

func (*FakeApplier) PrepareCallCount

func (fake *FakeApplier) PrepareCallCount() int

func (*FakeApplier) PrepareReturns

func (fake *FakeApplier) PrepareReturns(result1 error)

Jump to

Keyboard shortcuts

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