Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServer ¶
func CreateServer(defaults *ServerDefaults) (*http.Server, error)
Types ¶
type Configuration ¶
type Configuration struct { // ServerDefaults DockerImage string MaxCPU string MaxMem string PlatformUrl string // mandatory ContainerPort string `json:"xliic.com/container-port"` ProtectionToken string `json:"xliic.com/protection-token"` TargetUrl string `json:"xliic.com/target-url"` ServerName string `json:"xliic.com/server-name"` // mandatory if SSL is enabled TlsSecretName string `json:"xliic.com/tls-secret-name"` // optional HttpOnly string `json:"xliic.com/http-only"` EnvConfigMap string `json:"xliic.com/env-configmap"` Debug string `json:"xliic.com/debug"` LogToVolume string `json:"xliic.com/log-to-volume"` ConfVolume string `json:"xliic.com/conf-volume"` InjectSecretEnvJwk string `json:"xliic.com/inject-secret-env-jwk"` // later filled by readConfiguration() InjectedSecrets []InjectedSecret }
type InjectedSecret ¶
Click to show internal directories.
Click to hide internal directories.