certificatesigningrequests

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "certificatesigningrequests"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller is a base Kubernetes CertificateSigningRequest controller. It is responsible for orchestrating and performing shared operations that all CertificateSigningRequest controllers do, before passing the CertificateSigningRequest to a Singer implementation who instantiated this controller.

func New

func New(signerType string, signer Signer, extraInformers ...cache.SharedIndexInformer) *Controller

New will construct a new certificatesigningrequest controller using the given Signer implementation. Note: the extraInformers passed here will be 'waited' for when starting to ensure their corresponding listers have synced. An event handler will then be set on these informers that automatically resyncs CertificateSigningRequest resources that 'own' the objects in the informer. It's the callers responsibility to ensure the Run function on the informer is called in order to start the reflector. This is handled automatically when the informer factory's Start method is called, if the given informer was obtained using a SharedInformerFactory.

func (*Controller) ProcessItem

func (c *Controller) ProcessItem(ctx context.Context, key string) error

func (*Controller) Sync

type Signer

Signer is an implementation of a Kubernetes CertificateSigningRequest signer, backed by a cert-manager Issuer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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