# Functions

InitEnv sets undefined environments.
OnConfigChange read config file every syncTime seconds if config file is changed.
PrintConfig prints configs like key=value.
ReadInConfig is read config file.

# Constants

ConfigClusterName is the key to get cluster.name config.
ConfigExternalRegistrySyncPeriod is the key to get external_registry.sync_period config.
ConfigHarborCoreIngress is the key to get harbor.core.ingress config.
ConfigHarborNamespace is the key to get harbor.namespace config.
ConfigHarborNotaryIngress is the key to get harbor.notary.ingress config.
ConfigImageRegistry is the key to get image.registry config.
ConfigImageRegistryPullRequest is the key to get image.registry_pull_request config.
ConfigImageReportSvr is the key to get elastic_search.url config.
ConfigImageScanSvr is the key to get clair.url config.
ConfigNotaryDBCPU is the key to get notary.db.cpu config.
ConfigNotaryDBImage is the key to get notary.db.image config.
ConfigNotaryDBImagePullSecret is the key to get notary.db.image_pull_secret config.
ConfigNotaryDBMemory is the key to get notary.db.memory config.
ConfigNotaryServerCPU is the key to get notary.server.cpu config.
ConfigNotaryServerImage is the key to get notary.server.image config.
ConfigNotaryServerImagePullSecret is the key to get notary.server.image_pull_secret config.
ConfigNotaryServerMemory is the key to get notary.server.memory config.
ConfigNotarySignerCPU is the key to get notary.signer.cpu config.
ConfigNotarySignerImage is the key to get notary.signer.image config.
ConfigNotarySignerImagePullSecret is the key to get notary.signer.image_pull_secret config.
ConfigNotarySignerMemory is the key to get notary.signer.memory config.
ConfigRegistryCPU is the key to get registry.cpu config.
ConfigRegistryImage is the key to get registry.image config.
ConfigRegistryImagePullSecret is the key to get registry.image_pull_secret config.
ConfigRegistryMemory is the key to get registry.memory config.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

Config is registry's environment configuration.