Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
Types ¶
type AmazonEC2Handler ¶ added in v0.14.0
type AmazonEC2Handler struct { }
func (*AmazonEC2Handler) HandleCreate ¶ added in v0.14.0
func (*AmazonEC2Handler) HandleCreate(host *client.Host, hostDir string) error
func (*AmazonEC2Handler) HandleError ¶ added in v0.14.0
func (*AmazonEC2Handler) HandleError(msg string) string
type AzureHandler ¶ added in v0.14.0
type AzureHandler struct { }
func (*AzureHandler) HandleCreate ¶ added in v0.14.0
func (*AzureHandler) HandleCreate(host *client.Host, hostDir string) error
func (*AzureHandler) HandleError ¶ added in v0.14.0
func (*AzureHandler) HandleError(msg string) string
type DefaultProvider ¶ added in v0.14.0
type DefaultProvider struct { }
func (*DefaultProvider) HandleCreate ¶ added in v0.14.0
func (*DefaultProvider) HandleCreate(host *client.Host, hostDir string) error
func (*DefaultProvider) HandleError ¶ added in v0.14.0
func (*DefaultProvider) HandleError(msg string) string
type DigitaloceanHandler ¶ added in v0.14.0
type DigitaloceanHandler struct { }
func (*DigitaloceanHandler) HandleCreate ¶ added in v0.14.0
func (*DigitaloceanHandler) HandleCreate(host *client.Host, hostDir string) error
func (*DigitaloceanHandler) HandleError ¶ added in v0.14.0
func (*DigitaloceanHandler) HandleError(msg string) string
type PacketHandler ¶ added in v0.14.0
type PacketHandler struct { }
func (*PacketHandler) HandleCreate ¶ added in v0.14.0
func (*PacketHandler) HandleCreate(host *client.Host, hostDir string) error
func (*PacketHandler) HandleError ¶ added in v0.14.0
func (*PacketHandler) HandleError(msg string) string
type Provider ¶
type Provider interface { HandleCreate(host *client.Host, hostDir string) error HandleError(msg string) string }
func GetProviderHandler ¶
type RackspaceHandler ¶ added in v0.14.0
type RackspaceHandler struct { }
func (*RackspaceHandler) HandleCreate ¶ added in v0.14.0
func (*RackspaceHandler) HandleCreate(host *client.Host, hostDir string) error
func (*RackspaceHandler) HandleError ¶ added in v0.14.0
func (*RackspaceHandler) HandleError(msg string) string
Click to show internal directories.
Click to hide internal directories.