jpd

package
v1.55.1-0...-613a6b6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JPDsAPI = "mc/api/v1/jpds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericError

type GenericError struct {
	Product string
	Err     error `display:"Error"`
}

func NewGenericError

func NewGenericError(product string, err error) *GenericError

func (GenericError) Error

func (g GenericError) Error() string

type JPDServicesManager

type JPDServicesManager struct {
	// contains filtered or unexported fields
}

func NewJPDServicesManager

func NewJPDServicesManager(config config.Config) (*JPDServicesManager, error)

func (*JPDServicesManager) Client

func (*JPDServicesManager) GetJPDsStats

func (jpdsm *JPDServicesManager) GetJPDsStats(serverUrl string) ([]byte, error)

type JPDsStatsService

type JPDsStatsService struct {
	ArtDetails auth.ServiceDetails
	ServerUrl  string
	// contains filtered or unexported fields
}

func NewJPDsStatsService

func NewJPDsStatsService(artDetails auth.ServiceDetails, client *jfroghttpclient.JfrogHttpClient) *JPDsStatsService

func (*JPDsStatsService) GetAllJPDs

func (ss *JPDsStatsService) GetAllJPDs(serverUrl string) ([]byte, error)

func (*JPDsStatsService) GetServerUrl

func (s *JPDsStatsService) GetServerUrl() string

func (*JPDsStatsService) SetServerUrl

func (s *JPDsStatsService) SetServerUrl(serverUrl string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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