Documentation
¶
Index ¶
Constants ¶
View Source
const ( PKG_TYPE_CONDITIONAL uint8 = 0 PKG_TYPE_OPTIONAL uint8 = 1 PKG_TYPE_DEFAULT uint8 = 2 PKG_TYPE_MANDATORY uint8 = 3 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Category ¶
type Category struct { ID string `xml:"id"` Name *LocString `xml:"name"` Description *LocString `xml:"description"` Groups []string `xml:"grouplist>groupid"` }
Category contains info about category
type Comps ¶
type Comps struct { Groups []*Group `xml:"group"` Categories []*Category `xml:"category"` Environments []*Environment `xml:"environment"` Langpacks []*Langpack `xml:"langpacks>match"` }
Comps contains info about groups
type Environment ¶
type Environment struct { ID string `xml:"id"` Name *LocString `xml:"name"` Description *LocString `xml:"description"` DisplayOrder int `xml:"display_order"` Groups []string `xml:"grouplist>groupid"` Options []string `xml:"optionlist>groupid"` }
Environment contains environment info
type Group ¶
type Group struct { ID string `xml:"id"` Name *LocString `xml:"name"` IsDefault bool `xml:"default"` IsVisible bool `xml:"uservisible"` Description *LocString `xml:"description"` Packages []*GroupPackage `xml:"packagelist>packagereq"` }
Group contains info about package group
type GroupPackage ¶
GroupPackage contains info about package in group
func (*GroupPackage) UnmarshalXML ¶
func (p *GroupPackage) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
UnmarshalXML is custom unmarshaller for group info
Click to show internal directories.
Click to hide internal directories.