cloudprovider

package
v0.0.0-...-b7b1fea Latest Latest
Warning

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

Go to latest
Published: May 26, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloudProvider

func GetCloudProvider(name string, v *viper.Viper) (cloudTypes.Interface, error)

GetCloudProvider creates an instance of the named provider, or nil if the name is not known. The error return is only used if the named provider was known but failed to initialize.

func GetInstance

func GetInstance(cloud cloudTypes.Interface, IP string) (instance *cloudTypes.Instance, err error)

GetInstance returns an instance from the cache or from the cloud provider.

func InitCloudProvider

func InitCloudProvider(name string, v *viper.Viper) (cloudTypes.Interface, error)

InitCloudProvider creates an instance of the named cloud provider.

Types

This section is empty.

Directories

Path Synopsis
providers
aws

Jump to

Keyboard shortcuts

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