status

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidCombinedStatusResponse = errors.New("github combined status response is invalid")
	ErrInvalidCheckRunResponse       = errors.New("github checkRun response is invalid")
)

Functions

func CreateValidator

func CreateValidator(c github.Client, opts ...Option) (validators.Validator, error)

Types

type Option

type Option func(s *statusValidator)

func WithGitHubOwnerAndRepo

func WithGitHubOwnerAndRepo(owner, repo string) Option

func WithGitHubRef

func WithGitHubRef(ref string) Option

func WithIgnoredJobs

func WithIgnoredJobs(names string) Option

func WithSelfJob

func WithSelfJob(name string) Option

Jump to

Keyboard shortcuts

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