cloudconfigs

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRequiredLength

func CheckRequiredLength(targetLength, index int, c *cli.Context, names ...string) error

func CreateCloudConfigManifest

func CreateCloudConfigManifest(provider CloudConfigProvider) (*enaml.CloudConfigManifest, error)

func CreateFlagnameWithSuffix

func CreateFlagnameWithSuffix(name string, suffix int) (flagname string)

func GetDeploymentManifestBytes

func GetDeploymentManifestBytes(provider CloudConfigProvider) ([]byte, error)

Types

type BaseCloudConfig

type BaseCloudConfig struct {
	Manifest *enaml.CloudConfigManifest
}

type CloudConfigProvider

type CloudConfigProvider interface {
	CreateAZs() ([]enaml.AZ, error)
	CreateNetworks() ([]enaml.DeploymentNetwork, error)
	CreateVMTypes() ([]enaml.VMType, error)
	CreateDiskTypes() ([]enaml.DiskType, error)
	CreateCompilation() (*enaml.Compilation, error)
}

Directories

Path Synopsis
aws
gcp

Jump to

Keyboard shortcuts

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