types

package
v0.0.0-...-981e2ef Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CAKeyInSecret ...
	CAKeyInSecret = "ca.crt"

	// OwnerAnnotationKey ...
	OwnerAnnotationKey = "registry.goharbor.io/uri"
	// InjectionVersionAnnotationKey ...
	InjectionVersionAnnotationKey = "injection.goharbor.io/version"
	// LastUpdateTimestampAnnotationKey ...
	LastUpdateTimestampAnnotationKey = "goharbor.io/last-updated"

	// OwnerGVKLabel ...
	OwnerGVKLabel = "owner.goharbor.io/gvk"
	// OwnerNameLabel ...
	OwnerNameLabel = "owner.goharbor.io/name"

	// HarborCluster kind.
	HarborCluster = "HarborCluster"
	// PackageInstall kind.
	PackageInstall = "PackageInstall"
	// Secret kind.
	Secret = "Secret"
	// CertInjection kind.
	CertInjection = "CertInjection"
	// ConditionReady ...
	ConditionReady = "Ready"
	// ConditionInjector ...
	ConditionInjector = "Injector Ready"
	// ConditionCAReady ...
	ConditionCAReady = "CA Secret Ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Injection

type Injection struct {
	// ExternalDNS of the harbor registry.
	ExternalDNS string
	// CACert is certificate content.
	CACert []byte
}

Injection includes the related info extracted from the certificate source and used by the injector to do the cert injection.

Jump to

Keyboard shortcuts

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