big refactor and testing
This commit is contained in:
parent
a2ed11b2fb
commit
d6b1b90034
26 changed files with 908 additions and 70 deletions
16
agent/patching/structs.go
Normal file
16
agent/patching/structs.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package patching
|
||||
|
||||
type Package struct {
|
||||
Title string `json:"title"`
|
||||
Description string `json:"description"`
|
||||
Categories []string `json:"categories"`
|
||||
CategoryIDs []string `json:"category_ids"`
|
||||
KBArticleIDs []string `json:"kb_article_ids"`
|
||||
MoreInfoURLs []string `json:"more_info_urls"`
|
||||
SupportURL string `json:"support_url"`
|
||||
UpdateID string `json:"guid"`
|
||||
RevisionNumber int32 `json:"revision_number"`
|
||||
Severity string `json:"severity"`
|
||||
Installed bool `json:"installed"`
|
||||
Downloaded bool `json:"downloaded"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue