teamstrfakes

package
v97.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOrgRepo

type FakeOrgRepo struct {
	AddTeamRepoStub func(ctx context.Context, team int, owner string, repo string, opt *github.OrganizationAddTeamRepoOptions) (*github.Response, error)

	ListTeamReposStub func(ctx context.Context, team int, opt *github.ListOptions) ([]*github.Repository, *github.Response, error)
	// contains filtered or unexported fields
}

func (*FakeOrgRepo) AddTeamRepo

func (fake *FakeOrgRepo) AddTeamRepo(ctx context.Context, team int, owner string, repo string, opt *github.OrganizationAddTeamRepoOptions) (*github.Response, error)

func (*FakeOrgRepo) AddTeamRepoArgsForCall

func (fake *FakeOrgRepo) AddTeamRepoArgsForCall(i int) (context.Context, int, string, string, *github.OrganizationAddTeamRepoOptions)

func (*FakeOrgRepo) AddTeamRepoCallCount

func (fake *FakeOrgRepo) AddTeamRepoCallCount() int

func (*FakeOrgRepo) AddTeamRepoReturns

func (fake *FakeOrgRepo) AddTeamRepoReturns(result1 *github.Response, result2 error)

func (*FakeOrgRepo) Invocations

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

func (*FakeOrgRepo) ListTeamRepos

func (fake *FakeOrgRepo) ListTeamRepos(ctx context.Context, team int, opt *github.ListOptions) ([]*github.Repository, *github.Response, error)

func (*FakeOrgRepo) ListTeamReposArgsForCall

func (fake *FakeOrgRepo) ListTeamReposArgsForCall(i int) (context.Context, int, *github.ListOptions)

func (*FakeOrgRepo) ListTeamReposCallCount

func (fake *FakeOrgRepo) ListTeamReposCallCount() int

func (*FakeOrgRepo) ListTeamReposReturns

func (fake *FakeOrgRepo) ListTeamReposReturns(result1 []*github.Repository, result2 *github.Response, result3 error)

type FakeRepoRepo

type FakeRepoRepo struct {
	ListByOrgStub func(ctx context.Context, org string, opt *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
	// contains filtered or unexported fields
}

func (*FakeRepoRepo) Invocations

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

func (*FakeRepoRepo) ListByOrg

func (*FakeRepoRepo) ListByOrgArgsForCall

func (fake *FakeRepoRepo) ListByOrgArgsForCall(i int) (context.Context, string, *github.RepositoryListByOrgOptions)

func (*FakeRepoRepo) ListByOrgCallCount

func (fake *FakeRepoRepo) ListByOrgCallCount() int

func (*FakeRepoRepo) ListByOrgReturns

func (fake *FakeRepoRepo) ListByOrgReturns(result1 []*github.Repository, result2 *github.Response, result3 error)

Jump to

Keyboard shortcuts

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