commandregistryfakes

package
v6.44.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

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 {
	MetaDataStub func() commandregistry.CommandMetadata

	SetDependencyStub func(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command

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

	ExecuteStub func(context flags.FlagContext) error
	// contains filtered or unexported fields
}

func (*FakeCommand) Execute

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

func (*FakeCommand) ExecuteArgsForCall

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

func (*FakeCommand) ExecuteCallCount

func (fake *FakeCommand) ExecuteCallCount() int

func (*FakeCommand) ExecuteReturns

func (fake *FakeCommand) ExecuteReturns(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) MetaDataReturns

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

func (*FakeCommand) Requirements

func (fake *FakeCommand) Requirements(requirementsFactory requirements.Factory, context 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) RequirementsReturns

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

func (*FakeCommand) SetDependency

func (fake *FakeCommand) SetDependency(deps commandregistry.Dependency, pluginCall 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) SetDependencyReturns

func (fake *FakeCommand) SetDependencyReturns(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) 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