Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AWS cloud provider AWS = "aws" // DigitalOcean cloud provider DigitalOcean = "digitalocean" // Hetzner cloud provider Hetzner = "hetzner" // GCE cloud provider GCE = "gce" // Packet cloud provider Packet = "packet" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProvisioner ¶
type DefaultProvisioner struct {
// contains filtered or unexported fields
}
DefaultProvisioner contains default implementation of provisioner interface
func NewDefaultProvisioner ¶
func NewDefaultProvisioner(creds func() error, testPath, identifier, provider string) (*DefaultProvisioner, error)
NewDefaultProvisioner creates and initialize universal provisioner
func (*DefaultProvisioner) Cleanup ¶
func (p *DefaultProvisioner) Cleanup() error
Cleanup destroys infrastructure created by Terraform
type Provisioner ¶
Provisioner contains cluster management operations such as provision and cleanup
func CreateProvisioner ¶
func CreateProvisioner(testPath string, identifier string, provider string) (Provisioner, error)
CreateProvisioner returns interface for specific provisioner
Click to show internal directories.
Click to hide internal directories.