Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(conf RpaasConfig)
Types ¶
type ClusterConfig ¶
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"` LoadBalancerNameLabelKey string `json:"loadbalancer-name-label-key"` WebSocketHandshakeTimeout time.Duration `json:"websocket-handshake-timeout"` WebSocketReadBufferSize int `json:"websocket-read-buffer-size"` WebSocketWriteBufferSize int `json:"websocket-write-buffer-size"` WebSocketPingInterval time.Duration `json:"websocket-ping-interval"` WebSocketMaxIdleTime time.Duration `json:"websocket-max-idle-time"` WebSocketWriteWait time.Duration `json:"websocket-write-wait"` WebSocketAllowedOrigins []string `json:"websocket-allowed-origins"` SuppressPrivateKeyOnCertificatesList bool `json:"suppress-private-key-on-certificates-list"` MultiCluster bool `json:"multi-cluster"` Clusters []ClusterConfig `json:"clusters"` }
func Get ¶
func Get() RpaasConfig
Click to show internal directories.
Click to hide internal directories.