executables

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Unpack func(string)

Functions

func Build

func Build(debug bool, gitCommit, version, githubClientID, githubClientSecret string, bins ...Buildable) <-chan BuiltTuple

func Download added in v0.22.0

func Download(downloadable ...Downloadable) <-chan PackableTuple

func ExtractTarGcz added in v0.22.0

func ExtractTarGcz(packables <-chan PackableTuple, do func(header *tar.Header, tarReader *tar.Reader, err error) (bool, error)) (err error)

func ExtractTarGczFile added in v0.22.0

func ExtractTarGczFile(packables <-chan PackableTuple, file string) <-chan PackableTuple

func PackableBuilds added in v0.22.0

func PackableBuilds(builds <-chan BuiltTuple) <-chan PackableTuple

func PackableFiles added in v1.3.0

func PackableFiles(paths <-chan string) <-chan PackableTuple

func Populate

func Populate()

func PreBuild

func PreBuild(packables <-chan PackableTuple) (err error)

func PreBuilt

func PreBuilt(name string) []byte

func ReaderNoopCloser added in v0.22.0

func ReaderNoopCloser(reader io.Reader) io.ReadCloser

Types

type Buildable added in v0.22.0

type Buildable struct {
	MainDir string
	OutDir  string
	Env     map[string]string
}

type BuiltTuple

type BuiltTuple func() (bin Buildable, err error)

type Downloadable added in v0.22.0

type Downloadable struct {
	Key    string
	URL    string
	Client *http.Client
}

type PackableTuple added in v0.22.0

type PackableTuple func() (*packable, error)

func NewPackableTuple added in v0.22.0

func NewPackableTuple(key string, data io.ReadCloser) PackableTuple

Jump to

Keyboard shortcuts

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