plugin

package
v0.0.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GCPCloudConfig

type GCPCloudConfig struct {
	Context *cli.Context
}

func (*GCPCloudConfig) CreateAZs

func (c *GCPCloudConfig) CreateAZs() ([]enaml.AZ, error)

func (*GCPCloudConfig) CreateCompilation

func (c *GCPCloudConfig) CreateCompilation() (*enaml.Compilation, error)

func (*GCPCloudConfig) CreateDiskTypes

func (c *GCPCloudConfig) CreateDiskTypes() ([]enaml.DiskType, error)

func (*GCPCloudConfig) CreateNetworks

func (c *GCPCloudConfig) CreateNetworks() ([]enaml.DeploymentNetwork, error)

func (*GCPCloudConfig) CreateVMTypes

func (c *GCPCloudConfig) CreateVMTypes() ([]enaml.VMType, error)

type NetworkCloudProperties

type NetworkCloudProperties struct {
	NetworkName    string   `yaml:"network_name"`
	SubNetworkName string   `yaml:"subnetwork_name"`
	Tags           []string `yaml:"tags"`
}

type Plugin

type Plugin struct{}

func (*Plugin) GetCloudConfig

func (s *Plugin) GetCloudConfig(args []string) (b []byte)

GetCloudConfig - get a serialized form of AWS cloud configuration

func (*Plugin) GetContext

func (s *Plugin) GetContext(args []string) (c *cli.Context)

GetContext -

func (*Plugin) GetFlags

func (s *Plugin) GetFlags() []cli.Flag

func (*Plugin) GetMeta

func (s *Plugin) GetMeta() cloudconfig.Meta

GetMeta - Get metadata of the plugin

type VMProperties

type VMProperties struct {
	MachineType    string `yaml:"machine_type,omitempty"`
	RootDiskSizeGB int    `yaml:"root_disk_size_gb"`
	RootDiskType   string `yaml:"root_disk_type"`
}

Jump to

Keyboard shortcuts

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