plugin

package
v0.0.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPhotonCloudConfig

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

Types

type NetworkCloudProperties

type NetworkCloudProperties struct {
	NetworkName string `yaml:"network_id"`
}

type PhotonCloudConfig

type PhotonCloudConfig struct {
	Context *cli.Context
}

func (*PhotonCloudConfig) CreateAZs

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

func (*PhotonCloudConfig) CreateCompilation

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

func (*PhotonCloudConfig) CreateDiskTypes

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

func (*PhotonCloudConfig) CreateNetworks

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

func (*PhotonCloudConfig) CreateVMTypes

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

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:"vm_flavor,omitempty"`
	RootDiskSizeGB int    `yaml:"vm_attached_disk_size_gb,omitempty"`
	RootDiskType   string `yaml:"disk_flavor"`
}

Jump to

Keyboard shortcuts

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