cloud

package
v0.0.0-...-c64e826 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFetchAccessDenied = errors.New("access denied to cloud resource")
View Source
var ServiceRegistry = make(map[string]Service)

Functions

func PluralizeResource

func PluralizeResource(singular string) string

Types

type Service

type Service interface {
	Name() string
	Provider() string
	ProviderAPI() string
	ProviderRunnableAPI() interface{}
	ResourceTypes() []string
	FetchResources() (*graph.Graph, error)
	FetchByType(t string) (*graph.Graph, error)
}

func GetServiceForType

func GetServiceForType(t string) (Service, error)

Directories

Path Synopsis
aws

Jump to

Keyboard shortcuts

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