certificaterequest

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FinalizerName for tagging objects for action on deletion (delete remote source).
	FinalizerName = "certificaterequest.aws.skpr.io"
	// ControllerName is used to identify this controller.
	ControllerName = "certificate-request-controller"
)

Variables

This section is empty.

Functions

func Add

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

Add creates a new CertificateRequest 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 {
	Prefix string
}

Params for this controller.

type ReconcileCertificateRequest

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

ReconcileCertificateRequest reconciles a Certificate object

func (*ReconcileCertificateRequest) CreateCertificate

func (r *ReconcileCertificateRequest) CreateCertificate(certificate *awsv1beta1.CertificateRequest) (string, error)

CreateCertificate as part of a request.

func (*ReconcileCertificateRequest) DeleteCertificate

func (r *ReconcileCertificateRequest) DeleteCertificate(certificate *awsv1beta1.CertificateRequest) error

DeleteCertificate as part of cleanup.

func (*ReconcileCertificateRequest) DescribeCertificate

DescribeCertificate to get the latest status.

func (*ReconcileCertificateRequest) Reconcile

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=certificates,verbs=get;list;watch;update;patch

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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