commandregistryfakes

package
v7.0.0-beta.30+incompa... Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeCommand

type FakeCommand struct {
	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command
	// contains filtered or unexported fields
}

func (*FakeCommand) Execute

func (fake *FakeCommand) Execute(arg1 flags.FlagContext) error

func (*FakeCommand) ExecuteArgsForCall

func (fake *FakeCommand) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeCommand) ExecuteCallCount

func (fake *FakeCommand) ExecuteCallCount() int

func (*FakeCommand) ExecuteCalls

func (fake *FakeCommand) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeCommand) ExecuteReturns

func (fake *FakeCommand) ExecuteReturns(result1 error)

func (*FakeCommand) ExecuteReturnsOnCall

func (fake *FakeCommand) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeCommand) Invocations

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

func (*FakeCommand) MetaData

func (fake *FakeCommand) MetaData() commandregistry.CommandMetadata

func (*FakeCommand) MetaDataCallCount

func (fake *FakeCommand) MetaDataCallCount() int

func (*FakeCommand) MetaDataCalls

func (fake *FakeCommand) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeCommand) MetaDataReturns

func (fake *FakeCommand) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeCommand) MetaDataReturnsOnCall

func (fake *FakeCommand) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeCommand) Requirements

func (fake *FakeCommand) Requirements(arg1 requirements.Factory, arg2 flags.FlagContext) ([]requirements.Requirement, error)

func (*FakeCommand) RequirementsArgsForCall

func (fake *FakeCommand) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeCommand) RequirementsCallCount

func (fake *FakeCommand) RequirementsCallCount() int

func (*FakeCommand) RequirementsCalls

func (fake *FakeCommand) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeCommand) RequirementsReturns

func (fake *FakeCommand) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeCommand) RequirementsReturnsOnCall

func (fake *FakeCommand) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeCommand) SetDependency

func (fake *FakeCommand) SetDependency(arg1 commandregistry.Dependency, arg2 bool) commandregistry.Command

func (*FakeCommand) SetDependencyArgsForCall

func (fake *FakeCommand) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)

func (*FakeCommand) SetDependencyCallCount

func (fake *FakeCommand) SetDependencyCallCount() int

func (*FakeCommand) SetDependencyCalls

func (fake *FakeCommand) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeCommand) SetDependencyReturns

func (fake *FakeCommand) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeCommand) SetDependencyReturnsOnCall

func (fake *FakeCommand) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

type FakeRandomWordGenerator

type FakeRandomWordGenerator struct {
	BabbleStub func() string
	// contains filtered or unexported fields
}

func (*FakeRandomWordGenerator) Babble

func (fake *FakeRandomWordGenerator) Babble() string

func (*FakeRandomWordGenerator) BabbleCallCount

func (fake *FakeRandomWordGenerator) BabbleCallCount() int

func (*FakeRandomWordGenerator) BabbleCalls

func (fake *FakeRandomWordGenerator) BabbleCalls(stub func() string)

func (*FakeRandomWordGenerator) BabbleReturns

func (fake *FakeRandomWordGenerator) BabbleReturns(result1 string)

func (*FakeRandomWordGenerator) BabbleReturnsOnCall

func (fake *FakeRandomWordGenerator) BabbleReturnsOnCall(i int, result1 string)

func (*FakeRandomWordGenerator) Invocations

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

Jump to

Keyboard shortcuts

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