cffakes

package
v0.0.0-...-6863e89 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRest

type FakeRest struct {
	PatchStub func(string, string, io.Reader) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeRest) Invocations

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

func (*FakeRest) Patch

func (fake *FakeRest) Patch(arg1 string, arg2 string, arg3 io.Reader) (*http.Response, error)

func (*FakeRest) PatchArgsForCall

func (fake *FakeRest) PatchArgsForCall(i int) (string, string, io.Reader)

func (*FakeRest) PatchCallCount

func (fake *FakeRest) PatchCallCount() int

func (*FakeRest) PatchCalls

func (fake *FakeRest) PatchCalls(stub func(string, string, io.Reader) (*http.Response, error))

func (*FakeRest) PatchReturns

func (fake *FakeRest) PatchReturns(result1 *http.Response, result2 error)

func (*FakeRest) PatchReturnsOnCall

func (fake *FakeRest) PatchReturnsOnCall(i int, result1 *http.Response, result2 error)

type FakeTokenFetcher

type FakeTokenFetcher struct {
	FetchStub func() (string, error)
	// contains filtered or unexported fields
}

func (*FakeTokenFetcher) Fetch

func (fake *FakeTokenFetcher) Fetch() (string, error)

func (*FakeTokenFetcher) FetchCallCount

func (fake *FakeTokenFetcher) FetchCallCount() int

func (*FakeTokenFetcher) FetchCalls

func (fake *FakeTokenFetcher) FetchCalls(stub func() (string, error))

func (*FakeTokenFetcher) FetchReturns

func (fake *FakeTokenFetcher) FetchReturns(result1 string, result2 error)

func (*FakeTokenFetcher) FetchReturnsOnCall

func (fake *FakeTokenFetcher) FetchReturnsOnCall(i int, result1 string, result2 error)

func (*FakeTokenFetcher) Invocations

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

Jump to

Keyboard shortcuts

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