dockerbuilder

package
v1.0.0-rc15 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetRootCmd

func AssetRootCmd(creator Creator, upgradeConfigFn pluginapi.UpgradeConfigFn, short string) *cobra.Command

Types

type Creator

type Creator interface {
	TypeName() string
	Creator() CreatorFunction
}

func AssetDockerBuilderCreators

func AssetDockerBuilderCreators(assetPaths ...string) ([]Creator, []distgo.ConfigUpgrader, error)

func NewCreator

func NewCreator(typeName string, creatorFn CreatorFunction) Creator

type CreatorFunction

type CreatorFunction func(cfgYML []byte) (distgo.DockerBuilder, error)

Directories

Path Synopsis
integration_test
Package integration contains the integration tests for distgo.
Package integration contains the integration tests for distgo.

Jump to

Keyboard shortcuts

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