githubmock

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 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 GitHubMock

type GitHubMock struct{}

func (*GitHubMock) ConcludeCheckRun

func (this *GitHubMock) ConcludeCheckRun(ctx context.Context, owner, repoName, checkName string, checkRunId int64, conclusion repository.CheckRunConclusion, details github.CheckRunOutput, actions ...*github.CheckRunAction) error

func (*GitHubMock) CreateInstallationToken

func (this *GitHubMock) CreateInstallationToken(ctx context.Context, installationId int64) (*github.InstallationToken, *github.Response, error)

func (*GitHubMock) GetUser added in v0.60.0

func (this *GitHubMock) GetUser(ctx context.Context, username string) (*github.User, error)

func (*GitHubMock) StartCheckRun

func (this *GitHubMock) StartCheckRun(ctx context.Context, owner, repoName, checkName, sha string) (int64, error)

Jump to

Keyboard shortcuts

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