configuration

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Buildfile           string
	Workdir             string
	NoCache             bool
	SuppressOutput      bool
	RmTmpContainers     bool
	ForceRmTmpContainer bool
	UniqueID            string
	Logger              logging.Logger
	DockerHost          string
	DockerCert          string
	EnvVars             TupleArray
	BuildArgs           TupleArray
	KeepSteps           bool
	NoSquash            bool
	NoPruneRmImages     bool
	FroceRmImages       bool
	ApiPort             int
	ApiBinding          string
	SecretService       bool
	SecretProviders     string
}

Config stores application configurations

func CreateConfig

func CreateConfig() Config

CreateConfig creates a new configuration object

type TupleArray

type TupleArray []TupleItem

func (*TupleArray) Find

func (i *TupleArray) Find(key string) string

func (*TupleArray) Set

func (i *TupleArray) Set(value string) error

func (*TupleArray) String

func (i *TupleArray) String() string

type TupleItem

type TupleItem struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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