global

package
v0.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 ExtractResourceType(tableName string) string

func ExtractTableName added in v0.44.4

func ExtractTableName(resourceType string) string

func ExtractTagsAndNames added in v0.44.4

func ExtractTagsAndNames(logger *zap.Logger, plg *plugin.Plugin, resourceType string, source interface{}) (map[string]string, string, error)

func GetResourceTypeByTableName added in v0.44.4

func GetResourceTypeByTableName(tableName string) string

GetResourceTypeByTableName TODO: use this in integration implementation

func Plugin added in v0.44.4

func Plugin() *plugin.Plugin

Types

type IntegrationCredentials

type IntegrationCredentials struct {
	PatToken string `json:"pat_token"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL