Documentation ¶
Index ¶
Constants ¶
View Source
const ( Region string = "region" //infra Vpc string = "vpc" Subnet string = "subnet" Image string = "image" ImportImageTask string = "importimagetask" SecurityGroup string = "securitygroup" AvailabilityZone string = "availabilityzone" Keypair string = "keypair" Volume string = "volume" Instance string = "instance" InstanceProfile string = "instanceprofile" InternetGateway string = "internetgateway" NatGateway string = "natgateway" RouteTable string = "routetable" ElasticIP string = "elasticip" Snapshot string = "snapshot" NetworkInterface string = "networkinterface" Certificate string = "certificate" //loadbalancer LoadBalancer string = "loadbalancer" TargetGroup string = "targetgroup" Listener string = "listener" //database Database string = "database" DbSubnetGroup string = "dbsubnetgroup" //access User string = "user" Role string = "role" Group string = "group" Policy string = "policy" AccessKey string = "accesskey" LoginProfile string = "loginprofile" MFADevice string = "mfadevice" //storage Bucket string = "bucket" S3Object string = "s3object" Acl string = "storageacl" //notification Subscription string = "subscription" Topic string = "topic" //queue Queue string = "queue" //dns Zone string = "zone" Record string = "record" //lambda Function string = "function" //autoscaling LaunchConfiguration string = "launchconfiguration" ScalingGroup string = "scalinggroup" ScalingPolicy string = "scalingpolicy" //monitoring Metric string = "metric" Alarm string = "alarm" //cdn Distribution string = "distribution" //cloudformation Stack string = "stack" //container Repository string = "repository" Registry string = "registry" ContainerCluster string = "containercluster" ContainerService string = "containerservice" ContainerTask string = "containertask" Container string = "container" ContainerInstance string = "containerinstance" //application autoscaling AppScalingTarget string = "appscalingtarget" AppScalingPolicy string = "appscalingpolicy" )
Resources
Variables ¶
View Source
var ErrFetchAccessDenied = errors.New("access denied to cloud resource")
View Source
var ServiceRegistry = make(map[string]Service)
Functions ¶
func PluralizeResource ¶
func SingularizeResource ¶ added in v0.1.1
Types ¶
type Service ¶
type Service interface { Region() string Name() string Drivers() []driver.Driver ResourceTypes() []string IsSyncDisabled() bool Fetch(context.Context) (*graph.Graph, error) FetchByType(context.Context, string) (*graph.Graph, error) }
func AllServices ¶ added in v0.1.2
func AllServices() (out []Service)
func GetServiceForType ¶
Directories ¶
Path | Synopsis |
---|---|
DO NOT EDIT This file was automatically generated with go generate
|
DO NOT EDIT This file was automatically generated with go generate |
DO NOT EDIT This file was automatically generated with go generate
|
DO NOT EDIT This file was automatically generated with go generate |
Click to show internal directories.
Click to hide internal directories.