feat(omaha): add more update_engine extensions
This commit is contained in:
parent
60265ef0fc
commit
94018ed305
1 changed files with 10 additions and 7 deletions
|
@ -193,15 +193,18 @@ type Actions struct {
|
|||
}
|
||||
|
||||
type Action struct {
|
||||
XMLName xml.Name `xml:"action" datastore:"-"`
|
||||
Event string `xml:"event,attr"`
|
||||
XMLName xml.Name `xml:"action" datastore:"-"`
|
||||
Event string `xml:"event,attr"`
|
||||
|
||||
// Extensions added by update_engine
|
||||
ChromeOSVersion string `xml:"ChromeOSVersion,attr"`
|
||||
Sha256 string `xml:"sha256,attr"`
|
||||
NeedsAdmin bool `xml:"needsadmin,attr"`
|
||||
IsDelta bool `xml:"IsDelta,attr"`
|
||||
DisablePayloadBackoff bool `xml:"DisablePayloadBackoff,attr,omitempty"`
|
||||
ChromeOSVersion string `xml:"ChromeOSVersion,attr"`
|
||||
Sha256 string `xml:"sha256,attr"`
|
||||
NeedsAdmin bool `xml:"needsadmin,attr"`
|
||||
IsDelta bool `xml:"IsDelta,attr"`
|
||||
DisablePayloadBackoff bool `xml:"DisablePayloadBackoff,attr,omitempty"`
|
||||
MetadataSignatureRsa string `xml:"MetadataSignatureRsa,attr,omitempty"`
|
||||
MetadataSize string `xml:"MetadataSize,attr,omitempty"`
|
||||
Deadline string `xml:"deadline,attr,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Manifest) AddAction(event string) *Action {
|
||||
|
|
Loading…
Reference in a new issue