ptfakes

package
v0.0.3-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 3 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClientCaller

type FakeClientCaller struct {
	DeleteProjectStub func(int) (*http.Response, error)

	GetProjectStub func(int) (*pt.Project, *http.Response, error)

	ListProjectsStub func() ([]*pt.Project, *http.Response, error)

	NewProjectStub func(pt.ProjectsRequest) (*pt.Project, *http.Response, error)

	UpdateProjectStub func(int, pt.ProjectRequest) (*pt.Project, *http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeClientCaller) DeleteProject

func (fake *FakeClientCaller) DeleteProject(arg1 int) (*http.Response, error)

func (*FakeClientCaller) DeleteProjectArgsForCall

func (fake *FakeClientCaller) DeleteProjectArgsForCall(i int) int

func (*FakeClientCaller) DeleteProjectCallCount

func (fake *FakeClientCaller) DeleteProjectCallCount() int

func (*FakeClientCaller) DeleteProjectCalls

func (fake *FakeClientCaller) DeleteProjectCalls(stub func(int) (*http.Response, error))

func (*FakeClientCaller) DeleteProjectReturns

func (fake *FakeClientCaller) DeleteProjectReturns(result1 *http.Response, result2 error)

func (*FakeClientCaller) DeleteProjectReturnsOnCall

func (fake *FakeClientCaller) DeleteProjectReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeClientCaller) GetProject

func (fake *FakeClientCaller) GetProject(arg1 int) (*pt.Project, *http.Response, error)

func (*FakeClientCaller) GetProjectArgsForCall

func (fake *FakeClientCaller) GetProjectArgsForCall(i int) int

func (*FakeClientCaller) GetProjectCallCount

func (fake *FakeClientCaller) GetProjectCallCount() int

func (*FakeClientCaller) GetProjectCalls

func (fake *FakeClientCaller) GetProjectCalls(stub func(int) (*pt.Project, *http.Response, error))

func (*FakeClientCaller) GetProjectReturns

func (fake *FakeClientCaller) GetProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) GetProjectReturnsOnCall

func (fake *FakeClientCaller) GetProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) Invocations

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

func (*FakeClientCaller) ListProjects

func (fake *FakeClientCaller) ListProjects() ([]*pt.Project, *http.Response, error)

func (*FakeClientCaller) ListProjectsCallCount

func (fake *FakeClientCaller) ListProjectsCallCount() int

func (*FakeClientCaller) ListProjectsCalls

func (fake *FakeClientCaller) ListProjectsCalls(stub func() ([]*pt.Project, *http.Response, error))

func (*FakeClientCaller) ListProjectsReturns

func (fake *FakeClientCaller) ListProjectsReturns(result1 []*pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) ListProjectsReturnsOnCall

func (fake *FakeClientCaller) ListProjectsReturnsOnCall(i int, result1 []*pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) NewProject

func (fake *FakeClientCaller) NewProject(arg1 pt.ProjectsRequest) (*pt.Project, *http.Response, error)

func (*FakeClientCaller) NewProjectArgsForCall

func (fake *FakeClientCaller) NewProjectArgsForCall(i int) pt.ProjectsRequest

func (*FakeClientCaller) NewProjectCallCount

func (fake *FakeClientCaller) NewProjectCallCount() int

func (*FakeClientCaller) NewProjectCalls

func (fake *FakeClientCaller) NewProjectCalls(stub func(pt.ProjectsRequest) (*pt.Project, *http.Response, error))

func (*FakeClientCaller) NewProjectReturns

func (fake *FakeClientCaller) NewProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) NewProjectReturnsOnCall

func (fake *FakeClientCaller) NewProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) UpdateProject

func (fake *FakeClientCaller) UpdateProject(arg1 int, arg2 pt.ProjectRequest) (*pt.Project, *http.Response, error)

func (*FakeClientCaller) UpdateProjectArgsForCall

func (fake *FakeClientCaller) UpdateProjectArgsForCall(i int) (int, pt.ProjectRequest)

func (*FakeClientCaller) UpdateProjectCallCount

func (fake *FakeClientCaller) UpdateProjectCallCount() int

func (*FakeClientCaller) UpdateProjectCalls

func (fake *FakeClientCaller) UpdateProjectCalls(stub func(int, pt.ProjectRequest) (*pt.Project, *http.Response, error))

func (*FakeClientCaller) UpdateProjectReturns

func (fake *FakeClientCaller) UpdateProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeClientCaller) UpdateProjectReturnsOnCall

func (fake *FakeClientCaller) UpdateProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

type FakeProjectCaller

type FakeProjectCaller struct {
	DeleteProjectStub func(int) (*http.Response, error)

	GetProjectStub func(int) (*pt.Project, *http.Response, error)

	ListProjectsStub func() ([]*pt.Project, *http.Response, error)

	NewProjectStub func(pt.ProjectsRequest) (*pt.Project, *http.Response, error)

	UpdateProjectStub func(int, pt.ProjectRequest) (*pt.Project, *http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeProjectCaller) DeleteProject

func (fake *FakeProjectCaller) DeleteProject(arg1 int) (*http.Response, error)

func (*FakeProjectCaller) DeleteProjectArgsForCall

func (fake *FakeProjectCaller) DeleteProjectArgsForCall(i int) int

func (*FakeProjectCaller) DeleteProjectCallCount

func (fake *FakeProjectCaller) DeleteProjectCallCount() int

func (*FakeProjectCaller) DeleteProjectCalls

func (fake *FakeProjectCaller) DeleteProjectCalls(stub func(int) (*http.Response, error))

func (*FakeProjectCaller) DeleteProjectReturns

func (fake *FakeProjectCaller) DeleteProjectReturns(result1 *http.Response, result2 error)

func (*FakeProjectCaller) DeleteProjectReturnsOnCall

func (fake *FakeProjectCaller) DeleteProjectReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeProjectCaller) GetProject

