Documentation ¶
Overview ¶
Package placement contains acceptance tests for the Openstack Placement service.
Index ¶
- func CreateResourceProvider(t *testing.T, client *gophercloud.ServiceClient) (*resourceproviders.ResourceProvider, error)
- func CreateResourceProviderWithParent(t *testing.T, client *gophercloud.ServiceClient, parentUUID string) (*resourceproviders.ResourceProvider, error)
- func DeleteResourceProvider(t *testing.T, client *gophercloud.ServiceClient, resourceProviderID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateResourceProvider ¶
func CreateResourceProvider(t *testing.T, client *gophercloud.ServiceClient) (*resourceproviders.ResourceProvider, error)
func CreateResourceProviderWithParent ¶
func CreateResourceProviderWithParent(t *testing.T, client *gophercloud.ServiceClient, parentUUID string) (*resourceproviders.ResourceProvider, error)
func DeleteResourceProvider ¶
func DeleteResourceProvider(t *testing.T, client *gophercloud.ServiceClient, resourceProviderID string)
DeleteResourceProvider will delete a resource provider with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.