Documentation ¶
Index ¶
Constants ¶
View Source
const GroupProjectType = "grouping"
View Source
const SimpleProjectType = "simple"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Token AuthSecret `yaml:"token"` OAuth *OAuth `yaml:"oAuth,omitempty"` }
type AuthSecret ¶
type AuthSecret struct { Type SecretType `yaml:"type"` Name string `yaml:"name"` }
AuthSecret represents a user-defined client id or client secret. It has a [Type] which is TypeEnvironment (default). Secrets must never be provided as plain text, but always loaded from somewhere else. Currently, loading is only allowed from environment variables.
[Name] contains the environment-variable to resolve the authSecret.
This struct is meant to be reused for fields that require the same behavior.
type Environment ¶
type Group ¶
type Group struct { Name string `yaml:"name"` Environments []Environment `yaml:"environments"` }
type OAuth ¶
type OAuth struct { ClientID AuthSecret `yaml:"clientId"` ClientSecret AuthSecret `yaml:"clientSecret"` TokenEndpoint *Url `yaml:"tokenEndpoint,omitempty"` }
Click to show internal directories.
Click to hide internal directories.