drainfakes

package
v2.131.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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 FakeScriptParams

type FakeScriptParams struct {
	JobChangeStub func() (change string)

	HashChangeStub func() (change string)

	UpdatedPackagesStub func() (pkgs []string)

	JobStateStub func() (string, error)

	JobNextStateStub func() (string, error)

	ToStatusParamsStub func() drain.ScriptParams
	// contains filtered or unexported fields
}

func (*FakeScriptParams) HashChange

func (fake *FakeScriptParams) HashChange() (change string)

func (*FakeScriptParams) HashChangeCallCount

func (fake *FakeScriptParams) HashChangeCallCount() int

func (*FakeScriptParams) HashChangeReturns

func (fake *FakeScriptParams) HashChangeReturns(result1 string)

func (*FakeScriptParams) HashChangeReturnsOnCall

func (fake *FakeScriptParams) HashChangeReturnsOnCall(i int, result1 string)

func (*FakeScriptParams) Invocations

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

func (*FakeScriptParams) JobChange

func (fake *FakeScriptParams) JobChange() (change string)

func (*FakeScriptParams) JobChangeCallCount

func (fake *FakeScriptParams) JobChangeCallCount() int

func (*FakeScriptParams) JobChangeReturns

func (fake *FakeScriptParams) JobChangeReturns(result1 string)

func (*FakeScriptParams) JobChangeReturnsOnCall

func (fake *FakeScriptParams) JobChangeReturnsOnCall(i int, result1 string)

func (*FakeScriptParams) JobNextState

func (fake *FakeScriptParams) JobNextState() (string, error)

func (*FakeScriptParams) JobNextStateCallCount

func (fake *FakeScriptParams) JobNextStateCallCount() int

func (*FakeScriptParams) JobNextStateReturns

func (fake *FakeScriptParams) JobNextStateReturns(result1 string, result2 error)

func (*FakeScriptParams) JobNextStateReturnsOnCall

func (fake *FakeScriptParams) JobNextStateReturnsOnCall(i int, result1 string, result2 error)

func (*FakeScriptParams) JobState

func (fake *FakeScriptParams) JobState() (string, error)

func (*FakeScriptParams) JobStateCallCount

func (fake *FakeScriptParams) JobStateCallCount() int

func (*FakeScriptParams) JobStateReturns

func (fake *FakeScriptParams) JobStateReturns(result1 string, result2 error)

func (*FakeScriptParams) JobStateReturnsOnCall

func (fake *FakeScriptParams) JobStateReturnsOnCall(i int, result1 string, result2 error)

func (*FakeScriptParams) ToStatusParams

func (fake *FakeScriptParams) ToStatusParams() drain.ScriptParams

func (*FakeScriptParams) ToStatusParamsCallCount

func (fake *FakeScriptParams) ToStatusParamsCallCount() int

func (*FakeScriptParams) ToStatusParamsReturns

func (fake *FakeScriptParams) ToStatusParamsReturns(result1 drain.ScriptParams)

func (*FakeScriptParams) ToStatusParamsReturnsOnCall

func (fake *FakeScriptParams) ToStatusParamsReturnsOnCall(i int, result1 drain.ScriptParams)

func (*FakeScriptParams) UpdatedPackages

func (fake *FakeScriptParams) UpdatedPackages() (pkgs []string)

func (*FakeScriptParams) UpdatedPackagesCallCount

func (fake *FakeScriptParams) UpdatedPackagesCallCount() int

func (*FakeScriptParams) UpdatedPackagesReturns

func (fake *FakeScriptParams) UpdatedPackagesReturns(result1 []string)

func (*FakeScriptParams) UpdatedPackagesReturnsOnCall

func (fake *FakeScriptParams) UpdatedPackagesReturnsOnCall(i int, result1 []string)

Jump to

Keyboard shortcuts

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