pipelines

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

View Source
const (
	StatementSymbolicLink = "link"
	StatementFile         = "file"
	StatementEnv          = "env"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildContext

type BuildContext struct {
	Context          context.Context
	WorkingDirectory string
	FS               fs.FullFS
	ConfigFile       *v1.ConfigFile
}

type Env

type Env struct {
	// contains filtered or unexported fields
}

func (*Env) Name

func (*Env) Name() string

func (*Env) Run

func (s *Env) Run(ctx *BuildContext) error

func (*Env) SetOptions added in v0.1.2

func (s *Env) SetOptions(options cbev1.Options)

type File

type File struct {
	// contains filtered or unexported fields
}

func (*File) Name

func (*File) Name() string

func (*File) Run

func (s *File) Run(ctx *BuildContext) error

func (*File) SetOptions added in v0.1.2

func (s *File) SetOptions(options cbev1.Options)

type OrderedPipelineStatement added in v0.1.2

type OrderedPipelineStatement struct {
	ID        string
	Options   cbev1.Options
	Statement PipelineStatement
	DependsOn []string
}

type PipelineStatement

type PipelineStatement interface {
	Run(ctx *BuildContext) error
	Name() string
	SetOptions(options cbev1.Options)
}

func Find

func Find(name string, options cbev1.Options) PipelineStatement

type StatementFinder

type StatementFinder = func(name string, options cbev1.Options) PipelineStatement
type SymbolicLink struct {
	// contains filtered or unexported fields
}

func (*SymbolicLink) Name

func (*SymbolicLink) Name() string

func (*SymbolicLink) Run

func (s *SymbolicLink) Run(ctx *BuildContext) error

func (*SymbolicLink) SetOptions added in v0.1.2

func (s *SymbolicLink) SetOptions(options cbev1.Options)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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