extendedsecret

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 29 Imported by: 0 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 AddCertificateSigningRequest added in v0.4.0

func AddCertificateSigningRequest(ctx context.Context, config *config.Config, mgr manager.Manager) error

AddCertificateSigningRequest creates a new CertificateSigningRequest controller to watch for new and changed certificate signing request. Reconciliation will approve them and create a secret.

func AddExtendedSecret added in v0.4.0

func AddExtendedSecret(ctx context.Context, config *config.Config, mgr manager.Manager) error

AddExtendedSecret creates a new ExtendedSecrets controller to watch for the custom resource and reconcile it into k8s secrets.

func NewCertificateSigningRequestReconciler added in v0.4.0

func NewCertificateSigningRequestReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, certClient certv1client.CertificatesV1beta1Interface, srf setReferenceFunc) reconcile.Reconciler

NewCertificateSigningRequestReconciler returns a new Reconciler

func NewExtendedSecretReconciler added in v0.4.0

func NewExtendedSecretReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, generator credsgen.Generator, srf setReferenceFunc) reconcile.Reconciler

NewExtendedSecretReconciler returns a new Reconciler

Types

type ReconcileCertificateSigningRequest added in v0.4.0

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

ReconcileCertificateSigningRequest reconciles an CertificateSigningRequest object

func (*ReconcileCertificateSigningRequest) Reconcile added in v0.4.0

Reconcile approves pending CSR and creates its certificate secret

type ReconcileExtendedSecret

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

ReconcileExtendedSecret reconciles an ExtendedSecret object

func (*ReconcileExtendedSecret) Reconcile

Reconcile reads that state of the cluster for a ExtendedSecret object and makes changes based on the state read and what is in the ExtendedSecret.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

Source Files

  • certificatesigningrequest_controller.go
  • certificatesigningrequest_reconciler.go
  • extendedsecret_controller.go
  • extendedsecret_reconciler.go

Jump to

Keyboard shortcuts

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