package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
CacheDelete delete a key from cache.
CacheEnabled returns if the cache in exporter enabled.
CacheGet get a value from cache.
CacheInit add cache to exporter.
CachePut put a value to cache with key.
InitHarborClient initialize the harbor client.
NewExporter creates a exporter for Harbor with the configuration.
NewHealthCollect ...
NewProjectCollector ...
NewSystemInfoCollector ...
StartCacheCleaner start a cache clean job.
# Constants
ProjectCollectorName ...
# Structs
Exporter is struct for Harbor which can used to connection Harbor and collecting data.
HarborClient is client for request harbor.
HealthCollector is the Heartbeat.
Opt is the config of Harbor exporter.
ProjectCollector ...
SystemInfoCollector ...