global

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IntegrationTypeLower = "cloudflare"                                    // example: aws, azure
	IntegrationName      = integration.Type("cloudflare_account")          // example: AWS_ACCOUNT, AZURE_SUBSCRIPTION
	OGPluginRepoURL      = "github.com/opengovern/og-describer-cloudflare" // example: github.com/opengovern/og-describer-aws
)
View Source
const (
	StreamName           = "og_describer_cloudflare"
	JobQueueTopic        = "og_describer_cloudflare_job_queue"
	ConsumerGroup        = "describer-cloudflare"
	JobQueueTopicManuals = "og_describer_cloudflare_manuals_job_queue"
	ConsumerGroupManuals = "describer-cloudflare-manuals"
)

Variables

This section is empty.

Functions

func ExtractResourceType

func ExtractResourceType(tableName string) string

func ExtractTableName

func ExtractTableName(resourceType string) string

func ExtractTagsAndNames

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

func GetResourceTypeByTableName

func GetResourceTypeByTableName(tableName string) string

GetResourceTypeByTableName TODO: use this in integration implementation

func Plugin

func Plugin() *plugin.Plugin

Types

type IntegrationCredentials

type IntegrationCredentials struct {
	Token     string `json:"token"`
	AccountID string `json:"account_id"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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