instance

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(projectID, apiKey string, namespace map[string]string) instance.Plugin

NewPlugin creates a new DigitalOcean instance plugin for a given region.

Types

type Properties

type Properties struct {
	*packngo.DeviceCreateRequest `yaml:",inline"`

	// HostnamePrefix
	HostnamePrefix string `json:"hostname_prefix,omitempty"`

	// Checksum
	Checksum string `json:"checksum,omitempty"`
}

Properties is the input in the `Properties` field of the config yml

Jump to

Keyboard shortcuts

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