env

package
v0.0.0-...-55bacb3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: GPL-3.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 {
	Schema          string
	Workdir         string
	Device          string
	GUID            string
	Interface       string
	Service         string
	Role            string
	Adapter         string
	ForwardingState string
	ProductImport   bool
	ProductInstall  bool
}

Config has a store environment variables.

func NewConfig

func NewConfig() *Config

NewConfig creates a default Configs configuration.

func (*Config) Read

func (c *Config) Read(path string) error

Read reads the configs from json file.

func (*Config) Write

func (c *Config) Write(path string) error

Write saves the configs to json file.

Jump to

Keyboard shortcuts

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