issuer

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: UPL-1.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

ComponentJSONName - this is not a real component but declare it for compatibility

ComponentName is the name of the component

View Source
const ComponentNamespace = vzconst.CertManagerNamespace

ComponentNamespace is the namespace of the component

Variables

This section is empty.

Functions

func GetCertManagerClientset

func GetCertManagerClientset() (certv1client.CertmanagerV1Interface, error)

GetCertManagerClientset Get a CertManager clientset object

func NewComponent

func NewComponent() spi.Component

NewComponent returns a new CertManager component

func RenewCertificate added in v1.6.6

func RenewCertificate(ctx context.Context, cmclientv1 certv1client.CertmanagerV1Interface, log vzlog.VerrazzanoLogger, updateCert *certv1.Certificate) error

RenewCertificate Requests a new certificate by updating the status of the Certificate object to "Issuing"

func ResetCMClientFunc added in v1.6.6

func ResetCMClientFunc()

ResetCMClientFunc - reset getCMClientFunc to the default value

func SetCMClientFunc added in v1.6.6

func SetCMClientFunc(function GetCertManagerClientFuncType)

func UninstallCleanup

func UninstallCleanup(log vzlog.VerrazzanoLogger, cli crtclient.Client, namespace string) error

Types

type CertIssuerType

type CertIssuerType string

CertIssuerType identifies the certificate issuer type

type GetCertManagerClientFuncType added in v1.6.6

type GetCertManagerClientFuncType func() (certv1client.CertmanagerV1Interface, error)

var getClientFunc cmcommon.GetCoreV1ClientFuncType = k8sutil.GetCoreV1Client

func GetCMClientFunc added in v1.6.6

func GetCMClientFunc() GetCertManagerClientFuncType

GetCMClientFunc - return the function to use for getting the cert-manager client

Jump to

Keyboard shortcuts

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