openstack

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package openstack implements openstack API specific helper functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTenant

func CreateTenant(name string) error

CreateTenant creates openstack specific tenant corresponding to the name given.

func GetTenantList

func GetTenantList() ([]tenants.Tenant, error)

GetTenantList returns openstack tenant list.

func GetTenantName

func GetTenantName(uuid string) (string, error)

GetTenantName returns openstack tenant name corresponding to the UUID being used in romana tenants.

func GetTenantUUID

func GetTenantUUID(tenantName string) (string, error)

GetTenantUUID returns openstack tenant UUID corresponding to the given tenantName.

func TenantExists

func TenantExists(name string) bool

TenantExists returns true/false depending on openstack tenant name or uuid exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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