fakes

package
v6.16.0+incompatible Latest Latest
Warning

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

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

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() command_registry.CommandMetadata

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

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

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

func (*FakeCommand) Execute

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

func (*FakeCommand) ExecuteArgsForCall

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

func (*FakeCommand) ExecuteCallCount

func (fake *FakeCommand) ExecuteCallCount() int

func (*FakeCommand) MetaData

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

func (*FakeCommand) MetaDataCallCount

func (fake *FakeCommand) MetaDataCallCount() int

func (*FakeCommand) MetaDataReturns

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

func (*FakeCommand) Requirements

func (fake *FakeCommand) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) (reqs []requirements.Requirement, err 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 command_registry.Dependency, pluginCall bool) command_registry.Command

func (*FakeCommand) SetDependencyArgsForCall

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

func (*FakeCommand) SetDependencyCallCount

func (fake *FakeCommand) SetDependencyCallCount() int

func (*FakeCommand) SetDependencyReturns

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

Jump to

Keyboard shortcuts

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