fakes

package
v0.0.0-...-8168f16 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: MIT Imports: 3 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 FakeGitHub

type FakeGitHub struct {
	CreateDeploymentStub func(*github.DeploymentRequest) (*github.Deployment, error)

	CreateDeploymentStatusStub func(int64, *github.DeploymentStatusRequest) (*github.DeploymentStatus, error)

	GetDeploymentStub func(int64) (*github.Deployment, error)

	ListDeploymentStatusesStub func(int64) ([]*github.DeploymentStatus, error)

	ListDeploymentsStub func(string) ([]*github.Deployment, string, error)
	// contains filtered or unexported fields
}

func (*FakeGitHub) CreateDeployment

func (fake *FakeGitHub) CreateDeployment(arg1 *github.DeploymentRequest) (*github.Deployment, error)

func (*FakeGitHub) CreateDeploymentArgsForCall

func (fake *FakeGitHub) CreateDeploymentArgsForCall(i int) *github.DeploymentRequest

func (*FakeGitHub) CreateDeploymentCallCount

func (fake *FakeGitHub) CreateDeploymentCallCount() int

func (*FakeGitHub) CreateDeploymentCalls

func (fake *FakeGitHub) CreateDeploymentCalls(stub func(*github.DeploymentRequest) (*github.Deployment, error))

func (*FakeGitHub) CreateDeploymentReturns

func (fake *FakeGitHub) CreateDeploymentReturns(result1 *github.Deployment, result2 error)

func (*FakeGitHub) CreateDeploymentReturnsOnCall

func (fake *FakeGitHub) CreateDeploymentReturnsOnCall(i int, result1 *github.Deployment, result2 error)

func (*FakeGitHub) CreateDeploymentStatus

func (fake *FakeGitHub) CreateDeploymentStatus(arg1 int64, arg2 *github.DeploymentStatusRequest) (*github.DeploymentStatus, error)

func (*FakeGitHub) CreateDeploymentStatusArgsForCall

func (fake *FakeGitHub) CreateDeploymentStatusArgsForCall(i int) (int64, *github.DeploymentStatusRequest)

func (*FakeGitHub) CreateDeploymentStatusCallCount

func (fake *FakeGitHub) CreateDeploymentStatusCallCount() int

func (*FakeGitHub) CreateDeploymentStatusCalls

func (fake *FakeGitHub) CreateDeploymentStatusCalls(stub func(int64, *github.DeploymentStatusRequest) (*github.DeploymentStatus, error))

func (*FakeGitHub) CreateDeploymentStatusReturns

func (fake *FakeGitHub) CreateDeploymentStatusReturns(result1 *github.DeploymentStatus, result2 error)

func (*FakeGitHub) CreateDeploymentStatusReturnsOnCall

func (fake *FakeGitHub) CreateDeploymentStatusReturnsOnCall(i int, result1 *github.DeploymentStatus, result2 error)

func (*FakeGitHub) GetDeployment

func (fake *FakeGitHub) GetDeployment(arg1 int64) (*github.Deployment, error)

func (*FakeGitHub) GetDeploymentArgsForCall

func (fake *FakeGitHub) GetDeploymentArgsForCall(i int) int64

func (*FakeGitHub) GetDeploymentCallCount

func (fake *FakeGitHub) GetDeploymentCallCount() int

func (*FakeGitHub) GetDeploymentCalls

func (fake *FakeGitHub) GetDeploymentCalls(stub func(int64) (*github.Deployment, error))

func (*FakeGitHub) GetDeploymentReturns

func (fake *FakeGitHub) GetDeploymentReturns(result1 *github.Deployment, result2 error)

func (*FakeGitHub) GetDeploymentReturnsOnCall

func (fake *FakeGitHub) GetDeploymentReturnsOnCall(i int, result1 *github.Deployment, result2 error)

func (*FakeGitHub) Invocations

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

func (*FakeGitHub) ListDeploymentStatuses

func (fake *FakeGitHub) ListDeploymentStatuses(arg1 int64) ([]*github.DeploymentStatus, error)

func (*FakeGitHub) ListDeploymentStatusesArgsForCall

func (fake *FakeGitHub) ListDeploymentStatusesArgsForCall(i int) int64

func (*FakeGitHub) ListDeploymentStatusesCallCount

func (fake *FakeGitHub) ListDeploymentStatusesCallCount() int

func (*FakeGitHub) ListDeploymentStatusesCalls

func (fake *FakeGitHub) ListDeploymentStatusesCalls(stub func(int64) ([]*github.DeploymentStatus, error))

func (*FakeGitHub) ListDeploymentStatusesReturns

func (fake *FakeGitHub) ListDeploymentStatusesReturns(result1 []*github.DeploymentStatus, result2 error)

func (*FakeGitHub) ListDeploymentStatusesReturnsOnCall

func (fake *FakeGitHub) ListDeploymentStatusesReturnsOnCall(i int, result1 []*github.DeploymentStatus, result2 error)

func (*FakeGitHub) ListDeployments

func (fake *FakeGitHub) ListDeployments(arg1 string) ([]*github.Deployment, string, error)

func (*FakeGitHub) ListDeploymentsArgsForCall

func (fake *FakeGitHub) ListDeploymentsArgsForCall(i int) string

func (*FakeGitHub) ListDeploymentsCallCount

func (fake *FakeGitHub) ListDeploymentsCallCount() int

func (*FakeGitHub) ListDeploymentsCalls

func (fake *FakeGitHub) ListDeploymentsCalls(stub func(string) ([]*github.Deployment, string, error))

func (*FakeGitHub) ListDeploymentsReturns

func (fake *FakeGitHub) ListDeploymentsReturns(result1 []*github.Deployment, result2 string, result3 error)

func (*FakeGitHub) ListDeploymentsReturnsOnCall

func (fake *FakeGitHub) ListDeploymentsReturnsOnCall(i int, result1 []*github.Deployment, result2 string, result3 error)

Jump to

Keyboard shortcuts

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