types

package
v0.0.0-...-3fabde0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// InfrakitLogicalID is a metadata key that is used to tag instances created with a LogicalId.
	InfrakitLogicalID = "infrakit-logical-id"

	// InfrakitDOVersion is a metadata key that is used to know which version of the plugin was used to create
	// the instance.
	InfrakitDOVersion = "infrakit-do-version"

	// InfrakitDOCurrentVersion is incremented each time the plugin introduces incompatibilities with previous
	// versions
	InfrakitDOCurrentVersion = "1"
)

Variables

This section is empty.

Functions

func ParseTags

func ParseTags(spec instance.Spec) map[string]string

ParseTags returns a key/value map from the instance specification.

Types

type Properties

type Properties struct {
	godo.DropletCreateRequest

	NamePrefix  string
	SSHKeyNames []string
}

Properties is the configuration schema for the plugin, provided in instance.Spec.Properties

func ParseProperties

func ParseProperties(req *types.Any) (Properties, error)

ParseProperties parses instance Properties from a json description.

Jump to

Keyboard shortcuts

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