Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MarketPlace ¶
type MarketPlace struct { XMLName xml.Name `xml:"MARKETPLACE"` 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"` Name string `xml:"NAME"` MarketMad string `xml:"MARKET_MAD,omitempty"` ZoneID string `xml:"ZONE_ID,omitempty"` TotalMB int `xml:"TOTAL_MB,omitempty"` FreeMB int `xml:"FREE_MB,omitempty"` UsedMB int `xml:"USED_MB,omitempty"` MarketPlaceAppsIDs shared.EntitiesID `xml:"MARKETPLACEAPPS,omitempty"` Permissions *shared.Permissions `xml:"PERMISSIONS,omitempty"` StateRaw int `xml:"STATE,omitempty"` Template Template `xml:"TEMPLATE"` }
MarketPlace represents an OpenNebula MarketPlace
func (*MarketPlace) State ¶
func (app *MarketPlace) State() (State, error)
State looks up the state of the marketplace
func (*MarketPlace) StateString ¶
func (app *MarketPlace) StateString() (string, error)
StateString returns the state in string format
type Pool ¶
type Pool struct { XMLName xml.Name `xml:"MARKETPLACE_POOL"` MarketPlaces []MarketPlace `xml:"MARKETPLACE"` }
Pool represents an OpenNebula MarketPlace pool
Click to show internal directories.
Click to hide internal directories.