Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevel = "log-level" MetricsAddress = "metrics-address" ClusterName = "cluster-name" DevelopmentMode = "development-mode" LeaderElectionEnabled = "leader-election.enabled" LeaderElectionNamespace = "leader-election.namespace" DigDirAdminBaseURL = "digdir.admin.base-url" DigDirAdminClientID = "digdir.admin.client-id" DigDirAdminCertChain = "digdir.admin.cert-chain" DigDirAdminKmsKeyPath = "digdir.admin.kms-key-path" DigDirAdminScopes = "digdir.admin.scopes" DigDirCommonClientName = "digdir.common.client-name" DigDirCommonClientURI = "digdir.common.client-uri" DigDirCommonAccessTokenLifetime = "digdir.common.access-token-lifetime" DigDirCommonSessionLifetime = "digdir.common.session-lifetime" DigDirIDPortenWellKnownURL = "digdir.idporten.well-known-url" DigDirMaskinportenDefaultClientScope = "digdir.maskinporten.default.client-scope" DigDirMaskinportenDefaultScopePrefix = "digdir.maskinporten.default.scope-prefix" DigDirMaskinportenWellKnownURL = "digdir.maskinporten.well-known-url" FeaturesMaskinporten = "features.maskinporten" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MetricsAddr string `json:"metrics-address"` ClusterName string `json:"cluster-name"` DevelopmentMode bool `json:"development-mode"` DigDir DigDir `json:"digdir"` Features Features `json:"features"` LeaderElection LeaderElection `json:"leader-election"` LogLevel string `json:"log-level"` }
type DigDir ¶
type DigDir struct { Admin Admin `json:"admin"` IDPorten IDPorten `json:"idporten"` Maskinporten Maskinporten `json:"maskinporten"` Common DigDirCommon `json:"common"` }
type DigDirCommon ¶
type IDPorten ¶
type IDPorten struct { WellKnownURL string `json:"well-known-url"` Metadata oauth.MetadataOpenID }
type LeaderElection ¶
type Maskinporten ¶
type Maskinporten struct { Default MaskinportenDefault `json:"default"` WellKnownURL string `json:"well-known-url"` Metadata oauth.MetadataOAuth DelegationSources map[string]types.DelegationSource }
type MaskinportenDefault ¶
Click to show internal directories.
Click to hide internal directories.