conditions

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIssuerStatusCondition

func GetIssuerStatusCondition(
	conditions []cmapi.IssuerCondition,
	conditionType cmapi.IssuerConditionType,
) *cmapi.IssuerCondition

func SetCertificateRequestStatusCondition

func SetCertificateRequestStatusCondition(
	clock clock.PassiveClock,
	existingConditions []cmapi.CertificateRequestCondition,
	patchConditions *[]cmapi.CertificateRequestCondition,
	conditionType cmapi.CertificateRequestConditionType,
	status cmmeta.ConditionStatus,
	reason, message string,
) (*cmapi.CertificateRequestCondition, *metav1.Time)

Update the status with the provided condition details & return the added condition.

func SetCertificateSigningRequestStatusCondition

func SetCertificateSigningRequestStatusCondition(
	clock clock.PassiveClock,
	existingConditions []certificatesv1.CertificateSigningRequestCondition,
	patchConditions *[]certificatesv1.CertificateSigningRequestCondition,
	conditionType certificatesv1.RequestConditionType,
	status v1.ConditionStatus,
	reason, message string,
) (*certificatesv1.CertificateSigningRequestCondition, *metav1.Time)

Update the status with the provided condition details & return the added condition.

func SetIssuerStatusCondition

func SetIssuerStatusCondition(
	clock clock.PassiveClock,
	existingConditions []cmapi.IssuerCondition,
	patchConditions *[]cmapi.IssuerCondition,
	observedGeneration int64,
	conditionType cmapi.IssuerConditionType,
	status cmmeta.ConditionStatus,
	reason, message string,
) (*cmapi.IssuerCondition, *metav1.Time)

Update the status with the provided condition details & return the added condition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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