fakes

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCmdRunner added in v1.0.1

type FakeCmdRunner struct {
	CmdSpy     []string
	RunSpy     int
	ErrRunFake error
}

func (*FakeCmdRunner) Run added in v1.0.1

func (s *FakeCmdRunner) Run() error

type GithubClientFake

type GithubClientFake struct {
	CallCount int
	FileBytes []*bytes.Buffer
	SpyUrl    []string
}

GithubClientFake ---

func (*GithubClientFake) Do

func (s *GithubClientFake) Do(req *http.Request, v interface{}) (res *github.Response, err error)

Do ----

func (*GithubClientFake) NewRequest

func (s *GithubClientFake) NewRequest(method, urlStr string, body interface{}) (req *http.Request, err error)

NewRequest ---

Jump to

Keyboard shortcuts

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