Documentation ¶
Index ¶
Constants ¶
View Source
const ( // defaults currently referring to Train DefaultComputeV2Microversion = "2.79" DefaultIdentityV3Microversion = "3.13" DefaultBlockStorageV3Microversion = "3.59" DefaultImageServiceV2Microversion = "2.9" )
View Source
const ( // AuthenticatedClient is the cache key for the openStack authenticated client. AuthenticatedClient = "openstack_authenticated_client" // IdentityV3 identifies the OpenStack Identity V3 service (Keystone). IdentityV3 ServiceType = "openstack_identity_v3" // Compute identifies the penStack Compute V2 service (Nova). ComputeV2 = "openstack_compute_v2" // NetworkV2 identifies the OpenStack Network V2 service (Neutron). NetworkV2 = "openstack_network_v2" // BlockStorageV3 identifies the OpenStack Block Storage V3 service (Cinder). BlockStorageV3 = "openstack_blockstorage_v3" // ImageServiceV2 identifies the OpenStack Image Service V2 service (Glance). ImageServiceV2 = "openstack_imageservice_v2" )
Variables ¶
View Source
var ConfigSchema = map[string]*schema.Attribute{ "endpoint_url": { Type: schema.TypeString, }, "userid": { Type: schema.TypeString, }, "username": { Type: schema.TypeString, }, "password": { Type: schema.TypeString, }, "region": { Type: schema.TypeString, }, "project_id": { Type: schema.TypeString, }, "project_name": { Type: schema.TypeString, }, "domain_id": { Type: schema.TypeString, }, "domain_name": { Type: schema.TypeString, }, "access_token": { Type: schema.TypeString, }, "app_credential_id": { Type: schema.TypeString, }, "app_credential_secret": { Type: schema.TypeString, }, "allow_reauth": { Type: schema.TypeBool, }, "trace_level": { Type: schema.TypeString, }, "identity_v3_microversion": { Type: schema.TypeString, }, "compute_v2_microversion": { Type: schema.TypeString, }, "network_v2_microversion": { Type: schema.TypeString, }, "blockstorage_v3_microversion": { Type: schema.TypeString, }, "imageservice_v2_microversion": { Type: schema.TypeString, }, }
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
func ConfigInstance ¶
func ConfigInstance() interface{}
func GetConfig ¶
func GetConfig(connection *plugin.Connection) openstackConfig
GetConfig :: retrieve and cast connection config from query data
Types ¶
type ServiceType ¶
type ServiceType string
Source Files ¶
- connection_config.go
- connection_impl.go
- plugin.go
- table_openstack_attachment.go
- table_openstack_image.go
- table_openstack_instance.go
- table_openstack_network.go
- table_openstack_port.go
- table_openstack_project.go
- table_openstack_security_group.go
- table_openstack_security_group_rule.go
- table_openstack_user.go
- table_openstack_volume.go
- time.go
- utils.go
Click to show internal directories.
Click to hide internal directories.