fakes

package
v0.9.3-0...-be2e0e5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeGitHub

type FakeGitHub struct {
	ListDeploymentsStub func() ([]*github.Deployment, error)

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

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

	CreateDeploymentStub func(request *github.DeploymentRequest) (*github.Deployment, error)

	CreateDeploymentStatusStub func(ID int64, request *github.DeploymentStatusRequest) (*github.DeploymentStatus, error)
	// contains filtered or unexported fields
}

func (*FakeGitHub) CreateDeployment

func (fake *FakeGitHub) CreateDeployment(request *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) CreateDeploymentReturns

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

func (*FakeGitHub) CreateDeploymentStatus

func (fake *FakeGitHub) CreateDeploymentStatus(ID int64, request *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) CreateDeploymentStatusReturns

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

func (*FakeGitHub) GetDeployment

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

func (*FakeGitHub) GetDeploymentArgsForCall

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

func (*FakeGitHub) GetDeploymentCallCount

func (fake *FakeGitHub) GetDeploymentCallCount() int

func (*FakeGitHub) GetDeploymentReturns

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

func (*FakeGitHub) Invocations

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

func (*FakeGitHub) ListDeploymentStatuses

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

func (*FakeGitHub) ListDeploymentStatusesArgsForCall

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

func (*FakeGitHub) ListDeploymentStatusesCallCount

func (fake *FakeGitHub) ListDeploymentStatusesCallCount() int

func (*FakeGitHub) ListDeploymentStatusesReturns

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

func (*FakeGitHub) ListDeployments

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

func (*FakeGitHub) ListDeploymentsCallCount

func (fake *FakeGitHub) ListDeploymentsCallCount() int

func (*FakeGitHub) ListDeploymentsReturns

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

Jump to

Keyboard shortcuts

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