services

package
v1.54.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrichService

type EnrichService struct {
	CatalogDetails  auth.ServiceDetails
	ScopeProjectKey string
	// contains filtered or unexported fields
}

func NewEnrichService

func NewEnrichService(client *jfroghttpclient.JfrogHttpClient) *EnrichService

func (*EnrichService) Enrich

func (es *EnrichService) Enrich(bom *cyclonedx.BOM) (enriched *cyclonedx.BOM, err error)

Enrich will enrich the CycloneDX BOM with additional security information

type VersionService

type VersionService struct {
	CatalogDetails auth.ServiceDetails
	// contains filtered or unexported fields
}

func NewVersionService

func NewVersionService(client *jfroghttpclient.JfrogHttpClient) *VersionService

NewVersionService creates a new service to retrieve the version of Catalog

func (*VersionService) GetVersion

func (vs *VersionService) GetVersion() (string, error)

Catalog currently does not have a version endpoint, so we use the ping endpoint to check if the service is up and running. https://jfrog-int.atlassian.net/browse/CTLG-829

Jump to

Keyboard shortcuts

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