package
0.4.3
Repository: https://github.com/mittwald/harbor-operator.git
Documentation: pkg.go.dev

# Functions

BuildClient builds a harbor client to interact with the API using the default (admin) credentials of an existing harbor instance.
CheckAndGetReplicationTriggerType enumerates the specified trigger type and returns a trigger type used by Harbor.
CheckFilterType enumerates the specified filter type.
FetchReadyHarborInstance returns a harbor instance based on the provided instance name Also needs a controller client to fetch the actual instance.
GetRegistry gets and returns a registry object.
GetReplication gets and returns a replication object.
GetUser returns a Harbor user, filtering the results of a user search query for the specified user.

# Variables

ErrRegistryNotFound is a custom error type describing the absence of a registry.
ErrReplicationNotFound is a custom error type describing the absence of a replication.
ErrUserNotFound is a custom error type describing the absence of a user.

# Type aliases

ErrInstanceNotFound is called when the corresponding Harbor instance could not be found.
ErrInstanceNotFound is called when the corresponding Harbor instance is not ready.
ErrRegistryNotReady is called when the corresponding RegistryCR (registriesv1alpha1.Registry) is not ready.
HelmClientFactory represent functions to dynamically generate helm clients.