checkerfakes

package
v0.0.0-...-8f1101b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 5 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 FakeChecker

type FakeChecker struct {
	CloseBodyStub func(*http.Response) error

	HttpGetStub func(string) (*http.Response, error)

	ListRefsStub func(*git.Remote) ([]*plumbing.Reference, error)

	ReadAllBodyStub func(*http.Response) ([]byte, error)

	UnmarshalProwJobsStub func([]byte) (*v1.ProwJobList, error)
	// contains filtered or unexported fields
}

func (*FakeChecker) CloseBody

func (fake *FakeChecker) CloseBody(arg1 *http.Response) error

func (*FakeChecker) CloseBodyArgsForCall

func (fake *FakeChecker) CloseBodyArgsForCall(i int) *http.Response

func (*FakeChecker) CloseBodyCallCount

func (fake *FakeChecker) CloseBodyCallCount() int

func (*FakeChecker) CloseBodyCalls

func (fake *FakeChecker) CloseBodyCalls(stub func(*http.Response) error)

func (*FakeChecker) CloseBodyReturns

func (fake *FakeChecker) CloseBodyReturns(result1 error)

func (*FakeChecker) CloseBodyReturnsOnCall

func (fake *FakeChecker) CloseBodyReturnsOnCall(i int, result1 error)

func (*FakeChecker) HttpGet

func (fake *FakeChecker) HttpGet(arg1 string) (*http.Response, error)

func (*FakeChecker) HttpGetArgsForCall

func (fake *FakeChecker) HttpGetArgsForCall(i int) string

func (*FakeChecker) HttpGetCallCount

func (fake *FakeChecker) HttpGetCallCount() int

func (*FakeChecker) HttpGetCalls

func (fake *FakeChecker) HttpGetCalls(stub func(string) (*http.Response, error))

func (*FakeChecker) HttpGetReturns

func (fake *FakeChecker) HttpGetReturns(result1 *http.Response, result2 error)

func (*FakeChecker) HttpGetReturnsOnCall

func (fake *FakeChecker) HttpGetReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeChecker) Invocations

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

func (*FakeChecker) ListRefs

func (fake *FakeChecker) ListRefs(arg1 *git.Remote) ([]*plumbing.Reference, error)

func (*FakeChecker) ListRefsArgsForCall

func (fake *FakeChecker) ListRefsArgsForCall(i int) *git.Remote

func (*FakeChecker) ListRefsCallCount

func (fake *FakeChecker) ListRefsCallCount() int

func (*FakeChecker) ListRefsCalls

func (fake *FakeChecker) ListRefsCalls(stub func(*git.Remote) ([]*plumbing.Reference, error))

func (*FakeChecker) ListRefsReturns

func (fake *FakeChecker) ListRefsReturns(result1 []*plumbing.Reference, result2 error)

func (*FakeChecker) ListRefsReturnsOnCall

func (fake *FakeChecker) ListRefsReturnsOnCall(i int, result1 []*plumbing.Reference, result2 error)

func (*FakeChecker) ReadAllBody

func (fake *FakeChecker) ReadAllBody(arg1 *http.Response) ([]byte, error)

func (*FakeChecker) ReadAllBodyArgsForCall

func (fake *FakeChecker) ReadAllBodyArgsForCall(i int) *http.Response

func (*FakeChecker) ReadAllBodyCallCount

func (fake *FakeChecker) ReadAllBodyCallCount() int

func (*FakeChecker) ReadAllBodyCalls

func (fake *FakeChecker) ReadAllBodyCalls(stub func(*http.Response) ([]byte, error))

func (*FakeChecker) ReadAllBodyReturns

func (fake *FakeChecker) ReadAllBodyReturns(result1 []byte, result2 error)

func (*FakeChecker) ReadAllBodyReturnsOnCall

func (fake *FakeChecker) ReadAllBodyReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeChecker) UnmarshalProwJobs

func (fake *FakeChecker) UnmarshalProwJobs(arg1 []byte) (*v1.ProwJobList, error)

func (*FakeChecker) UnmarshalProwJobsArgsForCall

func (fake *FakeChecker) UnmarshalProwJobsArgsForCall(i int) []byte

func (*FakeChecker) UnmarshalProwJobsCallCount

func (fake *FakeChecker) UnmarshalProwJobsCallCount() int

func (*FakeChecker) UnmarshalProwJobsCalls

func (fake *FakeChecker) UnmarshalProwJobsCalls(stub func([]byte) (*v1.ProwJobList, error))

func (*FakeChecker) UnmarshalProwJobsReturns

func (fake *FakeChecker) UnmarshalProwJobsReturns(result1 *v1.ProwJobList, result2 error)

func (*FakeChecker) UnmarshalProwJobsReturnsOnCall

func (fake *FakeChecker) UnmarshalProwJobsReturnsOnCall(i int, result1 *v1.ProwJobList, result2 error)

Jump to

Keyboard shortcuts

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