package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
GetAuthSecret get the auth secret from the env.
GetCoreURL get the core url from the env.
GetUIAuthSecret get the auth secret of UI side.
# Constants
JobServicePoolBackendRedis represents redis backend.
JobServiceProtocolHTTP points to the 'http' protocol.
JobServiceProtocolHTTPS points to the 'https' protocol.
# Variables
DefaultConfig is the default configuration reference.
# Structs
Configuration loads and keeps the related configuration items of job service.
HTTPSConfig keeps additional configurations when using https protocol.
LoggerConfig keeps logger basic configurations.
LogSweeperConfig keeps settings of log sweeper.
PoolConfig keeps worker worker configurations.
RedisPoolConfig keeps redis worker info.
# Type aliases
CustomizedSettings keeps the customized settings of logger.