fakes

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 FakeResponseWriter

type FakeResponseWriter struct {
	HeaderStub func() http.Header

	WriteStub func([]byte) (int, error)

	WriteHeaderStub func(int)
	// contains filtered or unexported fields
}

func (*FakeResponseWriter) Header

func (fake *FakeResponseWriter) Header() http.Header

func (*FakeResponseWriter) HeaderCallCount

func (fake *FakeResponseWriter) HeaderCallCount() int

func (*FakeResponseWriter) HeaderCalls

func (fake *FakeResponseWriter) HeaderCalls(stub func() http.Header)

func (*FakeResponseWriter) HeaderReturns

func (fake *FakeResponseWriter) HeaderReturns(result1 http.Header)

func (*FakeResponseWriter) HeaderReturnsOnCall

func (fake *FakeResponseWriter) HeaderReturnsOnCall(i int, result1 http.Header)

func (*FakeResponseWriter) Invocations

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

func (*FakeResponseWriter) Write

func (fake *FakeResponseWriter) Write(arg1 []byte) (int, error)

func (*FakeResponseWriter) WriteArgsForCall

func (fake *FakeResponseWriter) WriteArgsForCall(i int) []byte

func (*FakeResponseWriter) WriteCallCount

func (fake *FakeResponseWriter) WriteCallCount() int

func (*FakeResponseWriter) WriteCalls

func (fake *FakeResponseWriter) WriteCalls(stub func([]byte) (int, error))

func (*FakeResponseWriter) WriteHeader

func (fake *FakeResponseWriter) WriteHeader(arg1 int)

func (*FakeResponseWriter) WriteHeaderArgsForCall

func (fake *FakeResponseWriter) WriteHeaderArgsForCall(i int) int

func (*FakeResponseWriter) WriteHeaderCallCount

func (fake *FakeResponseWriter) WriteHeaderCallCount() int

func (*FakeResponseWriter) WriteHeaderCalls

func (fake *FakeResponseWriter) WriteHeaderCalls(stub func(int))

func (*FakeResponseWriter) WriteReturns

func (fake *FakeResponseWriter) WriteReturns(result1 int, result2 error)

func (*FakeResponseWriter) WriteReturnsOnCall

func (fake *FakeResponseWriter) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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