pipeline

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ProgrockDescriptionLabel = "dagger.io/pipeline.description"

Variables

This section is empty.

Functions

This section is empty.

Types

type Label

type Label struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

func EngineLabel added in v0.8.0

func EngineLabel(engineName string) Label

func LoadCircleCILabels added in v0.8.5

func LoadCircleCILabels() ([]Label, error)

func LoadClientLabels added in v0.8.5

func LoadClientLabels(engineVersion string) []Label

func LoadGitHubLabels added in v0.5.0

func LoadGitHubLabels() ([]Label, error)

func LoadGitLabLabels added in v0.8.5

func LoadGitLabLabels() ([]Label, error)

func LoadGitLabels added in v0.5.1

func LoadGitLabels(workdir string) ([]Label, error)

func LoadServerLabels added in v0.8.5

func LoadServerLabels(engineVersion, os, arch string) []Label

func LoadVCSLabels added in v0.8.0

func LoadVCSLabels(workdir string) []Label

type Labels added in v0.5.0

type Labels []Label

func (*Labels) Add added in v0.5.0

func (labels *Labels) Add(name string, value string)

func (*Labels) AppendAnonymousGitLabels added in v0.5.0

func (labels *Labels) AppendAnonymousGitLabels(workdir string) *Labels

func (*Labels) AppendCILabel added in v0.5.0

func (labels *Labels) AppendCILabel() *Labels

func (*Labels) Set added in v0.5.0

func (labels *Labels) Set(s string) error

func (*Labels) String added in v0.5.0

func (labels *Labels) String() string

func (*Labels) Type added in v0.5.0

func (labels *Labels) Type() string

type Path

type Path []*Pipeline

func (Path) Add

func (g Path) Add(pipeline Pipeline) Path

func (Path) Copy

func (g Path) Copy() Path

func (Path) ID

func (g Path) ID() string

func (Path) Name

func (g Path) Name() string

func (Path) RecorderGroup added in v0.5.2

func (g Path) RecorderGroup(rec *progrock.Recorder) *progrock.Recorder

RecorderGroup converts the path to a Progrock recorder for the group.

func (Path) String

func (g Path) String() string

type Pipeline

type Pipeline struct {
	Name        string  `json:"name"`
	Description string  `json:"description,omitempty"`
	Labels      []Label `json:"labels,omitempty"`
	Weak        bool    `json:"weak,omitempty"`
}

type Pipelineable added in v0.8.0

type Pipelineable interface {
	PipelinePath() Path
}

Pipelineable is any object which can return a pipeline.Path.

Jump to

Keyboard shortcuts

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