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 OfflineUpdatesFlags ¶
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 ValidStreams ¶ added in v2.29.7
ValidStreams represents the valid values that can be provided to the 'stream' flag during offline updates.
func NewValidStreams ¶ added in v2.29.7
func NewValidStreams() *ValidStreams
func (*ValidStreams) GetContextualAnalysisStream ¶ added in v2.29.7
func (vs *ValidStreams) GetContextualAnalysisStream() string
func (*ValidStreams) GetExposuresStream ¶ added in v2.29.7
func (vs *ValidStreams) GetExposuresStream() string
func (*ValidStreams) GetPublicDataStream ¶ added in v2.29.7
func (vs *ValidStreams) GetPublicDataStream() string
func (*ValidStreams) GetValidStreamsString ¶ added in v2.29.7
func (vs *ValidStreams) GetValidStreamsString() string
Click to show internal directories.
Click to hide internal directories.