Documentation ¶
Overview ¶
Package digitalocean - digitalocean provider. Common functions of digitalocean provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModulesFactories ¶
func GetModulesFactories() map[string]ActivityFactory
GetModulesFactories return registered modules factories (used by provisioner).
func RegisterActivityFactory ¶
func RegisterActivityFactory(aType, aName string, moduleFactory ActivityFactory) error
RegisterActivityFactory - add module to ModulesFactories list.
Types ¶
type ActivityFactory ¶
ActivityFactory common interface for modules and provisioners factories.
type BackendSpec ¶
type BackendSpec struct { Bucket string `json:"bucket,omitempty"` Key string `json:"key,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
BackendSpec - terraform s3 bucket backend config.
type Config ¶
type Config struct { Region string `yaml:"region"` Vpc string `yaml:"vpc"` VpcCIDR string `yaml:"vpc_cidr"` Domain string `yaml:"domain"` Provisioner map[string]interface{} `yaml:"provisioner"` ProviderType string `yaml:"type"` ClusterName string `yaml:"cluster_name"` }
Config - digitalocean provider config.
Click to show internal directories.
Click to hide internal directories.