vanilla

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

View Source
var DefaultOptions = template.Options{}

DefaultOptions contains the default settings.

Functions

func NewPlugin

func NewPlugin(plugins func() discovery.Plugins, opt template.Options) flavor.Plugin

NewPlugin creates a Flavor plugin that doesn't do very much. It assumes instances are identical (cattles) but can assume specific identities (via the LogicalIDs). The instances here are treated identically because we have constant Init that applies to all instances

Types

type Spec

type Spec struct {
	// Init
	Init []string

	// InitScriptTemplateURL provides a URL to a template that is used to generaete Init
	InitScriptTemplateURL string

	// Tags
	Tags map[string]string

	// Attachments are instructions for external entities that should be attached to the instance.
	Attachments []instance.Attachment
}

Spec is the model of the Properties section of the top level group spec.

Jump to

Keyboard shortcuts

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