fakes

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2017 License: Apache-2.0 Imports: 2 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 HTTPClient

type HTTPClient struct {
	DoStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*HTTPClient) Do

func (fake *HTTPClient) Do(arg1 *http.Request) (*http.Response, error)

func (*HTTPClient) DoArgsForCall

func (fake *HTTPClient) DoArgsForCall(i int) *http.Request

func (*HTTPClient) DoCallCount

func (fake *HTTPClient) DoCallCount() int

func (*HTTPClient) DoReturns

func (fake *HTTPClient) DoReturns(result1 *http.Response, result2 error)

func (*HTTPClient) Invocations

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

type WarrantClient

type WarrantClient struct {
	GetTokenStub func(clientName, clientSecret string) (string, error)
	// contains filtered or unexported fields
}

func (*WarrantClient) GetToken

func (fake *WarrantClient) GetToken(clientName string, clientSecret string) (string, error)

func (*WarrantClient) GetTokenArgsForCall

func (fake *WarrantClient) GetTokenArgsForCall(i int) (string, string)

func (*WarrantClient) GetTokenCallCount

func (fake *WarrantClient) GetTokenCallCount() int

func (*WarrantClient) GetTokenReturns

func (fake *WarrantClient) GetTokenReturns(result1 string, result2 error)

func (*WarrantClient) Invocations

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

Jump to

Keyboard shortcuts

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