Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginToken ¶
type Pool ¶
type Pool struct { XMLName xml.Name `xml:"USER_POOL"` Users []User `xml:"USER"` Quotas []shared.Quotas `xml:"QUOTAS"` DefaultUserQuotas shared.QuotasList `xml:"DEFAULT_USER_QUOTAS"` }
Pool represents an OpenNebula User pool
type User ¶
type User struct { UserShort // Variable part between one.userpool.info and one.user.info shared.QuotasList DefaultUserQuotas shared.QuotasList `xml:"DEFAULT_USER_QUOTAS"` }
User represents an OpenNebula user
type UserShort ¶
type UserShort struct { XMLName xml.Name `xml:"USER"` ID int `xml:"ID,omitempty"` GID int `xml:"GID,omitempty"` Groups shared.EntitiesID `xml:"GROUPS,omitempty"` GName string `xml:"GNAME,omitempty"` Name string `xml:"NAME,omitempty"` Password string `xml:"PASSWORD,omitempty"` AuthDriver string `xml:"AUTH_DRIVER,omitempty"` Enabled int `xml:"ENABLED,omitempty"` LoginTokens []LoginToken `xml:"LOGIN_TOKEN,omitempty"` Template dyn.Template `xml:"TEMPLATE"` }
UserShort keeps summary information on a user
Click to show internal directories.
Click to hide internal directories.