fakes

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApplier

type FakeApplier struct {
	PreparedJobs []models.Job
	PrepareError error

	AppliedJobs []models.Job
	ApplyError  error

	ConfiguredJobs       []models.Job
	ConfiguredJobIndices []int
	ConfigureError       error

	KeepOnlyJobs []models.Job
	KeepOnlyErr  error
}

func NewFakeApplier

func NewFakeApplier() *FakeApplier

func (*FakeApplier) Apply

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

func (*FakeApplier) Configure

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

func (*FakeApplier) KeepOnly

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

func (*FakeApplier) Prepare

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

Jump to

Keyboard shortcuts

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