package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
NewChartCache is constructor of ChartCache If return nil, that means no cache is enabled for chart repository server.
NewChartClient is constructor of ChartClient credential can be nil.
NewController is constructor of the chartserver.Controller.
NewProxyEngine is constructor of NewProxyEngine.
NewRedisCache create new redis cache with default collection name.
# Variables
DefaultKey the collection name of redis for cache adapter.
# Structs
Cache is Redis cache adapter.
ChartCache is designed to cache some processed data for repeated accessing to improve the performance.
ChartCacheConfig keeps the configurations of ChartCache.
ChartClient is a http client to get the content from the external http server.
ChartInfo keeps the information of the chart.
ChartOperator is designed to process the contents of the specified chart version to get more details.
ChartVersion extends the helm ChartVersion with additional labels.
ChartVersionDetails keeps the detailed data info of the chart version.
Controller is used to handle flows of related requests based on the corresponding handlers A reverse proxy will be created and managed to proxy the related traffics between API and backend chart server.
Credential keeps the username and password for the basic auth.
DigitalSignature used to indicate if the chart has been signed.
ProxyEngine is used to proxy the related traffics.
SecurityReport keeps the info related with security e.g.: digital signature, vulnerability scanning etc.
# Interfaces
ProxyTrafficHandler defines the handler methods to handle the proxy traffic.
ServiceHandler defines the related methods to handle kinds of chart service requests.
# Type aliases
ChartVersions is an array of extended ChartVersion.