commonfakes

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-1.1, Apache-2.0, BSD-3-Clause, + 1 more 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 FakeFormatter

type FakeFormatter struct {
	DescribeEndpointStub func(domain.RestEndPoint, bool) string

	FormatResponseStub func(string, string, bool) (string, error)
	// contains filtered or unexported fields
}

func (*FakeFormatter) DescribeEndpoint

func (fake *FakeFormatter) DescribeEndpoint(arg1 domain.RestEndPoint, arg2 bool) string

func (*FakeFormatter) DescribeEndpointArgsForCall

func (fake *FakeFormatter) DescribeEndpointArgsForCall(i int) (domain.RestEndPoint, bool)

func (*FakeFormatter) DescribeEndpointCallCount

func (fake *FakeFormatter) DescribeEndpointCallCount() int

func (*FakeFormatter) DescribeEndpointCalls

func (fake *FakeFormatter) DescribeEndpointCalls(stub func(domain.RestEndPoint, bool) string)

func (*FakeFormatter) DescribeEndpointReturns

func (fake *FakeFormatter) DescribeEndpointReturns(result1 string)

func (*FakeFormatter) DescribeEndpointReturnsOnCall

func (fake *FakeFormatter) DescribeEndpointReturnsOnCall(i int, result1 string)

func (*FakeFormatter) FormatResponse

func (fake *FakeFormatter) FormatResponse(arg1 string, arg2 string, arg3 bool) (string, error)

func (*FakeFormatter) FormatResponseArgsForCall

func (fake *FakeFormatter) FormatResponseArgsForCall(i int) (string, string, bool)

func (*FakeFormatter) FormatResponseCallCount

func (fake *FakeFormatter) FormatResponseCallCount() int

func (*FakeFormatter) FormatResponseCalls

func (fake *FakeFormatter) FormatResponseCalls(stub func(string, string, bool) (string, error))

func (*FakeFormatter) FormatResponseReturns

func (fake *FakeFormatter) FormatResponseReturns(result1 string, result2 error)

func (*FakeFormatter) FormatResponseReturnsOnCall

func (fake *FakeFormatter) FormatResponseReturnsOnCall(i int, result1 string, result2 error)

func (*FakeFormatter) Invocations

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

type FakeRequestBuilder

type FakeRequestBuilder struct {
	Stub func(domain.RestEndPoint, *domain.CommandData) (*http.Request, error)
	// contains filtered or unexported fields
}

func (*FakeRequestBuilder) ArgsForCall

func (fake *FakeRequestBuilder) ArgsForCall(i int) (domain.RestEndPoint, *domain.CommandData)

func (*FakeRequestBuilder) CallCount

func (fake *FakeRequestBuilder) CallCount() int

func (*FakeRequestBuilder) Calls

func (fake *FakeRequestBuilder) Calls(stub func(domain.RestEndPoint, *domain.CommandData) (*http.Request, error))

func (*FakeRequestBuilder) Invocations

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

func (*FakeRequestBuilder) Returns

func (fake *FakeRequestBuilder) Returns(result1 *http.Request, result2 error)

func (*FakeRequestBuilder) ReturnsOnCall

func (fake *FakeRequestBuilder) ReturnsOnCall(i int, result1 *http.Request, result2 error)

func (*FakeRequestBuilder) Spy

Jump to

Keyboard shortcuts

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