config

package
v0.0.0-...-921daf7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 4 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 {
	FileName      string
	Release       string
	Channel       string
	RemoteTestbed bool
	Update        bool
	Rollback      bool
}

Config contains the values to pass to the test bed from the host.

func NewConfig

func NewConfig(fileName, release, channel string, remoteTestbed, update, rollback bool) *Config

NewConfig is the Config constructor

func ReadConfig

func ReadConfig(fileName string) (*Config, error)

ReadConfig the config from a file

func (Config) Write

func (cfg Config) Write()

Write writes the config to a file that will be copied to the test bed.

Jump to

Keyboard shortcuts

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