quarkssecret

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCertificateSigningRequest

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 AddQuarksSecret

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

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

func NewCertificateSigningRequestReconciler

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

NewCertificateSigningRequestReconciler returns a new Reconciler

func NewQuarksSecretReconciler

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

NewQuarksSecretReconciler returns a new ReconcileQuarksSecret

Types

type ReconcileCertificateSigningRequest

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

ReconcileCertificateSigningRequest reconciles an CertificateSigningRequest object

func (*ReconcileCertificateSigningRequest) Reconcile

Reconcile approves pending CSR and creates its certificate secret

type ReconcileQuarksSecret

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

ReconcileQuarksSecret reconciles an QuarksSecret object

func (*ReconcileQuarksSecret) Reconcile

func (r *ReconcileQuarksSecret) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a QuarksSecret object and makes changes based on the state read and what is in the QuarksSecret.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.

Jump to

Keyboard shortcuts

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