Documentation
¶
Index ¶
Constants ¶
View Source
const (
JPDsAPI = "mc/api/v1/jpds"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericError ¶
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 (jpdsm *JPDServicesManager) Client() *jfroghttpclient.JfrogHttpClient
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)
Click to show internal directories.
Click to hide internal directories.