Documentation ¶
Index ¶
- func CheckDeleted(d *schema.ResourceData, err error, msg string) error
- func Provider() terraform.ResourceProvider
- func ServerV2StateRefreshFunc(client *gophercloud.ServiceClient, instanceID string) resource.StateRefreshFunc
- func VolumeV1StateRefreshFunc(client *gophercloud.ServiceClient, volumeID string) resource.StateRefreshFunc
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDeleted ¶
func CheckDeleted(d *schema.ResourceData, err error, msg string) error
CheckDeleted checks the error to see if it's a 404 (Not Found) and, if so, sets the resource ID to the empty string instead of throwing an error.
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a schema.Provider for OpenStack.
func ServerV2StateRefreshFunc ¶
func ServerV2StateRefreshFunc(client *gophercloud.ServiceClient, instanceID string) resource.StateRefreshFunc
ServerV2StateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an OpenStack instance.
func VolumeV1StateRefreshFunc ¶
func VolumeV1StateRefreshFunc(client *gophercloud.ServiceClient, volumeID string) resource.StateRefreshFunc
VolumeV1StateRefreshFunc returns a resource.StateRefreshFunc that is used to watch an OpenStack volume.
Types ¶
Source Files ¶
- config.go
- provider.go
- resource_openstack_blockstorage_volume_v1.go
- resource_openstack_compute_floatingip_v2.go
- resource_openstack_compute_instance_v2.go
- resource_openstack_compute_keypair_v2.go
- resource_openstack_compute_secgroup_v2.go
- resource_openstack_fw_firewall_v1.go
- resource_openstack_fw_policy_v1.go
- resource_openstack_fw_rule_v1.go
- resource_openstack_lb_monitor_v1.go
- resource_openstack_lb_pool_v1.go
- resource_openstack_lb_vip_v1.go
- resource_openstack_networking_floatingip_v2.go
- resource_openstack_networking_network_v2.go
- resource_openstack_networking_router_interface_v2.go
- resource_openstack_networking_router_v2.go
- resource_openstack_networking_subnet_v2.go
- resource_openstack_objectstorage_container_v1.go
- util.go
Click to show internal directories.
Click to hide internal directories.