Documentation ¶
Index ¶
- Variables
- func InitExtraConfig(dockercfg *configuration.Configuration, cfg *Configuration) error
- func TokenRealm(tokenRealmString string) (*url.URL, error)
- type Audit
- type Auth
- type Cache
- type Compatibility
- type Configuration
- type Metrics
- type Pullthrough
- type Quota
- type Requests
- type RequestsLimits
- type Server
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 ¶
func InitExtraConfig ¶
func InitExtraConfig(dockercfg *configuration.Configuration, cfg *Configuration) error
Types ¶
type Compatibility ¶
type Compatibility struct {
AcceptSchema2 bool `yaml:"acceptschema2"`
}
type Configuration ¶
type Configuration struct { Version configuration.Version `yaml:"version"` Metrics Metrics `yaml:"metrics"` Requests Requests `yaml:"requests"` KubeConfig string `yaml:"kubeconfig"` Server *Server `yaml:"server"` Auth *Auth `yaml:"auth"` Audit *Audit `yaml:"audit"` Cache *Cache `yaml:"cache"` Quota *Quota `yaml:"quota"` Pullthrough *Pullthrough `yaml:"pullthrough"` Compatibility *Compatibility `yaml:"compatibility"` }
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 Pullthrough ¶
type Requests ¶
type Requests struct { Read RequestsLimits `yaml:"read"` Write RequestsLimits `yaml:"write"` }
type RequestsLimits ¶
Click to show internal directories.
Click to hide internal directories.