githubclient

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct {
	Timestamp librepo.Timestamp
	// contains filtered or unexported fields
}

func New

func New(timestamp librepo.Timestamp, client *github.Client) *Impl

func (*Impl) ConcludeCheckRun

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

func (*Impl) CreateInstallationToken added in v0.52.0

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

func (*Impl) GetUser added in v0.55.0

func (r *Impl) GetUser(ctx context.Context, username string) (*github.User, error)

func (*Impl) StartCheckRun

func (r *Impl) 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