wsusscn2

package
v0.0.0-...-bef7b93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(opts ...Option) error

Types

type L

type L struct {
	Language struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"Language" json:"language,omitempty"`
	Title struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"Title" json:"title,omitempty"`
	Description struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"Description" json:"description,omitempty"`
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithConcurrency

func WithConcurrency(concurrency int) Option

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

type Update

type Update struct {
	CreationDate    string `xml:"CreationDate,attr" json:"creationdate,omitempty"`
	DefaultLanguage string `xml:"DefaultLanguage,attr" json:"defaultlanguage,omitempty"`
	UpdateID        string `xml:"UpdateId,attr" json:"updateid,omitempty"`
	// RevisionNumber   string `xml:"RevisionNumber,attr" json:"revisionnumber,omitempty"`
	RevisionID       string `xml:"RevisionId,attr" json:"revisionid,omitempty"`
	IsLeaf           string `xml:"IsLeaf,attr" json:"isleaf,omitempty"`
	IsBundle         string `xml:"IsBundle,attr" json:"isbundle,omitempty"`
	DeploymentAction string `xml:"DeploymentAction,attr" json:"deploymentaction,omitempty"`
	IsSoftware       string `xml:"IsSoftware,attr" json:"issoftware,omitempty"`
	// Prerequisites    struct {
	// 	UpdateId []struct {
	// 		ID string `xml:"Id,attr" json:"id,omitempty"`
	// 	} `xml:"UpdateId" json:"updateid,omitempty"`
	// 	Or []struct {
	// 		UpdateId []struct {
	// 			ID string `xml:"Id,attr" json:"id,omitempty"`
	// 		} `xml:"UpdateId" json:"updateid,omitempty"`
	// 	} `xml:"Or" json:"or,omitempty"`
	// } `xml:"Prerequisites" json:"prerequisites,omitempty"`
	Categories struct {
		Category []struct {
			Type string `xml:"Type,attr" json:"type,omitempty"`
			ID   string `xml:"Id,attr" json:"id,omitempty"`
		} `xml:"Category" json:"category,omitempty"`
	} `xml:"Categories" json:"categories,omitempty"`
	// PayloadFiles struct {
	// 	File []struct {
	// 		ID string `xml:"Id,attr" json:"id,omitempty"`
	// 	} `xml:"File" json:"file,omitempty"`
	// } `xml:"PayloadFiles" json:"payloadfiles,omitempty"`
	Languages struct {
		Language []struct {
			Name string `xml:"Name,attr" json:"name,omitempty"`
		} `xml:"Language" json:"language,omitempty"`
	} `xml:"Languages" json:"languages,omitempty"`
	// BundledBy struct {
	// 	Revision []struct {
	// 		ID string `xml:"Id,attr" json:"id,omitempty"`
	// 	} `xml:"Revision" json:"revision,omitempty"`
	// } `xml:"BundledBy" json:"bundledby,omitempty"`
	SupersededBy struct {
		Revision []struct {
			ID string `xml:"Id,attr" json:"id,omitempty"`
		} `xml:"Revision" json:"revision,omitempty"`
	} `xml:"SupersededBy" json:"supersededby,omitempty"`
}

type X

type X struct {
	DefaultPropertiesLanguage  string `xml:"DefaultPropertiesLanguage,attr" json:"defaultpropertieslanguage,omitempty"`
	Handler                    string `xml:"Handler,attr" json:"handler,omitempty"`
	MaxDownloadSize            string `xml:"MaxDownloadSize,attr" json:"maxdownloadsize,omitempty"`
	MinDownloadSize            string `xml:"MinDownloadSize,attr" json:"mindownloadsize,omitempty"`
	MsrcSeverity               string `xml:"MsrcSeverity,attr" json:"msrcseverity,omitempty"`
	IsBeta                     string `xml:"IsBeta,attr" json:"isbeta,omitempty"`
	RequiresReacceptanceOfEula string `xml:"RequiresReacceptanceOfEula,attr" json:"requiresreacceptanceofeula,omitempty"`
	RecommendedCpuSpeed        string `xml:"RecommendedCpuSpeed,attr" json:"recommendedcpuspeed,omitempty"`
	RecommendedMemory          string `xml:"RecommendedMemory,attr" json:"recommendedmemory,omitempty"`
	RecommendedHardDiskSpace   string `xml:"RecommendedHardDiskSpace,attr" json:"recommendedharddiskspace,omitempty"`
	BrowseOnly                 string `xml:"BrowseOnly,attr" json:"browseonly,omitempty"`
	InstallationBehavior       struct {
		RebootBehavior      string `xml:"RebootBehavior,attr" json:"rebootbehavior,omitempty"`
		CanRequestUserInput string `xml:"CanRequestUserInput,attr" json:"canrequestuserinput,omitempty"`
	} `xml:"InstallationBehavior" json:"installationbehavior,omitempty"`
	Language []struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"Language" json:"language,omitempty"`
	SupportUrl struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"SupportUrl" json:"supporturl,omitempty"`
	SecurityBulletinID struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"SecurityBulletinID" json:"securitybulletinid,omitempty"`
	KBArticleID struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"KBArticleID" json:"kbarticleid,omitempty"`
	UninstallationBehavior struct {
		RebootBehavior string `xml:"RebootBehavior,attr" json:"rebootbehavior,omitempty"`
	} `xml:"UninstallationBehavior" json:"uninstallationbehavior,omitempty"`
	CveID []struct {
		Text string `xml:",chardata" json:"text,omitempty"`
	} `xml:"CveID" json:"cveid,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL