Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPortRangeMin = 20000 DefaultPortRangeMax = 30000 )
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(conf RpaasConfig)
Types ¶
type RpaasConfig ¶
type RpaasConfig struct { ServiceName string `json:"service-name"` APIUsername string `json:"api-username"` APIPassword string `json:"api-password"` TLSCertificate string `json:"tls-certificate"` TLSKey string `json:"tls-key"` DefaultAffinity *corev1.Affinity `json:"default-affinity"` TeamAffinity map[string]corev1.Affinity `json:"team-affinity"` SyncInterval time.Duration `json:"sync-interval"` PortRangeMin int32 `json:"port-range-min"` PortRangeMax int32 `json:"port-range-max"` }
func Get ¶
func Get() RpaasConfig
Click to show internal directories.
Click to hide internal directories.