Help us shape the future of Go! Take the 2026 Go Developer Survey

v1

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL