steampipe

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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{}{
	"OpenAI/Project":                opengovernance.Project{},
	"OpenAI/Project/ApiKey":         opengovernance.ProjectApiKey{},
	"OpenAI/Project/RateLimit":      opengovernance.ProjectRateLimit{},
	"OpenAI/Project/ServiceAccount": opengovernance.ProjectServiceAccount{},
	"OpenAI/Project/User":           opengovernance.ProjectUser{},
	"OpenAI/Model":                  opengovernance.Models{},
	"OpenAI/File":                   opengovernance.File{},
	"OpenAI/VectorStore":            opengovernance.VectorStore{},
	"OpenAI/Assistant":              opengovernance.Assistant{},
}
View Source
var Map = map[string]string{
	"OpenAI/Project":                "openai_project",
	"OpenAI/Project/ApiKey":         "openai_project_api_key",
	"OpenAI/Project/RateLimit":      "openai_project_rate_limit",
	"OpenAI/Project/ServiceAccount": "openai_project_service_account",
	"OpenAI/Project/User":           "openai_project_user",
	"OpenAI/Model":                  "openai_model",
	"OpenAI/File":                   "openai_file",
	"OpenAI/VectorStore":            "openai_vector_store",
	"OpenAI/Assistant":              "openai_assistant",
}
View Source
var ReverseMap = map[string]string{
	"openai_project":                 "OpenAI/Project",
	"openai_project_api_key":         "OpenAI/Project/ApiKey",
	"openai_project_rate_limit":      "OpenAI/Project/RateLimit",
	"openai_project_service_account": "OpenAI/Project/ServiceAccount",
	"openai_project_user":            "OpenAI/Project/User",
	"openai_model":                   "OpenAI/Model",
	"openai_file":                    "OpenAI/File",
	"openai_vector_store":            "OpenAI/VectorStore",
	"openai_assistant":               "OpenAI/Assistant",
}

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