plan

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionSelector = cue.Str("actions")
)

Functions

func LoadFile

func LoadFile(filePath string) cue.Value

Types

type Config

type Config struct {
	Args   []string
	With   []string
	Target string
	DryRun bool
}

type Plan

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

func Load

func Load(ctx context.Context, cfg Config) (*Plan, error)

func NewPlan added in v0.8.0

func NewPlan(v cue.Value) *Plan

func (*Plan) Do

func (p *Plan) Do(ctx context.Context, path cue.Path) error

type Runner

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

func NewRunner

func NewRunner(target cue.Path) *Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, src cue.Value) error

context

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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