common

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventSource = "cert-external-issuer"
)

Variables

This section is empty.

Functions

func CollectEvents

func CollectEvents(eventRecorder *record.FakeRecorder) []string

CollectEvents returns a string slice collecting all events from the recorder.

func GetIssuerSpecAndStatus

func GetIssuerSpecAndStatus(issuer client.Object) (*certv1alpha1.IssuerSpec, *certv1alpha1.IssuerStatus, error)

GetIssuerSpecAndStatus returns the spec and status of an Issuer or ClusterIssuer.

func GetSecret

func GetSecret(cl client.Client, ctx context.Context, issuer client.Object, secretName, namespace, clusterResourceNamespace string) (corev1.Secret, error)

GetSecret returns the secret where the credentials for the issuer exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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