Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CurrentVersion is the most recent Version that can be parsed. CurrentVersion = configuration.MajorMinorVersion(1, 0) ErrUnsupportedVersion = errors.New("Unsupported openshift configuration version") )
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Version configuration.Version `yaml:"version"` Metrics Metrics `yaml:"metrics"` Requests Requests `yaml:"requests"` }
func Parse ¶
func Parse(rd io.Reader) (*configuration.Configuration, *Configuration, error)
Parse parses an input configuration and returns docker configuration structure and openshift specific configuration. Environment variables may be used to override configuration parameters.
type Requests ¶
type Requests struct { Read RequestsLimits Write RequestsLimits }
Click to show internal directories.
Click to hide internal directories.