certificate

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "certificate-controller"

ControllerName is used to identify this controller.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, params Params) error

Add creates a new Certificate Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type Params

type Params struct {
	Retention int
}

Params for this controller.

type ReconcileCertificate

type ReconcileCertificate struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileCertificate reconciles a Certificate object

func (*ReconcileCertificate) Reconcile

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

Reconcile reads that state of the cluster for a Certificate object and makes changes based on the state read and what is in the Certificate.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=aws.skpr.io,resources=certificate,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=aws.skpr.io,resources=certificaterequests,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

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