github

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTimedOut = errors.New("timed out")

Functions

func NewClient

func NewClient(token string) *client

Types

type CommitStatusesResponse

type CommitStatusesResponse []status

type ErrStepFailed

type ErrStepFailed struct {
	Step        step
	CommitURL   string
	PipelineURL string
}

func (ErrStepFailed) Error

func (e ErrStepFailed) Error() string

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(githubToken string) *Service

func (*Service) WaitForChecksToSucceed

func (s *Service) WaitForChecksToSucceed(sha string, totalTimeout time.Duration) error

Jump to

Keyboard shortcuts

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