steampipe

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DescriptionMap = map[string]interface{}{
	"CloudFlare/Access/Application":   opengovernance.AccessApplication{},
	"CloudFlare/Access/Group":         opengovernance.AccessGroup{},
	"CloudFlare/Access/Policy":        opengovernance.AccessPolicy{},
	"CloudFlare/Account":              opengovernance.Account{},
	"CloudFlare/Account/Member":       opengovernance.AccountMember{},
	"CloudFlare/Account/Role":         opengovernance.AccountRole{},
	"CloudFlare/ApiToken":             opengovernance.ApiToken{},
	"CloudFlare/DNSRecord":            opengovernance.DNSRecord{},
	"CloudFlare/Firewall/Rule":        opengovernance.FireWallRule{},
	"CloudFlare/LoadBalancer":         opengovernance.LoadBalancer{},
	"CloudFlare/LoadBalancer/Monitor": opengovernance.LoadBalancerMonitor{},
	"CloudFlare/LoadBalancer/Pool":    opengovernance.LoadBalancerPool{},
	"CloudFlare/PageRule":             opengovernance.PageRule{},
	"CloudFlare/User":                 opengovernance.User{},
	"CloudFlare/User/AuditLog":        opengovernance.UserAuditLog{},
	"CloudFlare/WorkerRoute":          opengovernance.WorkerRoute{},
	"CloudFlare/Zone":                 opengovernance.Zone{},
}
View Source
var Map = map[string]string{
	"CloudFlare/Access/Application":   "cloudflare_access_application",
	"CloudFlare/Access/Group":         "cloudflare_access_group",
	"CloudFlare/Access/Policy":        "cloudflare_access_policy",
	"CloudFlare/Account":              "cloudflare_account",
	"CloudFlare/Account/Member":       "cloudflare_account_member",
	"CloudFlare/Account/Role":         "cloudflare_account_role",
	"CloudFlare/ApiToken":             "cloudflare_api_token",
	"CloudFlare/DNSRecord":            "cloudflare_dns_record",
	"CloudFlare/Firewall/Rule":        "cloudflare_firewall_rule",
	"CloudFlare/LoadBalancer":         "cloudflare_load_balancer",
	"CloudFlare/LoadBalancer/Monitor": "cloudflare_load_balancer_monitor",
	"CloudFlare/LoadBalancer/Pool":    "cloudflare_load_balancer_pool",
	"CloudFlare/PageRule":             "cloudflare_page_rule",
	"CloudFlare/User":                 "cloudflare_user",
	"CloudFlare/User/AuditLog":        "cloudflare_user_audit_log",
	"CloudFlare/WorkerRoute":          "cloudflare_worker_route",
	"CloudFlare/Zone":                 "cloudflare_zone",
}
View Source
var ReverseMap = map[string]string{
	"cloudflare_access_application":    "CloudFlare/Access/Application",
	"cloudflare_access_group":          "CloudFlare/Access/Group",
	"cloudflare_access_policy":         "CloudFlare/Access/Policy",
	"cloudflare_account":               "CloudFlare/Account",
	"cloudflare_account_member":        "CloudFlare/Account/Member",
	"cloudflare_account_role":          "CloudFlare/Account/Role",
	"cloudflare_api_token":             "CloudFlare/ApiToken",
	"cloudflare_dns_record":            "CloudFlare/DNSRecord",
	"cloudflare_firewall_rule":         "CloudFlare/Firewall/Rule",
	"cloudflare_load_balancer":         "CloudFlare/LoadBalancer",
	"cloudflare_load_balancer_monitor": "CloudFlare/LoadBalancer/Monitor",
	"cloudflare_load_balancer_pool":    "CloudFlare/LoadBalancer/Pool",
	"cloudflare_page_rule":             "CloudFlare/PageRule",
	"cloudflare_user":                  "CloudFlare/User",
	"cloudflare_user_audit_log":        "CloudFlare/User/AuditLog",
	"cloudflare_worker_route":          "CloudFlare/WorkerRoute",
	"cloudflare_zone":                  "CloudFlare/Zone",
}

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

This section is empty.

Jump to

Keyboard shortcuts

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