offlineupdate

package
v2.24.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Vulnerability       = "__vuln"
	Component           = "__comp"
	JxrayDefaultBaseUrl = "https://jxray.jfrog.io/"
	JxrayApiBundles     = "api/v1/updates/bundles"
	JxrayApiOnboarding  = "api/v1/updates/onboarding"
)

Variables

This section is empty.

Functions

func OfflineUpdate

func OfflineUpdate(flags *OfflineUpdatesFlags) error

Types

type FilesList

type FilesList struct {
	LastUpdate int64
	Urls       []string
}

type OfflineUpdatesFlags

type OfflineUpdatesFlags struct {
	License                  string
	From                     int64
	To                       int64
	Version                  string
	Target                   string
	IsDBSyncV3               bool
	IsDBSyncV3PeriodicUpdate bool
}

type OnboardingResponse added in v2.17.0

type OnboardingResponse []V3UpdateResponseItem

type V3PeriodicUpdateResponse added in v2.17.0

type V3PeriodicUpdateResponse struct {
	Update   []V3UpdateResponseItem `json:"update"`
	Deletion []V3UpdateResponseItem `json:"deletion"`
}

type V3UpdateResponseItem added in v2.17.0

type V3UpdateResponseItem struct {
	DownloadUrl string `json:"download_url"`
	Timestamp   int64  `json:"timestamp"`
}

Jump to

Keyboard shortcuts

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