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 {
|
type Action struct {
|
||||||
XMLName xml.Name `xml:"action" datastore:"-"`
|
XMLName xml.Name `xml:"action" datastore:"-"`
|
||||||
Event string `xml:"event,attr"`
|
Event string `xml:"event,attr"`
|
||||||
|
|
||||||
// Extensions added by update_engine
|
// Extensions added by update_engine
|
||||||
ChromeOSVersion string `xml:"ChromeOSVersion,attr"`
|
ChromeOSVersion string `xml:"ChromeOSVersion,attr"`
|
||||||
Sha256 string `xml:"sha256,attr"`
|
Sha256 string `xml:"sha256,attr"`
|
||||||
NeedsAdmin bool `xml:"needsadmin,attr"`
|
NeedsAdmin bool `xml:"needsadmin,attr"`
|
||||||
IsDelta bool `xml:"IsDelta,attr"`
|
IsDelta bool `xml:"IsDelta,attr"`
|
||||||
DisablePayloadBackoff bool `xml:"DisablePayloadBackoff,attr,omitempty"`
|
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 {
|
func (m *Manifest) AddAction(event string) *Action {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue