build

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KclFile = "kcl.yaml"
)
View Source
const Stdout = "stdout"

Variables

This section is empty.

Functions

func Intent

func Intent(o *builders.Options, p *v1.Project, s *v1.Stack) (*v1.Intent, error)

func IntentFromFile

func IntentFromFile(filePath string) (*v1.Intent, error)

func IntentWithSpinner

func IntentWithSpinner(o *builders.Options, project *v1.Project, stack *v1.Stack) (*v1.Intent, error)

func NewCmdBuild

func NewCmdBuild() *cobra.Command

Types

type Flags

type Flags struct {
	Output    string
	WorkDir   string
	Settings  []string
	Arguments map[string]string
	NoStyle   bool
}

type Options

type Options struct {
	IsKclPkg  bool
	Filenames []string
	Flags
}

func NewBuildOptions

func NewBuildOptions() *Options

func (*Options) AddBuildFlags

func (o *Options) AddBuildFlags(cmd *cobra.Command)

func (*Options) Complete

func (o *Options) Complete(args []string) error

func (*Options) PreSet

func (o *Options) PreSet(preCheck func(cur string) bool) error

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate() error

Directories

Path Synopsis
Package intent contains functions to build the Intent in operation commands.
Package intent contains functions to build the Intent in operation commands.
crd
kcl

Jump to

Keyboard shortcuts

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