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 ¶
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.
Click to show internal directories.
Click to hide internal directories.