fakes

package
v0.142.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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