Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketPlaceApp ¶
type MarketPlaceApp struct { XMLName xml.Name `xml:"MARKETPLACEAPP"` ID int `xml:"ID,omitempty"` UID int `xml:"UID,omitempty"` GID int `xml:"GID,omitempty"` UName string `xml:"UNAME,omitempty"` GName string `xml:"GNAME,omitempty"` LockInfos *shared.Lock `xml:"LOCK,omitempty"` Permissions *shared.Permissions `xml:"PERMISSIONS,omitempty"` RegTime int `xml:"REGTIME,omitempty"` Name string `xml:"NAME"` ZoneID string `xml:"ZONE_ID,omitempty"` OriginID int `xml:"ORIGIN_ID"` Source string `xml:"SOURCE,omitempty"` MD5 string `xml:"MD5,omitempty"` Size int `xml:"SIZE,omitempty"` Description string `xml:"DESCRIPTION,omitempty"` Version string `xml:"VERSION,omitempty"` Format string `xml:"FORMAT,omitempty"` AppTemplate64 string `xml:"APPTEMPLATE64,omitempty"` MarketPlaceID *int `xml:"MARKETPLACE_ID,omitempty"` MarketPlace string `xml:"MARKETPLACE,omitempty"` StateRaw int `xml:"STATE,omitempty"` Type int `xml:"TYPE,omitempty"` Template Template `xml:"TEMPLATE"` }
MarketPlaceApp represents an OpenNebula MarketPlaceApp
func (*MarketPlaceApp) State ¶
func (app *MarketPlaceApp) State() (State, error)
State looks up the state of the marketplace appliance
func (*MarketPlaceApp) StateString ¶
func (app *MarketPlaceApp) StateString() (string, error)
StateString returns the state in string format
type Pool ¶
type Pool struct { XMLName xml.Name `xml:"MARKETPLACEAPP_POOL"` MarketPlaceApps []MarketPlaceApp `xml:"MARKETPLACEAPP"` }
Pool represents an OpenNebula MarketPlaceApp pool
type Template ¶
Template is the dynamic part of the marketplace app entity
Click to show internal directories.
Click to hide internal directories.