Documentation ¶
Index ¶
- Constants
- func Bool(b *bool) bool
- func EC2FromJSON(jsonData []byte) (compute.Provider, error)
- func Int64(x *int64) int64
- func String(str *string) string
- type EC2
- func (e *EC2) ComputeService() compute.Service
- func (e *EC2) CreateImage(imageTemplate *compute.Image) (*compute.Image, error)
- func (e *EC2) CreateInstance(instance *compute.Instance) (*compute.Instance, error)
- func (e *EC2) DeleteImage(imageID string) error
- func (e *EC2) DeleteInstance(instanceID string) error
- func (e *EC2) FindFlavor(flavor *compute.Flavor) (string, error)
- func (e *EC2) FindImage(image *compute.Image) (string, error)
- func (e *EC2) GetImage(imageID string) (*compute.Image, error)
- func (e *EC2) GetInstance(instanceID string) (*compute.Instance, error)
- func (e *EC2) ListFlavors() ([]*compute.Flavor, error)
- func (e *EC2) ListImages() ([]*compute.Image, error)
- func (e *EC2) ListInstances() ([]*compute.Instance, error)
- func (e *EC2) RebootInstance(instanceID string) error
- func (e *EC2) StartInstance(instanceID string) error
- func (e *EC2) StopInstance(instanceID string) error
- type EC2JSONConfig
Constants ¶
View Source
const DEFAULT_NAME = "cloug"
View Source
const DEFAULT_REGION = "us-west-2"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EC2 ¶
func (*EC2) ComputeService ¶
func (*EC2) CreateImage ¶
func (*EC2) CreateInstance ¶
func (*EC2) DeleteImage ¶
func (*EC2) DeleteInstance ¶
func (*EC2) RebootInstance ¶
func (*EC2) StartInstance ¶
func (*EC2) StopInstance ¶
type EC2JSONConfig ¶
Click to show internal directories.
Click to hide internal directories.