Documentation
¶
Index ¶
- Constants
- func BuildClient(ctx context.Context, client client.Client, harbor *v1alpha2.Instance) (*h.RESTClient, error)
- func GenerateProjectMetadata(projectMeta *v1alpha2.ProjectMetadata) *model.ProjectMetadata
- func HarborInstanceIsHealthy(ctx context.Context, harborClient *h.RESTClient) (bool, error)
Constants ¶
View Source
const FinalizerName = "harbor-operator.registries.mittwald.de"
Variables ¶
This section is empty.
Functions ¶
func BuildClient ¶
func BuildClient(ctx context.Context, client client.Client, harbor *v1alpha2.Instance) (*h.RESTClient, error)
BuildClient builds a harbor client to interact with the API using the default (admin) credentials of an existing harbor instance.
func GenerateProjectMetadata ¶ added in v1.2.6
func GenerateProjectMetadata(projectMeta *v1alpha2.ProjectMetadata) *model.ProjectMetadata
GenerateProjectMetadata constructs the project metadata for a Harbor project
func HarborInstanceIsHealthy ¶ added in v1.3.10
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.