dist

package
v0.0.0-...-abeb386 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2016 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArtifactPath

func ArtifactPath(buildSpec params.ProductBuildSpec, distCfg params.Dist) string

func Command

func Command() cli.Command

func Products

func Products(products []string, cfg params.Project, forceBuild bool, wd string, stdout io.Writer) error

func Run

func Run(buildSpecWithDeps params.ProductBuildSpecWithDeps, stdout io.Writer) error

Run produces a directory and artifact (tgz or rpm) for the specified product using the specified build specification. The binaries for the distribution must already exist in the expected locations. The distribution directory and artifact are written to the directory specified by "buildSpecWithDeps.Spec.DistCfgs.*.OutputDir".

Types

type Packager

type Packager interface {
	Package() error
}

Jump to

Keyboard shortcuts

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