clouds

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

View Source
const (
	DigitalOceanFingerPrint    = "fingerprint"
	DigitalOceanAccessToken    = "accessToken"
	EnvDigitalOceanAccessToken = "DIGITALOCEAN_TOKEN"

	GCEProjectID   = "project_id"
	GCEPrivateKey  = "private_key"
	GCEClientEmail = "client_email"
	GCETokenURI    = "token_uri"

	ClusterIDTag = "supergiant.io/cluster-id"

	AWSAccessKeyID              = "access_key"
	AWSSecretKey                = "secret_key"
	AwsAZ                       = "aws_az"
	AwsVpcCIDR                  = "aws_vpc_cidr"
	AwsVpcID                    = "aws_vpc_id"
	AwsKeyPairName              = "aws_keypair_name"
	AwsSubnets                  = "aws_subnets"
	AwsMastersSecGroupID        = "aws_masters_secgroup_id"
	AwsNodesSecgroupID          = "aws_nodes_secgroup_id"
	AwsSshBootstrapPrivateKey   = "aws_ssh_bootstrap_private_key"
	AwsUserProvidedSshPublicKey = "aws_user_provided_public_key"
	AwsRouteTableID             = "aws_route_table_id"
	AwsInternetGateWayID        = "aws_internet_gateway_id"
	AwsMasterInstanceProfile    = "aws_master_instance_profile"
	AwsNodeInstanceProfile      = "aws_node_instance_profile"
	AwsImageID                  = "aws_image_id"

	// Use client credentials auth model for azure.
	// https://github.com/Azure/azure-sdk-for-go#more-authentication-details
	AzureTenantID       = "tenantId"
	AzureSubscriptionID = "subscriptionId"
	AzureClientID       = "clientId"
	AzureClientSecret   = "clientSecret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name string
const (
	AWS          Name = "aws"
	DigitalOcean Name = "digitalocean"
	Packet       Name = "packet"
	GCE          Name = "gce"
	Azure        Name = "azure"
	OpenStack    Name = "openstack"

	Unknown Name = "unknown"
)

func ToProvider

func ToProvider(name string) (Name, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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