Documentation
Overview ¶
Package config holds all specified configuration information aggregated from all possible inputs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Username string Password string Environments map[string]Environment Port int }
Config is a representation of a config yaml. It can contain multiple Environments.
type Environment ¶
type Environment struct { Name string Domain string Foundations []string `yaml:",flow"` Authenticate bool SkipSSL bool `yaml:"skip_ssl"` Instances uint16 }
Environment is representation of a single environment configuration.
type EnvironmentsNotSpecifiedError ¶
type EnvironmentsNotSpecifiedError struct{}
func (EnvironmentsNotSpecifiedError) Error ¶
func (e EnvironmentsNotSpecifiedError) Error() string
type MissingParameterError ¶
type MissingParameterError struct{}
func (MissingParameterError) Error ¶
func (e MissingParameterError) Error() string
type ParseYamlError ¶
type ParseYamlError struct {
Err error
}
func (ParseYamlError) Error ¶
func (e ParseYamlError) Error() string