artifacts

package
v0.0.0-...-862138a Latest Latest
Warning

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

Go to latest
Published: May 29, 2017 License: Apache-2.0 Imports: 12 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]OrderedStringSliceMap, 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]OrderedStringSliceMap, error)

DistArtifacts returns a map from product name to OrderedStringSliceMap, where the values of the OrderedStringSliceMap contains the mapping from the String representation of the index of the dist type ("0", "1", etc.) to the paths for the artifact for that type.

Types

type BuildArtifactsParams

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

type OrderedStringSliceMap

type OrderedStringSliceMap interface {
	Keys() []string
	Get(k string) []string
	Add(k, v string)
	PutValues(k string, v []string)
	Remove(k string) bool
}

OrderedStringSliceMap represents an ordered map with strings as the keys and a string slice as the values.

Jump to

Keyboard shortcuts

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