certificatesigningcontroller

package
v0.1.87 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificateLoadingController

func NewCertificateLoadingController(
	rotatedSigningCASecretNamespace, rotatedSigningCASecretName string,
	kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces,
	eventRecorder events.Recorder,
) (func(ctx context.Context) (*librarygocrypto.CA, error), factory.Controller)

func NewCertificateSigningController

func NewCertificateSigningController(
	hostedControlPlane *hypershiftv1beta1.HostedControlPlane,
	signer certificates.SignerClass,
	getCurrentCABundleContent func(context.Context) (*librarygocrypto.CA, error),
	kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces,
	kubeClient kubernetes.Interface,
	eventRecorder events.Recorder,
	certTTL time.Duration,
) factory.Controller

Types

type CertificateLoadingController

type CertificateLoadingController struct {
	// contains filtered or unexported fields
}

func (*CertificateLoadingController) CurrentCA

CurrentCA provides the current value of the CA. This is a blocking call as the value being loaded may not exist at the time it's being requested.

func (*CertificateLoadingController) SetCA

func (c *CertificateLoadingController) SetCA(certPEM, keyPEM []byte) (bool, error)

SetCA unconditionally stores the current cert/key content

type CertificateSigningController

type CertificateSigningController struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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