provider

package
v0.0.0-...-342e3d9 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amazon

type Amazon struct {
}

func (Amazon) ProvisionAgent

func (amz Amazon) ProvisionAgent() (deploy.CloudServer, error)
type Centurylink struct {
}

func (Centurylink) ProvisionAgent

func (clc Centurylink) ProvisionAgent() (deploy.CloudServer, error)

type CloudProvider

type CloudProvider interface {
	ProvisionAgent() (deploy.CloudServer, error)
}

func New

func New(providerType string) CloudProvider

func NewAmazon

func NewAmazon() CloudProvider
func NewCenturylink() CloudProvider

type DigitalOcean

type DigitalOcean struct{}

func NewDigitalOcean

func NewDigitalOcean() *DigitalOcean

func (*DigitalOcean) ProvisionAgent

func (do *DigitalOcean) ProvisionAgent() (deploy.CloudServer, error)

Jump to

Keyboard shortcuts

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