Documentation
¶
Index ¶
Constants ¶
View Source
const ServiceHostnameLabel = "dagger.io/service.hostname"
ServiceHostnameLabel is annotated on all services started by Dagger.
Variables ¶
This section is empty.
Functions ¶
func LoadRootLabels ¶
func LoadRootLabels(workdir string)
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 Label ¶
func LoadGitHubLabels ¶ added in v0.5.0
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 Labels ¶ added in v0.5.0
type Labels []Label
func (*Labels) AppendAnonymousGitLabels ¶ added in v0.5.0
func (*Labels) AppendCILabel ¶ added in v0.5.0
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.