clientfakes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeExecutableFinder

type FakeExecutableFinder struct {
	FindStub func() (string, bool, error)
	// contains filtered or unexported fields
}

func (*FakeExecutableFinder) Find

func (fake *FakeExecutableFinder) Find() (string, bool, error)

func (*FakeExecutableFinder) FindCallCount

func (fake *FakeExecutableFinder) FindCallCount() int

func (*FakeExecutableFinder) FindCalls added in v0.19.0

func (fake *FakeExecutableFinder) FindCalls(stub func() (string, bool, error))

func (*FakeExecutableFinder) FindReturns

func (fake *FakeExecutableFinder) FindReturns(result1 string, result2 bool, result3 error)

func (*FakeExecutableFinder) FindReturnsOnCall added in v0.12.0

func (fake *FakeExecutableFinder) FindReturnsOnCall(i int, result1 string, result2 bool, result3 error)

func (*FakeExecutableFinder) Invocations

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

type FakeExecutableInstaller added in v0.17.0

type FakeExecutableInstaller struct {
	InstallStub func(logrus.FieldLogger) error
	// contains filtered or unexported fields
}

func (*FakeExecutableInstaller) Install added in v0.17.0

func (fake *FakeExecutableInstaller) Install(arg1 logrus.FieldLogger) error

func (*FakeExecutableInstaller) InstallArgsForCall added in v0.17.0

func (fake *FakeExecutableInstaller) InstallArgsForCall(i int) logrus.FieldLogger

func (*FakeExecutableInstaller) InstallCallCount added in v0.17.0

func (fake *FakeExecutableInstaller) InstallCallCount() int

func (*FakeExecutableInstaller) InstallCalls added in v0.19.0

func (fake *FakeExecutableInstaller) InstallCalls(stub func(logrus.FieldLogger) error)

func (*FakeExecutableInstaller) InstallReturns added in v0.17.0

func (fake *FakeExecutableInstaller) InstallReturns(result1 error)

func (*FakeExecutableInstaller) InstallReturnsOnCall added in v0.17.0

func (fake *FakeExecutableInstaller) InstallReturnsOnCall(i int, result1 error)

func (*FakeExecutableInstaller) Invocations added in v0.17.0

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

type FakeRuntime

type FakeRuntime struct {
	GetAuthInterceptClientStub func() (httpclient.Client, error)

	GetClientStub func() (httpclient.Client, error)

	GetConfigManagerStub func() (config.Manager, error)

	GetEnvironmentStub func() (config.EnvironmentState, error)

	GetEnvironmentNameStub func() string

	GetExecStub func() string

	GetLoggerStub func() logrus.FieldLogger

	GetStderrStub func() io.Writer

	GetStdinStub func() io.Reader

	GetStdoutStub func() io.Writer

	GetUIStub func() ui.UI

	GetVersionStub func() version.Version
	// contains filtered or unexported fields
}

func (*FakeRuntime) GetAuthInterceptClient added in v0.4.0

func (fake *FakeRuntime) GetAuthInterceptClient() (httpclient.Client, error)

func (*FakeRuntime) GetAuthInterceptClientCallCount added in v0.4.0

func (fake *FakeRuntime) GetAuthInterceptClientCallCount() int

func (*FakeRuntime) GetAuthInterceptClientCalls added in v0.19.0

func (fake *FakeRuntime) GetAuthInterceptClientCalls(stub func() (httpclient.Client, error))

func (*FakeRuntime) GetAuthInterceptClientReturns added in v0.4.0

func (fake *FakeRuntime) GetAuthInterceptClientReturns(result1 httpclient.Client, result2 error)

func (*FakeRuntime) GetAuthInterceptClientReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetAuthInterceptClientReturnsOnCall(i int, result1 httpclient.Client, result2 error)

func (*FakeRuntime) GetClient

func (fake *FakeRuntime) GetClient() (httpclient.Client, error)

func (*FakeRuntime) GetClientCallCount

func (fake *FakeRuntime) GetClientCallCount() int

func (*FakeRuntime) GetClientCalls added in v0.19.0

func (fake *FakeRuntime) GetClientCalls(stub func() (httpclient.Client, error))

func (*FakeRuntime) GetClientReturns

func (fake *FakeRuntime) GetClientReturns(result1 httpclient.Client, result2 error)

func (*FakeRuntime) GetClientReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetClientReturnsOnCall(i int, result1 httpclient.Client, result2 error)

func (*FakeRuntime) GetConfigManager

func (fake *FakeRuntime) GetConfigManager() (config.Manager, error)

func (*FakeRuntime) GetConfigManagerCallCount

func (fake *FakeRuntime) GetConfigManagerCallCount() int

func (*FakeRuntime) GetConfigManagerCalls added in v0.19.0

func (fake *FakeRuntime) GetConfigManagerCalls(stub func() (config.Manager, error))

func (*FakeRuntime) GetConfigManagerReturns

func (fake *FakeRuntime) GetConfigManagerReturns(result1 config.Manager, result2 error)

func (*FakeRuntime) GetConfigManagerReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetConfigManagerReturnsOnCall(i int, result1 config.Manager, result2 error)

func (*FakeRuntime) GetEnvironment

func (fake *FakeRuntime) GetEnvironment() (config.EnvironmentState, error)

func (*FakeRuntime) GetEnvironmentCallCount

func (fake *FakeRuntime) GetEnvironmentCallCount() int

func (*FakeRuntime) GetEnvironmentCalls added in v0.19.0

func (fake *FakeRuntime) GetEnvironmentCalls(stub func() (config.EnvironmentState, error))

func (*FakeRuntime) GetEnvironmentName

func (fake *FakeRuntime) GetEnvironmentName() string

