build

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdBuild

func NewCmdBuild(
	out io.Writer, fs fs.FileSystem,
	rf *resmap.Factory,
	ptf transformer.Factory) *cobra.Command

NewCmdBuild creates a new build command.

Types

type Options

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

Options contain the options for running a build

func NewOptions

func NewOptions(p, o string) *Options

NewOptions creates a Options object

func (*Options) RunBuild

func (o *Options) RunBuild(
	out io.Writer, fSys fs.FileSystem,
	rf *resmap.Factory, ptf transformer.Factory) error

RunBuild runs build command.

func (*Options) Validate

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

Validate validates build command.

Jump to

Keyboard shortcuts

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