dockerbuilder

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 14 Imported by: 2

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