artifacts

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildArtifacts

func BuildArtifacts(buildSpecsWithDeps []params.ProductBuildSpecWithDeps, buildParams BuildArtifactsParams) (map[string]OrderedStringMap, error)

BuildArtifacts returns a map from product name to OrderedStringMap, where the values of the OrderedStringMap contains the mapping from the OSArch to the path for the artifact for that OSArch.

func Command

func Command() cli.Command

func DistArtifacts

func DistArtifacts(buildSpecsWithDeps []params.ProductBuildSpecWithDeps, absPath bool) (map[string]OrderedStringMap, error)

DistArtifacts returns a map from product name to OrderedStringMap, where the values of the OrderedStringMap contains the mapping from the DistType to the path for the artifact for that type.

Types

type BuildArtifactsParams

type BuildArtifactsParams struct {
	AbsPath       bool
	RequiresBuild bool
	OSArchs       cmd.OSArchFilter
}

type OrderedStringMap

type OrderedStringMap interface {
	Keys() []string
	Get(k string) string
	Put(k string, v string)
	Remove(k string) bool
}

OrderedStringMap represents an ordered map with strings as the keys and values.

Jump to

Keyboard shortcuts

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