runner

package
v0.0.9 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: 29 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Factory        util.Factory
	PackageName    string
	LocalInventory *unstructured.Unstructured
	Input          string // used for none, file or dir
	InputData      store.Storer[[]byte]
	Output         string
	OutputData     store.Storer[[]byte]
	Path           string               // path of the kform files
	ResourceData   store.Storer[[]byte] // this providers resource externally w/o having to parse from a filepath
	DryRun         bool
	Destroy        bool
	AutoApprove    bool
}

type KformConfig

type KformConfig struct {
	Kind         fns.DagRun
	PkgName      string
	Path         string
	ResourceData store.Storer[[]byte]
	DryRun       bool
	TmpDir       *fsys.Directory
	Destroy      bool
}

type Runner

type Runner interface {
	Run(ctx context.Context) error
}

func NewKformRunner

func NewKformRunner(cfg *Config) Runner

Jump to

Keyboard shortcuts

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