Documentation
¶
Index ¶
Constants ¶
View Source
const APP_CONF_PREFIX = "AAS"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Aws struct { IdentityStoreArn string `json:"identityStoreArn"` SsoInstanceArn string `json:"ssoInstanceArn"` CapabilityPermissionSetArn string `json:"capabilityPermissionSetArn"` CapabilityLogsPermissionSetArn string `json:"capabilityLogsPermissionSetArn"` CapabilityLogsAwsAccountAlias string `json:"capabilityLogsAwsAccountAlias"` SharedEcrPullPermissionSetArn string `json:"sharedEcrPullPermissionSetArn"` SharedEcrPullAwsAccountAlias string `json:"sharedEcrPullAwsAccountAlias"` AccountNamePrefix string `json:"accountNamePrefix"` SsoRegion string `json:"ssoRegion"` AssumableRoles struct { SsoManagementArn string `json:"ssoManagementArn"` CapabilityAccountRoleName string `json:"capabilityAccountRoleName"` } `json:"assumableRoles"` Scim struct { Endpoint string `json:"endpoint"` Token string `json:"token"` } } `json:"aws"` Azure struct { TenantId string `json:"tenantId"` ClientId string `json:"clientId"` ClientSecret string `json:"clientSecret"` ApplicationId string `json:"applicationId"` ApplicationObjectId string `json:"applicationObjectId"` } `json:"azure"` CapSvc struct { Host string `json:"host"` TokenScope string `json:"tokenScope"` ClientId string `json:"clientId"` ClientSecret string `json:"clientSecret"` } `json:"capSvc"` Log struct { Level string `json:"level"` Debug bool `json:"debug"` } EventHandling struct { Enabled bool `json:"enable"` } Scheduler struct { Frequency string `json:"scheduleFrequency" default:"30m"` EnableCapsvc2Azure bool `json:"enableCapsvc2Azure"` EnableAzure2Aws bool `json:"enableAzure2Aws"` EnableAwsMapping bool `json:"enableAwsMapping"` EnableAws2K8s bool `json:"enableAws2K8S"` } }
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.