func (fake *FakeProjectCaller) GetProject(arg1 int) (*pt.Project, *http.Response, error)

func (*FakeProjectCaller) GetProjectArgsForCall

func (fake *FakeProjectCaller) GetProjectArgsForCall(i int) int

func (*FakeProjectCaller) GetProjectCallCount

func (fake *FakeProjectCaller) GetProjectCallCount() int

func (*FakeProjectCaller) GetProjectCalls

func (fake *FakeProjectCaller) GetProjectCalls(stub func(int) (*pt.Project, *http.Response, error))

func (*FakeProjectCaller) GetProjectReturns

func (fake *FakeProjectCaller) GetProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) GetProjectReturnsOnCall

func (fake *FakeProjectCaller) GetProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) Invocations

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

func (*FakeProjectCaller) ListProjects

func (fake *FakeProjectCaller) ListProjects() ([]*pt.Project, *http.Response, error)

func (*FakeProjectCaller) ListProjectsCallCount

func (fake *FakeProjectCaller) ListProjectsCallCount() int

func (*FakeProjectCaller) ListProjectsCalls

func (fake *FakeProjectCaller) ListProjectsCalls(stub func() ([]*pt.Project, *http.Response, error))

func (*FakeProjectCaller) ListProjectsReturns

func (fake *FakeProjectCaller) ListProjectsReturns(result1 []*pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) ListProjectsReturnsOnCall

func (fake *FakeProjectCaller) ListProjectsReturnsOnCall(i int, result1 []*pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) NewProject

func (fake *FakeProjectCaller) NewProject(arg1 pt.ProjectsRequest) (*pt.Project, *http.Response, error)

func (*FakeProjectCaller) NewProjectArgsForCall

func (fake *FakeProjectCaller) NewProjectArgsForCall(i int) pt.ProjectsRequest

func (*FakeProjectCaller) NewProjectCallCount

func (fake *FakeProjectCaller) NewProjectCallCount() int

func (*FakeProjectCaller) NewProjectCalls

func (fake *FakeProjectCaller) NewProjectCalls(stub func(pt.ProjectsRequest) (*pt.Project, *http.Response, error))

func (*FakeProjectCaller) NewProjectReturns

func (fake *FakeProjectCaller) NewProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) NewProjectReturnsOnCall

func (fake *FakeProjectCaller) NewProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) UpdateProject

func (fake *FakeProjectCaller) UpdateProject(arg1 int, arg2 pt.ProjectRequest) (*pt.Project, *http.Response, error)

func (*FakeProjectCaller) UpdateProjectArgsForCall

func (fake *FakeProjectCaller) UpdateProjectArgsForCall(i int) (int, pt.ProjectRequest)

func (*FakeProjectCaller) UpdateProjectCallCount

func (fake *FakeProjectCaller) UpdateProjectCallCount() int

func (*FakeProjectCaller) UpdateProjectCalls

func (fake *FakeProjectCaller) UpdateProjectCalls(stub func(int, pt.ProjectRequest) (*pt.Project, *http.Response, error))

func (*FakeProjectCaller) UpdateProjectReturns

func (fake *FakeProjectCaller) UpdateProjectReturns(result1 *pt.Project, result2 *http.Response, result3 error)

func (*FakeProjectCaller) UpdateProjectReturnsOnCall

func (fake *FakeProjectCaller) UpdateProjectReturnsOnCall(i int, result1 *pt.Project, result2 *http.Response, result3 error)

type FakeRequestDoer

type FakeRequestDoer struct {
	DoStub func(*http.Request, interface{}) (*http.Response, error)

	NewRequestStub func(string, string, interface{}) (*http.Request, error)
	// contains filtered or unexported fields
}

func (*FakeRequestDoer) Do

func (fake *FakeRequestDoer) Do(arg1 *http.Request, arg2 interface{}) (*http.Response, error)

func (*FakeRequestDoer) DoArgsForCall

func (fake *FakeRequestDoer) DoArgsForCall(i int) (*http.Request, interface{})

func (*FakeRequestDoer) DoCallCount

func (fake *FakeRequestDoer) DoCallCount() int

func (*FakeRequestDoer) DoCalls

func (fake *FakeRequestDoer) DoCalls(stub func(*http.Request, interface{}) (*http.Response, error))

func (*FakeRequestDoer) DoReturns

func (fake *FakeRequestDoer) DoReturns(result1 *http.Response, result2 error)

func (*FakeRequestDoer) DoReturnsOnCall

func (fake *FakeRequestDoer) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeRequestDoer) Invocations

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

func (*FakeRequestDoer) NewRequest

func (fake *FakeRequestDoer) NewRequest(arg1 string, arg2 string, arg3 interface{}) (*http.Request, error)

func (*FakeRequestDoer) NewRequestArgsForCall

func (fake *FakeRequestDoer) NewRequestArgsForCall(i int) (string, string, interface{})

func (*FakeRequestDoer) NewRequestCallCount

func (fake *FakeRequestDoer) NewRequestCallCount() int

func (*FakeRequestDoer) NewRequestCalls

func (fake *FakeRequestDoer) NewRequestCalls(stub func(string, string, interface{}) (*http.Request, error))

func (*FakeRequestDoer) NewRequestReturns

func (fake *FakeRequestDoer) NewRequestReturns(result1 *http.Request, result2 error)

func (*FakeRequestDoer) NewRequestReturnsOnCall

func (fake *FakeRequestDoer) NewRequestReturnsOnCall(i int, result1 *http.Request, result2 error)

Jump to

Keyboard shortcuts

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