Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v1.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DefaultConfigPath = ".s2ifile"

DefaultConfigPath specifies the default location of the S2I config file

Variables

This section is empty.

Functions

func Restore

func Restore(config *api.Config, cmd *cobra.Command)

Restore loads the arguments from disk and prefills the Request

func Save

func Save(config *api.Config, cmd *cobra.Command)

Save persists the STI command line arguments into disk

Types

type Config

type Config struct {
	Source       string            `json:"source" yaml:"source"`
	BuilderImage string            `json:"builderImage" yaml:"builderImage"`
	Tag          string            `json:"tag,omitempty" yaml:"tag,omitempty"`
	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