Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeExecutableFinder
- func (fake *FakeExecutableFinder) Find() (string, bool, error)
- func (fake *FakeExecutableFinder) FindCallCount() int
- func (fake *FakeExecutableFinder) FindReturns(result1 string, result2 bool, result3 error)
- func (fake *FakeExecutableFinder) FindReturnsOnCall(i int, result1 string, result2 bool, result3 error)
- func (fake *FakeExecutableFinder) Invocations() map[string][][]interface{}
- type FakeRuntime
- func (fake *FakeRuntime) GetAuthInterceptClient() (httpclient.Client, error)
- func (fake *FakeRuntime) GetAuthInterceptClientCallCount() int
- func (fake *FakeRuntime) GetAuthInterceptClientReturns(result1 httpclient.Client, result2 error)
- func (fake *FakeRuntime) GetAuthInterceptClientReturnsOnCall(i int, result1 httpclient.Client, result2 error)
- func (fake *FakeRuntime) GetClient() (httpclient.Client, error)
- func (fake *FakeRuntime) GetClientCallCount() int
- func (fake *FakeRuntime) GetClientReturns(result1 httpclient.Client, result2 error)
- func (fake *FakeRuntime) GetClientReturnsOnCall(i int, result1 httpclient.Client, result2 error)
- func (fake *FakeRuntime) GetConfigManager() (config.Manager, error)
- func (fake *FakeRuntime) GetConfigManagerCallCount() int
- func (fake *FakeRuntime) GetConfigManagerReturns(result1 config.Manager, result2 error)
- func (fake *FakeRuntime) GetConfigManagerReturnsOnCall(i int, result1 config.Manager, result2 error)
- func (fake *FakeRuntime) GetEnvironment() (config.EnvironmentState, error)
- func (fake *FakeRuntime) GetEnvironmentCallCount() int
- func (fake *FakeRuntime) GetEnvironmentName() string
- func (fake *FakeRuntime) GetEnvironmentNameCallCount() int
- func (fake *FakeRuntime) GetEnvironmentNameReturns(result1 string)
- func (fake *FakeRuntime) GetEnvironmentNameReturnsOnCall(i int, result1 string)
- func (fake *FakeRuntime) GetEnvironmentReturns(result1 config.EnvironmentState, result2 error)
- func (fake *FakeRuntime) GetEnvironmentReturnsOnCall(i int, result1 config.EnvironmentState, result2 error)
- func (fake *FakeRuntime) GetExec() string
- func (fake *FakeRuntime) GetExecCallCount() int
- func (fake *FakeRuntime) GetExecReturns(result1 string)
- func (fake *FakeRuntime) GetExecReturnsOnCall(i int, result1 string)
- func (fake *FakeRuntime) GetLogger() logrus.FieldLogger
- func (fake *FakeRuntime) GetLoggerCallCount() int
- func (fake *FakeRuntime) GetLoggerReturns(result1 logrus.FieldLogger)
- func (fake *FakeRuntime) GetLoggerReturnsOnCall(i int, result1 logrus.FieldLogger)
- func (fake *FakeRuntime) GetStderr() io.Writer
- func (fake *FakeRuntime) GetStderrCallCount() int
- func (fake *FakeRuntime) GetStderrReturns(result1 io.Writer)
- func (fake *FakeRuntime) GetStderrReturnsOnCall(i int, result1 io.Writer)
- func (fake *FakeRuntime) GetStdin() io.Reader
- func (fake *FakeRuntime) GetStdinCallCount() int
- func (fake *FakeRuntime) GetStdinReturns(result1 io.Reader)
- func (fake *FakeRuntime) GetStdinReturnsOnCall(i int, result1 io.Reader)
- func (fake *FakeRuntime) GetStdout() io.Writer
- func (fake *FakeRuntime) GetStdoutCallCount() int
- func (fake *FakeRuntime) GetStdoutReturns(result1 io.Writer)
- func (fake *FakeRuntime) GetStdoutReturnsOnCall(i int, result1 io.Writer)
- func (fake *FakeRuntime) GetUI() ui.UI
- func (fake *FakeRuntime) GetUICallCount() int
- func (fake *FakeRuntime) GetUIReturns(result1 ui.UI)
- func (fake *FakeRuntime) GetUIReturnsOnCall(i int, result1 ui.UI)
- func (fake *FakeRuntime) GetVersion() version.Version
- func (fake *FakeRuntime) GetVersionCallCount() int
- func (fake *FakeRuntime) GetVersionReturns(result1 version.Version)
- func (fake *FakeRuntime) GetVersionReturnsOnCall(i int, result1 version.Version)
- func (fake *FakeRuntime) Invocations() map[string][][]interface{}
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) FindCallCount ¶
func (fake *FakeExecutableFinder) FindCallCount() int
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 FakeRuntime ¶
type FakeRuntime struct { GetExecStub func() string GetVersionStub func() version.Version GetEnvironmentStub func() (config.EnvironmentState, error) GetEnvironmentNameStub func() string GetConfigManagerStub func() (config.Manager, error) GetClientStub func() (httpclient.Client, error) GetAuthInterceptClientStub func() (httpclient.Client, error) GetUIStub func() ui.UI GetLoggerStub func() logrus.FieldLogger GetStderrStub func() io.Writer GetStdoutStub func() io.Writer GetStdinStub func() io.Reader // 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) 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) 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) 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) GetEnvironmentName ¶
func (fake *FakeRuntime) GetEnvironmentName() string
func (*FakeRuntime) GetEnvironmentNameCallCount ¶
func (fake *FakeRuntime) GetEnvironmentNameCallCount() int
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) 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) 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) 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) 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) 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) 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) 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{}
Click to show internal directories.
Click to hide internal directories.