build

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2019 License: MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Client      *client.Client
	ContextPath string
	RootConfig  *pkgcfg.CarbonConfig
	DockerTags  []string

	DockerBuildArgs   map[string]*string
	DockerLabels      map[string]string
	DockerNetworkMode string
}

func NewOptions

func NewOptions(cfg *pkgcfg.CarbonConfig, ctxPath string) (*Options, error)

func (*Options) AddCarbonMetadata

func (self *Options) AddCarbonMetadata(meta map[string]string)

func (*Options) ExtendTags

func (self *Options) ExtendTags(cliTags []string, prefix string, suffix string) error

func (*Options) Push

func (self *Options) Push() error

func (*Options) Remove

func (self *Options) Remove() error

Jump to

Keyboard shortcuts

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