config

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 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 prefill 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