service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeArtifact = "artifact"
	TypeFolder   = "folder"
	TypeRepo     = "repo"
	TypeUser     = "user"

	SortAlpha = "alpha"
	SortAsc   = "asc"
	SortDesc  = "desc"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RepoStatConfiguration

type RepoStatConfiguration struct {
	PageSize             int
	MaxConcurrentWorkers int
	RtDetails            *config.ArtifactoryDetails
	Type                 string
	MaxDepth             int
	Repos                []string
	Sort                 string
	Limit                int
	FilterPathRegexp     *regexp.Regexp
	FilterProperties     []util.KeyValuePair
	ModifiedFrom         time.Time
	ModifiedTo           time.Time
	LastDownloadedFrom   time.Time
	LastDownloadedTo     time.Time
}

type StatItem

type StatItem struct {
	Id    string
	Value int
}

func GetDownloadStat

func GetDownloadStat(conf *RepoStatConfiguration) ([]StatItem, error)

func GetSizeStat

func GetSizeStat(conf *RepoStatConfiguration) ([]StatItem, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