Documentation ¶
Overview ¶
Package oci implements a steampipe plugin for OCI.
This plugin provides data that Steampipe uses to present foreign tables that represent Oracle Cloud Infrastructure resources.
Index ¶
- Constants
- Variables
- func BuildCompartementRegionList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
- func BuildCompartementZonalList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
- func BuildCompartmentList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
- func BuildRegionList(_ context.Context, connection *plugin.Connection) []map[string]interface{}
- func ConfigInstance() interface{}
- func GetConfig(connection *plugin.Connection) ociConfig
- func Plugin(ctx context.Context) *plugin.Plugin
- type KeyInfo
- type KeyVersionInfo
Constants ¶
const ( // Constants for Standard Column Descriptions ColumnDescriptionAkas = "Array of globally unique identifier strings (also known as) for the resource." ColumnDescriptionTags = "A map of tags for the resource." ColumnDescriptionTitle = "Title of the resource." ColumnDescriptionTenant = "The OCID of the Tenant in which the resource is located." ColumnDescriptionCompartment = "The OCID of the compartment in Tenant in which the resource is located." ColumnDescriptionRegion = "The OCI region in which the resource is located." // Other repetitive columns for the provider ColumnDescriptionFreefromTags = "Free-form tags for resource. This tags can be applied by any user with permissions on the resource." ColumnDescriptionDefinedTags = "" /* 176-byte string literal not displayed */ ColumnDescriptionSystemTags = "System tags for resource. System tags can be viewed by users, but can only be created by the system." )
Variables ¶
var ConfigSchema = map[string]*schema.Attribute{ "regions": { Type: schema.TypeList, Elem: &schema.Attribute{Type: schema.TypeString}, }, "auth": { Type: schema.TypeString, }, "tenancy_ocid": { Type: schema.TypeString, }, "config_file_profile": { Type: schema.TypeString, }, "config_path": { Type: schema.TypeString, }, "user_ocid": { Type: schema.TypeString, }, "fingerprint": { Type: schema.TypeString, }, "private_key": { Type: schema.TypeString, }, "private_key_path": { Type: schema.TypeString, }, "private_key_password": { Type: schema.TypeString, }, }
Functions ¶
func BuildCompartementRegionList ¶
func BuildCompartementRegionList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
BuildCompartementRegionList :: return a list of matrix items, one per region-compartment specified in the connection config
func BuildCompartementZonalList ¶ added in v0.0.9
func BuildCompartementZonalList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
BuildCompartementZonalList :: return a list of matrix items, one per zone-compartment specified in the connection config
func BuildCompartmentList ¶ added in v0.0.6
func BuildCompartmentList(ctx context.Context, connection *plugin.Connection) []map[string]interface{}
BuildCompartmentList :: return a list of matrix items, one per compartment specified in the connection config
func BuildRegionList ¶
func BuildRegionList(_ context.Context, connection *plugin.Connection) []map[string]interface{}
BuildRegionList :: return a list of matrix items, one per region specified in the connection config
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) ociConfig
GetConfig :: retrieve and cast connection config from query data
Types ¶
type KeyInfo ¶ added in v0.0.13
type KeyInfo struct { keymanagement.KeySummary ManagementEndpoint string VaultName string }
type KeyVersionInfo ¶ added in v0.0.13
type KeyVersionInfo struct { keymanagement.KeyVersionSummary ManagementEndpoint string Region string }
Source Files ¶
- common_columns.go
- connection_config.go
- multi_region.go
- not_found.go
- plugin.go
- service.go
- table_core_volume_backup.go
- table_oci_apigateway_api.go
- table_oci_autoscaling_auto_scaling_configuration.go
- table_oci_cloud_guard_configuration.go
- table_oci_cloud_guard_detector_recipe.go
- table_oci_cloud_guard_managed_list.go
- table_oci_cloud_guard_responder_recipe.go
- table_oci_cloud_guard_target.go
- table_oci_core_boot_volume_backup.go
- table_oci_core_dhcp_options.go
- table_oci_core_drg.go
- table_oci_core_image.go
- table_oci_core_instance.go
- table_oci_core_internet_gateway.go
- table_oci_core_local_peering_gateway.go
- table_oci_core_nat_gateway.go
- table_oci_core_network_security_group.go
- table_oci_core_route_table.go
- table_oci_core_security_list.go
- table_oci_core_service_gateway.go
- table_oci_core_subnet.go
- table_oci_core_vcn.go
- table_oci_core_volume.go
- table_oci_core_volume_backup_policy.go
- table_oci_dns_tsig_key.go
- table_oci_dns_zone.go
- table_oci_events_rule.go
- table_oci_file_storage_file_system.go
- table_oci_file_storage_snapshot.go
- table_oci_functions_application.go
- table_oci_identity_api_key.go
- table_oci_identity_auth_token.go
- table_oci_identity_authentication_policy.go
- table_oci_identity_compartment.go
- table_oci_identity_customer_secret_key.go
- table_oci_identity_dynamic_group.go
- table_oci_identity_group.go
- table_oci_identity_network_source.go
- table_oci_identity_policy.go
- table_oci_identity_tag_default.go
- table_oci_identity_tag_namespace.go
- table_oci_identity_tenancy.go
- table_oci_identity_user.go
- table_oci_kms_key.go
- table_oci_kms_key_version.go
- table_oci_kms_vault.go
- table_oci_logging_log.go
- table_oci_logging_log_group.go
- table_oci_objectstorage_bucket.go
- table_oci_ons_notification_topic.go
- table_oci_ons_subscription.go
- table_oci_region.go
- utils.go