func (*FakeRuntime) GetEnvironmentNameCallCount

func (fake *FakeRuntime) GetEnvironmentNameCallCount() int

func (*FakeRuntime) GetEnvironmentNameCalls added in v0.19.0

func (fake *FakeRuntime) GetEnvironmentNameCalls(stub func() string)

func (*FakeRuntime) GetEnvironmentNameReturns

func (fake *FakeRuntime) GetEnvironmentNameReturns(result1 string)

func (*FakeRuntime) GetEnvironmentNameReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetEnvironmentNameReturnsOnCall(i int, result1 string)

func (*FakeRuntime) GetEnvironmentReturns

func (fake *FakeRuntime) GetEnvironmentReturns(result1 config.EnvironmentState, result2 error)

func (*FakeRuntime) GetEnvironmentReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetEnvironmentReturnsOnCall(i int, result1 config.EnvironmentState, result2 error)

func (*FakeRuntime) GetExec added in v0.14.0

func (fake *FakeRuntime) GetExec() string

func (*FakeRuntime) GetExecCallCount added in v0.14.0

func (fake *FakeRuntime) GetExecCallCount() int

func (*FakeRuntime) GetExecCalls added in v0.19.0

func (fake *FakeRuntime) GetExecCalls(stub func() string)

func (*FakeRuntime) GetExecReturns added in v0.14.0

func (fake *FakeRuntime) GetExecReturns(result1 string)

func (*FakeRuntime) GetExecReturnsOnCall added in v0.14.0

func (fake *FakeRuntime) GetExecReturnsOnCall(i int, result1 string)

func (*FakeRuntime) GetLogger added in v0.7.0

func (fake *FakeRuntime) GetLogger() logrus.FieldLogger

func (*FakeRuntime) GetLoggerCallCount added in v0.7.0

func (fake *FakeRuntime) GetLoggerCallCount() int

func (*FakeRuntime) GetLoggerCalls added in v0.19.0

func (fake *FakeRuntime) GetLoggerCalls(stub func() logrus.FieldLogger)

func (*FakeRuntime) GetLoggerReturns added in v0.7.0

func (fake *FakeRuntime) GetLoggerReturns(result1 logrus.FieldLogger)

func (*FakeRuntime) GetLoggerReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetLoggerReturnsOnCall(i int, result1 logrus.FieldLogger)

func (*FakeRuntime) GetStderr added in v0.4.0

func (fake *FakeRuntime) GetStderr() io.Writer

func (*FakeRuntime) GetStderrCallCount added in v0.4.0

func (fake *FakeRuntime) GetStderrCallCount() int

func (*FakeRuntime) GetStderrCalls added in v0.19.0

func (fake *FakeRuntime) GetStderrCalls(stub func() io.Writer)

func (*FakeRuntime) GetStderrReturns added in v0.4.0

func (fake *FakeRuntime) GetStderrReturns(result1 io.Writer)

func (*FakeRuntime) GetStderrReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetStderrReturnsOnCall(i int, result1 io.Writer)

func (*FakeRuntime) GetStdin

func (fake *FakeRuntime) GetStdin() io.Reader

func (*FakeRuntime) GetStdinCallCount

func (fake *FakeRuntime) GetStdinCallCount() int

func (*FakeRuntime) GetStdinCalls added in v0.19.0

func (fake *FakeRuntime) GetStdinCalls(stub func() io.Reader)

func (*FakeRuntime) GetStdinReturns

func (fake *FakeRuntime) GetStdinReturns(result1 io.Reader)

func (*FakeRuntime) GetStdinReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetStdinReturnsOnCall(i int, result1 io.Reader)

func (*FakeRuntime) GetStdout

func (fake *FakeRuntime) GetStdout() io.Writer

func (*FakeRuntime) GetStdoutCallCount

func (fake *FakeRuntime) GetStdoutCallCount() int

func (*FakeRuntime) GetStdoutCalls added in v0.19.0

func (fake *FakeRuntime) GetStdoutCalls(stub func() io.Writer)

func (*FakeRuntime) GetStdoutReturns

func (fake *FakeRuntime) GetStdoutReturns(result1 io.Writer)

func (*FakeRuntime) GetStdoutReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetStdoutReturnsOnCall(i int, result1 io.Writer)

func (*FakeRuntime) GetUI

func (fake *FakeRuntime) GetUI() ui.UI

func (*FakeRuntime) GetUICallCount

func (fake *FakeRuntime) GetUICallCount() int

func (*FakeRuntime) GetUICalls added in v0.19.0

func (fake *FakeRuntime) GetUICalls(stub func() ui.UI)

func (*FakeRuntime) GetUIReturns

func (fake *FakeRuntime) GetUIReturns(result1 ui.UI)

func (*FakeRuntime) GetUIReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetUIReturnsOnCall(i int, result1 ui.UI)

func (*FakeRuntime) GetVersion added in v0.7.0

func (fake *FakeRuntime) GetVersion() version.Version

func (*FakeRuntime) GetVersionCallCount added in v0.7.0

func (fake *FakeRuntime) GetVersionCallCount() int

func (*FakeRuntime) GetVersionCalls added in v0.19.0

func (fake *FakeRuntime) GetVersionCalls(stub func() version.Version)

func (*FakeRuntime) GetVersionReturns added in v0.7.0

func (fake *FakeRuntime) GetVersionReturns(result1 version.Version)

func (*FakeRuntime) GetVersionReturnsOnCall added in v0.12.0

func (fake *FakeRuntime) GetVersionReturnsOnCall(i int, result1 version.Version)

func (*FakeRuntime) Invocations

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

Jump to

Keyboard shortcuts

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