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 = "github" // example: aws, azure IntegrationName = integration.Type("github_account") // example: AWS_ACCOUNT, AZURE_SUBSCRIPTION OGPluginRepoURL = "github.com/opengovern/og-describer-github" // example: github.com/opengovern/og-describer-aws )
View Source
const ( StreamName = "og_describer_github" JobQueueTopic = "og_describer_github_job_queue" ConsumerGroup = "describer-github" JobQueueTopicManuals = "og_describer_github_manuals_job_queue" ConsumerGroupManuals = "describer-github-manuals" )
Variables ¶
This section is empty.
Functions ¶
func ExtractResourceType ¶ added in v0.44.4
func ExtractTableName ¶ added in v0.44.4
func ExtractTagsAndNames ¶ added in v0.44.4
func GetResourceTypeByTableName ¶ added in v0.44.4
GetResourceTypeByTableName TODO: use this in integration implementation
Types ¶
type IntegrationCredentials ¶
type IntegrationCredentials struct {
PatToken string `json:"pat_token"`
}
Click to show internal directories.
Click to hide internal directories.