source

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AnnotationPurposeKey is the annotation key for the purpose
	AnnotationPurposeKey = "cert.gardener.cloud/purpose"
	// AnnotationPurposeValueManaged is the managed value for the purpose annotation
	AnnotationPurposeValueManaged = "managed"
	// DeprecatedLabelNamePurpose is the label key for the purpose
	DeprecatedLabelNamePurpose = "garden.sapcloud.io/purpose"
	// DeprecatedLabelValueManaged is the managed value for the purpose label
	DeprecatedLabelValueManaged = "managed-cert"
)

Variables

This section is empty.

Functions

func GetCertsInfoByCollector

func GetCertsInfoByCollector(logger logger.LogContext, objData resources.ObjectData, tlsDataCollector TLSDataCollector) (*source.CertsInfo, error)

GetCertsInfoByCollector collects data from annotations and from the resources needed for creating certificates.

Types

type TLSData

type TLSData struct {
	SecretNamespace *string
	SecretName      string
	Hosts           []string
}

TLSData contains the collection results: secret name and host list.

type TLSDataCollector

type TLSDataCollector func(objData resources.ObjectData) ([]*TLSData, error)

TLSDataCollector collects TLS secret names for hosts.

Directories

Path Synopsis
gateways

Jump to

Keyboard shortcuts

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