internal

package
v1.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

func HarborInstanceIsHealthy(ctx context.Context, harborClient *h.RESTClient) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL