commandregistryfakes

package
v6.33.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: Apache-2.0 Imports: 4 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

This file was generated by counterfeiter

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)

Jump to

Keyboard shortcuts

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