internalfakes

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeHttpGetter

type FakeHttpGetter struct {
	Stub func(string) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeHttpGetter) ArgsForCall

func (fake *FakeHttpGetter) ArgsForCall(i int) string

func (*FakeHttpGetter) CallCount

func (fake *FakeHttpGetter) CallCount() int

func (*FakeHttpGetter) Calls

func (fake *FakeHttpGetter) Calls(stub func(string) (*http.Response, error))

func (*FakeHttpGetter) Invocations

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

func (*FakeHttpGetter) Returns

func (fake *FakeHttpGetter) Returns(result1 *http.Response, result2 error)

func (*FakeHttpGetter) ReturnsOnCall

func (fake *FakeHttpGetter) ReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeHttpGetter) Spy

func (fake *FakeHttpGetter) Spy(arg1 string) (*http.Response, error)

type FakeImageDecoder

type FakeImageDecoder struct {
	Stub func(io.Reader) (image.Image, error)
	// contains filtered or unexported fields
}

func (*FakeImageDecoder) ArgsForCall

func (fake *FakeImageDecoder) ArgsForCall(i int) io.Reader

func (*FakeImageDecoder) CallCount

func (fake *FakeImageDecoder) CallCount() int

func (*FakeImageDecoder) Calls

func (fake *FakeImageDecoder) Calls(stub func(io.Reader) (image.Image, error))

func (*FakeImageDecoder) Invocations

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

func (*FakeImageDecoder) Returns

func (fake *FakeImageDecoder) Returns(result1 image.Image, result2 error)

func (*FakeImageDecoder) ReturnsOnCall

func (fake *FakeImageDecoder) ReturnsOnCall(i int, result1 image.Image, result2 error)

func (*FakeImageDecoder) Spy

func (fake *FakeImageDecoder) Spy(arg1 io.Reader) (image.Image, error)

type FakeImageEncoder

type FakeImageEncoder struct {
	Stub func(io.Writer, image.Image) error
	// contains filtered or unexported fields
}

func (*FakeImageEncoder) ArgsForCall

func (fake *FakeImageEncoder) ArgsForCall(i int) (io.Writer, image.Image)

func (*FakeImageEncoder) CallCount

func (fake *FakeImageEncoder) CallCount() int

func (*FakeImageEncoder) Calls

func (fake *FakeImageEncoder) Calls(stub func(io.Writer, image.Image) error)

func (*FakeImageEncoder) Invocations

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

func (*FakeImageEncoder) Returns

func (fake *FakeImageEncoder) Returns(result1 error)

func (*FakeImageEncoder) ReturnsOnCall

func (fake *FakeImageEncoder) ReturnsOnCall(i int, result1 error)

func (*FakeImageEncoder) Spy

func (fake *FakeImageEncoder) Spy(arg1 io.Writer, arg2 image.Image) error

type FakeImageGenerator

type FakeImageGenerator struct {
	GenerateImageStub func(int, int) (image.Image, error)
	// contains filtered or unexported fields
}

func (*FakeImageGenerator) GenerateImage

func (fake *FakeImageGenerator) GenerateImage(arg1 int, arg2 int) (image.Image, error)

func (*FakeImageGenerator) GenerateImageArgsForCall

func (fake *FakeImageGenerator) GenerateImageArgsForCall(i int) (int, int)

func (*FakeImageGenerator) GenerateImageCallCount

func (fake *FakeImageGenerator) GenerateImageCallCount() int

func (*FakeImageGenerator) GenerateImageCalls

func (fake *FakeImageGenerator) GenerateImageCalls(stub func(int, int) (image.Image, error))

func (*FakeImageGenerator) GenerateImageReturns

func (fake *FakeImageGenerator) GenerateImageReturns(result1 image.Image, result2 error)

func (*FakeImageGenerator) GenerateImageReturnsOnCall

func (fake *FakeImageGenerator) GenerateImageReturnsOnCall(i int, result1 image.Image, result2 error)

func (*FakeImageGenerator) Invocations

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

type FakeImageWriter

type FakeImageWriter struct {
	Stub func(string, image.Image) error
	// contains filtered or unexported fields
}

func (*FakeImageWriter) ArgsForCall

func (fake *FakeImageWriter) ArgsForCall(i int) (string, image.Image)

func (*FakeImageWriter) CallCount

func (fake *FakeImageWriter) CallCount() int

func (*FakeImageWriter) Calls

func (fake *FakeImageWriter) Calls(stub func(string, image.Image) error)

func (*FakeImageWriter) Invocations

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

func (*FakeImageWriter) Returns

func (fake *FakeImageWriter) Returns(result1 error)

func (*FakeImageWriter) ReturnsOnCall

func (fake *FakeImageWriter) ReturnsOnCall(i int, result1 error)

func (*FakeImageWriter) Spy

func (fake *FakeImageWriter) Spy(arg1 string, arg2 image.Image) error

Jump to

Keyboard shortcuts

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