drainfakes

package
v2.160.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

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