Documentation ¶
Index ¶
- Constants
- func AssetRootCmd(creator Creator, short string) *cobra.Command
- func NewDefaultDockerBuilder(buildArgs []string) distgo.DockerBuilder
- func NewDefaultDockerBuilderFromConfig(cfgYML []byte) (distgo.DockerBuilder, error)
- func NewDockerBuilderFactory(providedDockerBuilderCreators ...Creator) (distgo.DockerBuilderFactory, error)
- type Creator
- type CreatorFunction
- type DefaultDockerBuilderConfig
Constants ¶
View Source
const DefaultBuilderTypeName = "default"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultDockerBuilder ¶
func NewDefaultDockerBuilder(buildArgs []string) distgo.DockerBuilder
func NewDefaultDockerBuilderFromConfig ¶
func NewDefaultDockerBuilderFromConfig(cfgYML []byte) (distgo.DockerBuilder, error)
func NewDockerBuilderFactory ¶
func NewDockerBuilderFactory(providedDockerBuilderCreators ...Creator) (distgo.DockerBuilderFactory, error)
Types ¶
type Creator ¶
type Creator interface { TypeName() string Creator() CreatorFunction }
func NewCreator ¶
func NewCreator(typeName string, creatorFn CreatorFunction) Creator
type CreatorFunction ¶
type CreatorFunction func(cfgYML []byte) (distgo.DockerBuilder, error)
type DefaultDockerBuilderConfig ¶
type DefaultDockerBuilderConfig struct {
BuildArgs []string `yaml:"build-args"`
}
func (*DefaultDockerBuilderConfig) ToDockerBuilder ¶
func (cfg *DefaultDockerBuilderConfig) ToDockerBuilder() distgo.DockerBuilder
Click to show internal directories.
Click to hide internal directories.