Documentation ¶
Overview ¶
Package certificatesigningrequest implements the controller for Node Certificate Signing Request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderChecks ¶
type ProviderChecks func(context.Context, clientkubernetes.Interface, *x509.CertificateRequest) (bool, error)
ProviderChecks is a function that checks if the CertificateSigningRequest is valid in the provider.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler is the controller for CertificateSigningRequest.
func NewCsrController ¶
func NewCsrController(kclient clientkubernetes.Interface, fn ProviderChecks) *Reconciler
NewCsrController returns a new CertificateSigningRequest controller.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, csr *certificatesv1.CertificateSigningRequest) (bool, error)
Reconcile the CertificateSigningRequest.
func (*Reconciler) Run ¶
func (r *Reconciler) Run(ctx context.Context)
Run the CertificateSigningRequest controller.
Click to show internal directories.
Click to hide internal directories.