pipelines

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 13 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 {
	Options cbev1.Options
}

func (*Env) MutatesConfig

func (*Env) MutatesConfig() bool

func (*Env) MutatesFS

func (*Env) MutatesFS() bool

func (*Env) Name

func (*Env) Name() string

func (*Env) Run

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

type File

type File struct {
	Options cbev1.Options
}

func (*File) MutatesConfig

func (*File) MutatesConfig() bool

func (*File) MutatesFS

func (*File) MutatesFS() bool

func (*File) Name

func (*File) Name() string

func (*File) Run

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

type PipelineStatement

type PipelineStatement interface {
	Run(ctx *BuildContext) error
	Name() string
	MutatesConfig() bool
	MutatesFS() bool
}

func Find

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

type StatementFinder

type StatementFinder = func(name string, options cbev1.Options) PipelineStatement
type SymbolicLink struct {
	Options cbev1.Options
}

func (*SymbolicLink) MutatesConfig

func (*SymbolicLink) MutatesConfig() bool

func (*SymbolicLink) MutatesFS

func (*SymbolicLink) MutatesFS() bool

func (*SymbolicLink) Name

func (*SymbolicLink) Name() string

func (*SymbolicLink) Run

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

Jump to

Keyboard shortcuts

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