instance

package
v0.0.0-...-f79a381 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstancePlugin

func NewInstancePlugin(client monorail.Iface, username string, password string) instance.Plugin

NewInstancePlugin creates a new plugin that creates instances in RackHD.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder is a ProvisionerBuilder that creates a RackHD instance provisioner

func (*Builder) BuildInstancePlugin

func (b *Builder) BuildInstancePlugin() (instance.Plugin, error)

BuildInstancePlugin creates an instance Provisioner configured with the Flags.

func (*Builder) Flags

func (b *Builder) Flags() *pflag.FlagSet

Flags returns the flags required.

type RackHDProperties

type RackHDProperties struct {
	Workflow *models.PostNodeWorkflow
	SKUName  string
}

RackHDProperties are the details of the RackHD provision request to be processed by RackHD

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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