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" DigDirCommonClientName = "digdir.common.client-name" DigDirCommonClientURI = "digdir.common.client-uri" DigDirCommonAccessTokenLifetime = "digdir.common.access-token-lifetime" DigDirCommonSessionLifetime = "digdir.common.session-lifetime" DigDirIDportenClientID = "digdir.idporten.client-id" DigDirIDportenCertChain = "digdir.idporten.cert-chain" DigDirIDportenKmsKeyPath = "digdir.idporten.kms.key-path" DigDirIDportenScopes = "digdir.idporten.scopes" DigDirIDPortenWellKnownURL = "digdir.idporten.well-known-url" DigDirMaskinportenClientID = "digdir.maskinporten.client-id" DigDirMaskinportenCertChain = "digdir.maskinporten.cert-chain" DigDirMaskinportenDefaultClientScope = "digdir.maskinporten.default.client-scope" DigDirMaskinportenDefaultScopePrefix = "digdir.maskinporten.default.scope-prefix" DigDirMaskinportenKmsKeyPath = "digdir.maskinporten.kms.key-path" DigDirMaskinportenScopes = "digdir.maskinporten.scopes" 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 LeaderElection ¶
type Maskinporten ¶
type Maskinporten struct { CertChain string `json:"cert-chain"` ClientID string `json:"client-id"` Default MaskinportenDefault `json:"default"` KMS KMS `json:"kms"` Scopes string `json:"scopes"` 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.