clientfakes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

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, 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{}

Jump to

Keyboard shortcuts

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