Documentation ¶
Index ¶
- Constants
- func LunaNodeFromJSON(jsonData []byte) (compute.Provider, error)
- type LunaNode
- func (ln *LunaNode) ComputeService() compute.Service
- func (ln *LunaNode) CreateImage(imageTemplate *compute.Image) (*compute.Image, error)
- func (ln *LunaNode) CreateInstance(instance *compute.Instance) (*compute.Instance, error)
- func (ln *LunaNode) DeleteImage(imageID string) error
- func (ln *LunaNode) DeleteInstance(instanceID string) error
- func (ln *LunaNode) FindFlavor(flavor *compute.Flavor) (string, error)
- func (ln *LunaNode) FindImage(image *compute.Image) (string, error)
- func (ln *LunaNode) GetImage(imageID string) (*compute.Image, error)
- func (ln *LunaNode) GetInstance(instanceID string) (*compute.Instance, error)
- func (ln *LunaNode) GetVNC(instanceID string) (string, error)
- func (ln *LunaNode) ListFlavors() ([]*compute.Flavor, error)
- func (ln *LunaNode) ListImages() ([]*compute.Image, error)
- func (ln *LunaNode) ListInstances() ([]*compute.Instance, error)
- func (ln *LunaNode) RebootInstance(instanceID string) error
- func (ln *LunaNode) ReimageInstance(instanceID string, image *compute.Image) error
- func (ln *LunaNode) StartInstance(instanceID string) error
- func (ln *LunaNode) StopInstance(instanceID string) error
- type LunaNodeJSONConfig
Constants ¶
View Source
const DEFAULT_NAME = "cloug"
View Source
const DEFAULT_REGION = "toronto"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LunaNode ¶
type LunaNode struct {
// contains filtered or unexported fields
}
func (*LunaNode) ComputeService ¶
func (*LunaNode) CreateImage ¶
func (*LunaNode) CreateInstance ¶
func (*LunaNode) DeleteImage ¶
func (*LunaNode) DeleteInstance ¶
func (*LunaNode) FindFlavor ¶
func (*LunaNode) GetInstance ¶
func (*LunaNode) RebootInstance ¶
func (*LunaNode) ReimageInstance ¶
func (*LunaNode) StartInstance ¶
func (*LunaNode) StopInstance ¶
type LunaNodeJSONConfig ¶
Click to show internal directories.
Click to hide internal directories.