config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigPath = ".stifile"

DefaultConfigPath specifies the default location of the STI config file

Variables

This section is empty.

Functions

func Restore

func Restore(req *api.Request, cmd *cobra.Command)

Restore loads the arguments from disk and prefills the Request

func Save

func Save(req *api.Request, cmd *cobra.Command)

Save persists the STI command line arguments into disk

Types

type Config

type Config struct {
	Source    string            `json:"source" yaml:"source"`
	BaseImage string            `json:"baseImage" yaml:"baseImage"`
	Tag       string            `json:"tag" yaml:"tag"`
	Flags     map[string]string `json:"flags,omitempty" yaml:"flags,omitempty"`
}

Config represents a basic serialization for the STI build options

Jump to

Keyboard shortcuts

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