package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
DragonflyFactory creates dragonfly driver.
GetProvider returns the driver factory identified by the ID.
KrakenFactory creates kraken driver.
ListProviders returns all the registered drivers.
MockDragonflyProvider mocks a Dragonfly server.
MockKrakenProvider mocks a Kraken server.
# Constants
DriverDragonfly represents the driver for dragonfly.
DriverKraken represents the driver for kraken.
DriverStatusHealthy represents the healthy status.
DriverStatusUnHealthy represents the unhealthy status.
SupportedType indicates the supported preheating type 'image'.
# Structs
DragonflyDriver implements the provider driver interface for Alibaba dragonfly.
DriverStatus keeps the health status of driver.
KrakenDriver implements the provider driver interface for Uber kraken.
Metadata contains the basic information of the provider.
PreheatImage contains related information which can help providers to get/pull the images.
PreheatingStatus contains the related results/status of the preheating operation from the provider.
# Interfaces
Driver defines the capabilities one distribution provider should have.
# Type aliases
Factory is responsible to create a new driver based on the metadata.