fakes

package
v0.104.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 2 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

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 FakeExecutor

type FakeExecutor struct {
	ExecStub func(string, ...string) error

	ExecInDirStub func(string, string, ...string) error

	ExecWithOutStub func(string, ...string) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeExecutor) Exec

func (fake *FakeExecutor) Exec(arg1 string, arg2 ...string) error

func (*FakeExecutor) ExecArgsForCall

func (fake *FakeExecutor) ExecArgsForCall(i int) (string, []string)

func (*FakeExecutor) ExecCallCount

func (fake *FakeExecutor) ExecCallCount() int

func (*FakeExecutor) ExecCalls

func (fake *FakeExecutor) ExecCalls(stub func(string, ...string) error)

func (*FakeExecutor) ExecInDir

func (fake *FakeExecutor) ExecInDir(arg1 string, arg2 string, arg3 ...string) error

func (*FakeExecutor) ExecInDirArgsForCall

func (fake *FakeExecutor) ExecInDirArgsForCall(i int) (string, string, []string)

func (*FakeExecutor) ExecInDirCallCount

func (fake *FakeExecutor) ExecInDirCallCount() int

func (*FakeExecutor) ExecInDirCalls

func (fake *FakeExecutor) ExecInDirCalls(stub func(string, string, ...string) error)

func (*FakeExecutor) ExecInDirReturns

func (fake *FakeExecutor) ExecInDirReturns(result1 error)

func (*FakeExecutor) ExecInDirReturnsOnCall

func (fake *FakeExecutor) ExecInDirReturnsOnCall(i int, result1 error)

func (*FakeExecutor) ExecReturns

func (fake *FakeExecutor) ExecReturns(result1 error)

func (*FakeExecutor) ExecReturnsOnCall

func (fake *FakeExecutor) ExecReturnsOnCall(i int, result1 error)

func (*FakeExecutor) ExecWithOut added in v0.53.0

func (fake *FakeExecutor) ExecWithOut(arg1 string, arg2 ...string) ([]byte, error)

func (*FakeExecutor) ExecWithOutArgsForCall added in v0.53.0

func (fake *FakeExecutor) ExecWithOutArgsForCall(i int) (string, []string)

func (*FakeExecutor) ExecWithOutCallCount added in v0.53.0

func (fake *FakeExecutor) ExecWithOutCallCount() int

func (*FakeExecutor) ExecWithOutCalls added in v0.53.0

func (fake *FakeExecutor) ExecWithOutCalls(stub func(string, ...string) ([]byte, error))

func (*FakeExecutor) ExecWithOutReturns added in v0.53.0

func (fake *FakeExecutor) ExecWithOutReturns(result1 []byte, result2 error)

func (*FakeExecutor) ExecWithOutReturnsOnCall added in v0.53.0

func (fake *FakeExecutor) ExecWithOutReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeExecutor) Invocations

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

Jump to

Keyboard shortcuts

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