Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRootLabels ¶
LoadRootLabels loads default Pipeline labels from a workdir.
Types ¶
type CustomName ¶
type CustomName struct { Name string `json:"name,omitempty"` Pipeline Path `json:"pipeline,omitempty"` Internal bool `json:"internal,omitempty"` }
func (CustomName) LLBOpt ¶
func (c CustomName) LLBOpt() llb.ConstraintsOpt
func (CustomName) String ¶
func (c CustomName) String() string
type GitHubEventPayload ¶
type GitHubEventPayload struct { // set on many events Action *string `json:"action,omitempty"` // set on push events After *string `json:"after,omitempty"` // set on check_suite events CheckSuite *github.CheckSuite `json:"check_suite,omitempty"` // set on check_run events CheckRun *github.CheckRun `json:"check_run,omitempty"` // set on pull_request events PullRequest *github.PullRequest `json:"pull_request,omitempty"` // set on all events Repo *github.Repository `json:"repository,omitempty"` Sender *github.User `json:"sender,omitempty"` Installation *github.Installation `json:"installation,omitempty"` }
type Label ¶
func RootLabels ¶
func RootLabels() []Label
RootLabels returns default labels for Pipelines.
`LoadRootLabels` *must* be called before invoking this function. `RootLabels` will wait until `LoadRootLabels` has completed.
type Path ¶
type Path []Pipeline
func (Path) LLBOpt ¶
func (g Path) LLBOpt() llb.ConstraintsOpt
func (Path) ProgressGroup ¶
func (g Path) ProgressGroup() *pb.ProgressGroup
Click to show internal directories.
Click to hide internal directories.