config

package
v9.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 2 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 {
	PidFile            string `yaml:"PidFile" validate:"nonzero"`
	Port               uint   `yaml:"Port"`
	Username           string `yaml:"Username"`
	Password           string `yaml:"Password"`
	PersistentDiskPath string `yaml:"PersistentDiskPath"`
	EphemeralDiskPath  string `yaml:"EphemeralDiskPath"`
}

func LoadFromFile

func LoadFromFile(filepath string) (*Config, error)

func (Config) GetEphemeralDiskPath

func (c Config) GetEphemeralDiskPath() string

func (Config) GetPersistentDiskPath

func (c Config) GetPersistentDiskPath() string

Jump to

Keyboard shortcuts

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