drainfakes

package
v2.930.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 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 {
	HashChangeStub func() string

	JobChangeStub func() string

	JobNextStateStub func() (string, error)

	JobStateStub func() (string, error)

	ToStatusParamsStub func() drain.ScriptParams

	UpdatedPackagesStub func() []string
	// contains filtered or unexported fields
}

func (*FakeScriptParams) HashChange

func (fake *FakeScriptParams) HashChange() string

func (*FakeScriptParams) HashChangeCallCount

func (fake *FakeScriptParams) HashChangeCallCount() int

func (*FakeScriptParams) HashChangeCalls

func (fake *FakeScriptParams) HashChangeCalls(stub func() string)

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() string

func (*FakeScriptParams) JobChangeCallCount

func (fake *FakeScriptParams) JobChangeCallCount() int

func (*FakeScriptParams) JobChangeCalls

func (fake *FakeScriptParams) JobChangeCalls(stub func() string)

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) JobNextStateCalls

func (fake *FakeScriptParams) JobNextStateCalls(stub func() (string, error))

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) JobStateCalls

func (fake *FakeScriptParams) JobStateCalls(stub func() (string, error))

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) ToStatusParamsCalls

func (fake *FakeScriptParams) ToStatusParamsCalls(stub func() drain.ScriptParams)

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() []string

func (*FakeScriptParams) UpdatedPackagesCallCount

func (fake *FakeScriptParams) UpdatedPackagesCallCount() int

func (*FakeScriptParams) UpdatedPackagesCalls

func (fake *FakeScriptParams) UpdatedPackagesCalls(stub func() []string)

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