deployment

package
v0.0.0-...-0bc8de7 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 11 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 Deployment

type Deployment struct {
	ID               string    `json:"id"`
	ArticleName      *string   `json:"articleName,omitempty"`
	ArticleURL       *string   `json:"articleUrl,omitempty"`
	DownloadName     string    `json:"downloadName"`
	DownloadURL      *string   `json:"downloadUrl,omitempty"`
	FixedBuildNumber *string   `json:"fixedBuildNumber,omitempty"`
	Impact           *string   `json:"impact,omitempty"`
	ImpactID         int       `json:"impactId"`
	KnownIssuesName  *string   `json:"knownIssuesName,omitempty"`
	KnownIssuesURL   *string   `json:"knownIssuesUrl,omitempty"`
	Ordinal          int       `json:"ordinal"`
	Platform         *string   `json:"platform,omitempty"`
	PlatformID       int       `json:"platformId"`
	Product          string    `json:"product"`
	ProductFamily    string    `json:"productFamily"`
	ProductFamilyID  int       `json:"productFamilyId"`
	ProductID        int       `json:"productId"`
	RebootRequired   *string   `json:"rebootRequired,omitempty"`
	ReleaseDate      time.Time `json:"releaseDate"`
	ReleaseNumber    string    `json:"releaseNumber"`
	Severity         *string   `json:"severity,omitempty"`
	SeverityID       int       `json:"severityId"`
	Supercedence     *string   `json:"supercedence,omitempty"`
}

type Option

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

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option