mocks

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

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChecksService

type ChecksService struct {
	mock.Mock
}

ChecksService is an autogenerated mock type for the ChecksService type

func (*ChecksService) ListCheckRunsForRef

func (_m *ChecksService) ListCheckRunsForRef(ctx context.Context, owner string, repo string, ref string, opt *github.ListCheckRunsOptions) (*github.ListCheckRunsResults, *github.Response, error)

ListCheckRunsForRef provides a mock function with given fields: ctx, owner, repo, ref, opt

type GitService

type GitService struct {
	mock.Mock
}

GitService is an autogenerated mock type for the GitService type

func (*GitService) GetCommit

func (_m *GitService) GetCommit(ctx context.Context, owner string, repo string, sha string) (*github.Commit, *github.Response, error)

GetCommit provides a mock function with given fields: ctx, owner, repo, sha

type PullRequestService

type PullRequestService struct {
	mock.Mock
}

PullRequestService is an autogenerated mock type for the PullRequestService type

func (*PullRequestService) Get

func (_m *PullRequestService) Get(ctx context.Context, owner string, repo string, number int) (*github.PullRequest, *github.Response, error)

Get provides a mock function with given fields: ctx, owner, repo, number

func (*PullRequestService) List

List provides a mock function with given fields: ctx, owner, repo, opt

type RepositoriesService

type RepositoriesService struct {
	mock.Mock
}

RepositoriesService is an autogenerated mock type for the RepositoriesService type

func (*RepositoriesService) ListStatuses

func (_m *RepositoriesService) ListStatuses(ctx context.Context, owner string, repo string, ref string, opt *github.ListOptions) ([]*github.RepoStatus, *github.Response, error)

ListStatuses provides a mock function with given fields: ctx, owner, repo, ref, opt

type SearchService

type SearchService struct {
	mock.Mock
}

SearchService is an autogenerated mock type for the SearchService type

func (*SearchService) Issues

Issues provides a mock function with given fields: ctx, query, opt

Jump to

Keyboard shortcuts

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