plan

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: GPL-3.0 Imports: 14 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 (*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