provider

package
v0.0.0-...-2d1c021 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	*Provider
	EC2 *EC2 `json:"ec2"`
}

func NewAWS

func NewAWS(pvd *Provider) *AWS

func (*AWS) RenderEC2InstanceType

func (aws *AWS) RenderEC2InstanceType()

func (*AWS) RenderEC2Region

func (aws *AWS) RenderEC2Region()

func (*AWS) RenderEC2Zone

func (aws *AWS) RenderEC2Zone()

type DigitalOcean

type DigitalOcean struct {
	*Provider
	RegionList []map[string]string `json:"region"`
	SizeList   []map[string]string `json:"size"`
	Image      *DigitalOceanImage  `json:"image"`
}

func NewDigitalOcean

func NewDigitalOcean(pvd *Provider) *DigitalOcean

func (*DigitalOcean) RenderAppImage

func (do *DigitalOcean) RenderAppImage()

func (*DigitalOcean) RenderDistImage

func (do *DigitalOcean) RenderDistImage()

func (*DigitalOcean) RenderRegion

func (do *DigitalOcean) RenderRegion()

func (*DigitalOcean) RenderSize

func (do *DigitalOcean) RenderSize()

type DigitalOceanImage

type DigitalOceanImage struct {
	DistList []map[string]string `json:"dist"`
	AppList  []map[string]string `json:"app"`
}

type EC2

type EC2 struct {
	RegionList       []map[string]string `json:"region"`
	ZoneList         []map[string]string `json:"zone"`
	InstanceTypeList []map[string]string `json:"instance-type"`
}

type GCE

type GCE struct {
	ZoneList        []map[string]string `json:"zone"`
	MachineTypeList []map[string]string `json:"machine-type"`
	DiskTypeList    []map[string]string `json:"disk-type"`
	ImageList       []map[string]string `json:"image"`
}

type GCloud

type GCloud struct {
	*Provider
	GCE *GCE `json:"gce"`
}

func NewGCloud

func NewGCloud(pvd *Provider) *GCloud

func (*GCloud) RenderGCEDiskType

func (gcld *GCloud) RenderGCEDiskType()

func (*GCloud) RenderGCEImage

func (gcld *GCloud) RenderGCEImage()

func (*GCloud) RenderGCEMachineType

func (gcld *GCloud) RenderGCEMachineType()

func (*GCloud) RenderGCEZone

func (gcld *GCloud) RenderGCEZone()

type Provider

type Provider struct {
	Delimiter   string
	OmitColumns bool
	Fields      []string
}

func NewProviderWithCliContext

func NewProviderWithCliContext(c *cli.Context) *Provider

Jump to

Keyboard shortcuts

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