Documentation
¶
Index ¶
- Constants
- func ExtractResourceType(tableName string) string
- func ExtractTableName(resourceType string) string
- func ExtractTagsAndNames(logger *zap.Logger, plg *plugin.Plugin, resourceType string, ...) (map[string]string, string, error)
- func GetResourceTypeByTableName(tableName string) string
- func Plugin() *plugin.Plugin
- type IntegrationCredentials
Constants ¶
View Source
const ( IntegrationTypeLower = "aws" // example: aws, azure IntegrationName = integration.Type("aws_cloud_account") // example: AWS_ACCOUNT, AZURE_SUBSCRIPTION OGPluginRepoURL = "github.com/opengovern/og-describer-aws" // example: github.com/opengovern/og-describer-aws )
View Source
const ( StreamName = "og_describer_aws" JobQueueTopic = "og_describer_aws_job_queue" ConsumerGroup = "describer-aws" JobQueueTopicManuals = "og_describer_aws_manuals_job_queue" ConsumerGroupManuals = "describer-aws-manuals" )
Variables ¶
This section is empty.
Functions ¶
func ExtractResourceType ¶
func ExtractTableName ¶
func ExtractTagsAndNames ¶
func GetResourceTypeByTableName ¶
GetResourceTypeByTableName TODO: use this in integration implementation
Types ¶
type IntegrationCredentials ¶
type IntegrationCredentials struct {
AwsAccessKeyID string `json:"aws_access_key_id"`
AwsSecretAccessKey string `json:"aws_secret_access_key"`
CrossAccountRoleName string `json:"cross_account_role_name"`
RoleToAssumeInMainAccount string `json:"role_to_assume_in_main_account"`
ExternalID string `json:"external_id"`
}
Click to show internal directories.
Click to hide internal directories.