Documentation ¶
Index ¶
- func CreateCluster(t *testing.T, client *gophercloud.ServiceClient, clusterTemplateID string) (string, error)
- func CreateClusterTemplate(t *testing.T, client *gophercloud.ServiceClient) (*clustertemplates.ClusterTemplate, error)
- func CreateQuota(t *testing.T, client *gophercloud.ServiceClient) (*quotas.Quotas, error)
- func DeleteCluster(t *testing.T, client *gophercloud.ServiceClient, id string)
- func DeleteClusterTemplate(t *testing.T, client *gophercloud.ServiceClient, id string)
- func WaitForCluster(client *gophercloud.ServiceClient, clusterID string, status string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCluster ¶
func CreateCluster(t *testing.T, client *gophercloud.ServiceClient, clusterTemplateID string) (string, error)
CreateCluster will create a random cluster. An error will be returned if the cluster could not be created.
func CreateClusterTemplate ¶
func CreateClusterTemplate(t *testing.T, client *gophercloud.ServiceClient) (*clustertemplates.ClusterTemplate, error)
CreateClusterTemplate will create a random cluster tempalte. An error will be returned if the cluster-template could not be created.
func CreateQuota ¶
func CreateQuota(t *testing.T, client *gophercloud.ServiceClient) (*quotas.Quotas, error)
CreateQuota will create a random quota. An error will be returned if the quota could not be created.
func DeleteCluster ¶
func DeleteCluster(t *testing.T, client *gophercloud.ServiceClient, id string)
func DeleteClusterTemplate ¶
func DeleteClusterTemplate(t *testing.T, client *gophercloud.ServiceClient, id string)
DeleteClusterTemplate will delete a given cluster-template. A fatal error will occur if the cluster-template could not be deleted. This works best as a deferred function.
func WaitForCluster ¶
func WaitForCluster(client *gophercloud.ServiceClient, clusterID string, status string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.