Documentation ¶
Index ¶
- Constants
- func GetCertManagerClientset() (certv1client.CertmanagerV1Interface, error)
- func NewComponent() spi.Component
- func RenewCertificate(ctx context.Context, cmclientv1 certv1client.CertmanagerV1Interface, ...) error
- func ResetCMClientFunc()
- func SetCMClientFunc(function GetCertManagerClientFuncType)
- func UninstallCleanup(log vzlog.VerrazzanoLogger, cli crtclient.Client, namespace string) error
- type CertIssuerType
- type GetCertManagerClientFuncType
Constants ¶
View Source
const ComponentJSONName = cmconstants.ClusterIssuerComponentJSONName
ComponentJSONName - this is not a real component but declare it for compatibility
View Source
const ComponentName = cmconstants.ClusterIssuerComponentName
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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.