adaptor

package
v2.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package adaptor implements glue code for multiple platforms like openstack, kubernetes, etc. It interfaces directly with REST API for them and allows same interface for other command line tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTenant

func CreateTenant(name string) error

CreateTenant creates platform specific tenant corresponding to the name given.

func GetTenantName

func GetTenantName(uuid string) (string, error)

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

func GetTenantUUID

func GetTenantUUID(name string) (string, error)

GetTenantUUID returns platform specific tenant UUID corresponding to the name.

func TenantExists

func TenantExists(name string) bool

TenantExists returns true/false depending on platform specific tenant name or uuid exists or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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