build

package
v0.0.0-...-6207adf Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cobra.Command

func NewCobraCmd

func NewCobraCmd(build *BuildCmd) *cobra.Command

Types

type BuildCmd

type BuildCmd struct {
	Io                    *iostreams.IOStreams
	WriteFile             func(filename string, data []byte, perm fs.FileMode) error
	CommandRunnerStream   func(out io.Writer, cmd string, envvars []string) error
	CommandRunInteractive func(f *cmdutil.Factory, comm string) error
	CommandRunner         func(f *cmdutil.Factory, comm string, envVars []string) (string, error)
	FileReader            func(path string) ([]byte, error)
	GetAzionJsonContent   func(pathConf string) (*contracts.AzionApplicationOptions, error)
	WriteAzionJsonContent func(conf *contracts.AzionApplicationOptions, confPath string) error
	EnvLoader             func(path string) ([]string, error)
	Stat                  func(path string) (fs.FileInfo, error)
	GetWorkDir            func() (string, error)
	// contains filtered or unexported fields
}

func NewBuildCmd

func NewBuildCmd(f *cmdutil.Factory) *BuildCmd

func (*BuildCmd) ExternalRun

func (b *BuildCmd) ExternalRun(fields *contracts.BuildInfo, confPath string, msgs *[]string) error

Jump to

Keyboard shortcuts

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