Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration interface { JXConfig LogConfig // String returns a string representation of the configuration. String() string }
Configuration declares the configuration properties of this app.
func NewConfiguration ¶
func NewConfiguration() (Configuration, error)
NewConfiguration creates a configuration instance.
type EnvConfig ¶
type EnvConfig struct {
// contains filtered or unexported fields
}
EnvConfig is a Configuration implementation which reads the configuration from the process environment.
type JXConfig ¶
type JXConfig interface { // Namespace returns the JX namespace to watch. Namespace() string }
JXConfig defines JX specific configuration.
type LogConfig ¶
type LogConfig interface { // Level returns the logging level. Level() string }
LogConfig defines the logging configuration.
type Setting ¶
type Setting struct {
// contains filtered or unexported fields
}
Setting is an element in the proxy configuration. It contains the environment variable from which the setting is retrieved, its default value as well as a list of validations which the value of this setting needs to pass.
Click to show internal directories.
Click to hide internal directories.