service

package
v0.0.0-...-1589fda Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	FetchChan chan bool
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, client *github.Client, logger *log.Logger, homeDir string, org string, repo string, prNum int) (*Service, error)

func (*Service) CheckRuns

func (s *Service) CheckRuns(ref ...string) (*github.ListCheckRunsResults, error)

func (*Service) Commits

func (s *Service) Commits() ([]*github.RepositoryCommit, error)

func (*Service) HasDataFor

func (s *Service) HasDataFor(run *github.CheckRun) bool

func (*Service) LogPath

func (s *Service) LogPath(checkRun *github.CheckRun) string

func (*Service) Logs

func (s *Service) Logs(checkRun *github.CheckRun) (string, error)

Jump to

Keyboard shortcuts

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