Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(conf interface{})
Types ¶
type AuditlogConfig ¶
type AuditlogConfig struct { TokenURL string `envconfig:"AUDITLOG_TOKEN_URL"` TokenPath string `envconfig:"AUDITLOG_TOKEN_PATH"` ClientID string `envconfig:"AUDITLOG_CLIENT_ID"` X509Cert string `envconfig:"AUDITLOG_X509_CERT"` X509Key string `envconfig:"AUDITLOG_X509_KEY"` ManagementURL string `envconfig:"AUDITLOG_MANAGEMENT_URL"` ManagementAPIPath string `envconfig:"AUDITLOG_MANAGEMENT_API_PATH"` SkipSSLValidation bool `envconfig:"AUDITLOG_SKIP_SSL_VALIDATION,default=false"` }
type ConnectorTestConfig ¶
type ConnectorTestConfig struct { Tenant string `envconfig:"default=3e64ebae-38b5-46a0-b1ed-9ccee153a0ae"` AppsForRuntimeTenant string `envconfig:"default=2263cc13-5698-4a2d-9257-e8e76b543e33"` ConnectorURL string `envconfig:"default=http://compass-connector:3000/graphql"` DirectorExternalCertSecuredURL string SkipSSLValidation bool `envconfig:"default=false"` DirectorMtlsURL string GatewayOauth string HydratorURL string `envconfig:"default=http://compass-hydrator:3000"` CertificateDataHeader string `envconfig:"default=Certificate-Data"` RevocationConfigMapName string `envconfig:"default=revocations-config"` RevocationConfigMapNamespace string `envconfig:"default=compass-system"` ApplicationTypeLabelKey string `envconfig:"APP_APPLICATION_TYPE_LABEL_KEY,default=applicationType"` CertLoaderConfig credloader.CertConfig ExternalClientCertSecretName string `envconfig:"APP_EXTERNAL_CLIENT_CERT_SECRET_NAME"` }
type ConsumerClaimsKeysConfig ¶
type ConsumerClaimsKeysConfig struct { ClientIDKey string `envconfig:"APP_CONSUMER_CLAIMS_CLIENT_ID_KEY"` TenantIDKey string `envconfig:"APP_CONSUMER_CLAIMS_TENANT_ID_KEY"` UserNameKey string `envconfig:"APP_CONSUMER_CLAIMS_USER_NAME_KEY"` SubdomainKey string `envconfig:"APP_CONSUMER_CLAIMS_SUBDOMAIN_KEY"` }
ConsumerClaimsKeysConfig holds customer claims keys
type IstioConfig ¶
type IstioConfig struct { CompassGatewayURL string `envconfig:"default=compass-gateway.kyma.local"` CompassMTLSGatewayURL string `envconfig:"default=compass-gateway-mtls.kyma.local"` DirectorExternalCertSecuredURL string `envconfig:"default=http://compass-director-external-mtls.compass-system.svc.cluster.local:3000/graphql"` RequestPayloadLimit int `envconfig:"default=2097152"` //2 MB SkipSSLValidation bool `envconfig:"default=false"` CertLoaderConfig credloader.CertConfig DefaultTenant string ExternalClientCertSecretName string `envconfig:"APP_EXTERNAL_CLIENT_CERT_SECRET_NAME"` }
type PairingAdapterConfig ¶
type PairingAdapterConfig struct { FQDNPairingAdapterURL string TestTenant string TestClientUser string TestApplicationID string TestApplicationName string ClientIDHeader string `envconfig:"APP_CLIENT_ID_HTTP_HEADER"` DirectorExternalCertSecuredURL string CertLoaderConfig credloader.CertConfig SkipSSLValidation bool `envconfig:"default=true"` IsLocalEnv bool TemplateName string ConfigMapName string `envconfig:"optional"` ConfigMapNamespace string `envconfig:"optional"` ConfigMapKey string `envconfig:"optional"` IntegrationSystemID string `envconfig:"optional"` LocalAdapterFQDN string `envconfig:"optional"` SelfRegDistinguishLabelKey string SelfRegDistinguishLabelValue string SelfRegRegion string SelfRegLabelKey string ExternalClientCertSecretName string `envconfig:"APP_EXTERNAL_CLIENT_CERT_SECRET_NAME"` GatewayOauth string `envconfig:"APP_GATEWAY_OAUTH"` }
type ProviderDestinationConfig ¶
type ProviderDestinationConfig struct { ClientID string `envconfig:"APP_PROVIDER_DESTINATION_CLIENT_ID"` ClientSecret string `envconfig:"APP_PROVIDER_DESTINATION_CLIENT_SECRET"` TokenURL string `envconfig:"APP_PROVIDER_DESTINATION_TOKEN_URL"` TokenPath string `envconfig:"APP_PROVIDER_DESTINATION_TOKEN_PATH"` ServiceURL string `envconfig:"APP_PROVIDER_DESTINATION_SERVICE_URL"` Dependency string `envconfig:"APP_PROVIDER_DESTINATION_DEPENDENCY"` }
ProviderDestinationConfig holds a provider's destination service configuration
type SystemBrokerTestConfig ¶
type SystemBrokerTestConfig struct { Tenant string SystemBrokerURL string DirectorExternalCertSecuredURL string ConnectorURL string ORDServiceURL string SkipSSLValidation bool CertLoaderConfig credloader.CertConfig ExternalClientCertSecretName string `envconfig:"APP_EXTERNAL_CLIENT_CERT_SECRET_NAME"` }
Click to show internal directories.
Click to hide internal directories.