Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeExecutableFinder
- type FakeRuntime
- func (fake *FakeRuntime) GetClient() (*httpclient.Client, error)
- func (fake *FakeRuntime) GetClientCallCount() int
- func (fake *FakeRuntime) GetClientReturns(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) 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) GetEnvironmentReturns(result1 config.EnvironmentState, result2 error)
- func (fake *FakeRuntime) GetStdin() io.Reader
- func (fake *FakeRuntime) GetStdinCallCount() int
- func (fake *FakeRuntime) GetStdinReturns(result1 io.Reader)
- func (fake *FakeRuntime) GetStdout() io.Writer
- func (fake *FakeRuntime) GetStdoutCallCount() int
- func (fake *FakeRuntime) GetStdoutReturns(result1 io.Writer)
- func (fake *FakeRuntime) GetUI() ui.UI
- func (fake *FakeRuntime) GetUICallCount() int
- func (fake *FakeRuntime) GetUIReturns(result1 ui.UI)
- 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, error) // contains filtered or unexported fields }
func (*FakeExecutableFinder) Find ¶
func (fake *FakeExecutableFinder) Find() (string, error)
func (*FakeExecutableFinder) FindCallCount ¶
func (fake *FakeExecutableFinder) FindCallCount() int
func (*FakeExecutableFinder) FindReturns ¶
func (fake *FakeExecutableFinder) FindReturns(result1 string, result2 error)
func (*FakeExecutableFinder) Invocations ¶
func (fake *FakeExecutableFinder) Invocations() map[string][][]interface{}
type FakeRuntime ¶
type FakeRuntime struct { GetClientStub func() (*httpclient.Client, error) GetEnvironmentStub func() (config.EnvironmentState, error) GetEnvironmentNameStub func() string GetConfigManagerStub func() (config.Manager, error) GetUIStub func() ui.UI GetStdoutStub func() io.Writer GetStdinStub func() io.Reader // contains filtered or unexported fields }
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) 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) 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) GetEnvironmentReturns ¶
func (fake *FakeRuntime) GetEnvironmentReturns(result1 config.EnvironmentState, result2 error)
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) 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) 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) Invocations ¶
func (fake *FakeRuntime) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.