Documentation
¶
Index ¶
- Constants
- func LoadRootLabels(workdir string, engineName string)
- type CustomName
- type Label
- type Labels
- type Path
- func (g Path) Add(pipeline Pipeline) Path
- func (g Path) Copy() Path
- func (g Path) ID() string
- func (g Path) LLBOpt() llb.ConstraintsOpt
- func (g Path) Name() string
- func (g Path) ProgressGroup() *pb.ProgressGroup
- func (g Path) RecorderGroup(rec *progrock.Recorder) *progrock.Recorder
- func (g Path) String() string
- type Pipeline
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 ¶
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 LoadGitLabels ¶ added in v0.5.1
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
func (Path) RecorderGroup ¶ added in v0.5.2
RecorderGroup converts the path to a Progrock recorder for the group.
Click to show internal directories.
Click to hide internal directories.