plugin

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGCPCloudConfig

func NewGCPCloudConfig(c *cli.Context) cloudconfigs.CloudConfigProvider

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 {
	PluginVersion string
}

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() []pcli.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