Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
type HealthChecker interface {
Check() error
}
HealthChecker defines the interface for health check implementations.
func CertSignerHealthCheckerFromIssuerAndSecretData ¶
func CertSignerHealthCheckerFromIssuerAndSecretData(*certv1alpha1.IssuerSpec, map[string][]byte) (HealthChecker, error)
CertSignerHealthCheckerFromIssuerAndSecretData returns a HealthChecker for a certSigner.
type HealthCheckerBuilder ¶
type HealthCheckerBuilder func(*certv1alpha1.IssuerSpec, map[string][]byte) (HealthChecker, error)
HealthCheckerBuilder creates a HealthChecker from issuer spec and secret data.
type Signer ¶
type Signer interface {
Sign(ctx context.Context, logger logr.Logger, csrBytes []byte) ([]byte, []byte, error)
}
Signer defines the interface for signing certificates.
func CertSignerFromIssuerAndSecretData ¶
func CertSignerFromIssuerAndSecretData(issuerSpec *certv1alpha1.IssuerSpec, secretData map[string][]byte, kubeClient kube.Client) (Signer, error)
CertSignerFromIssuerAndSecretData is a wrapper for certSignerFromIssuerAndSecretData that returns a Signer interface.
type SignerBuilder ¶
type SignerBuilder func(*certv1alpha1.IssuerSpec, map[string][]byte, kube.Client) (Signer, error)
SignerBuilder creates a Signer from issuer spec, secret data, and a kube client.
Click to show internal directories.
Click to hide internal directories.