Documentation ¶
Index ¶
- func CertificateHasGivenCondition(cert *v1.Cert, c v1.CertificateCondition) bool
- func GetFullName(namespace, name string) string
- func GetLogObject(inputLog logr.Logger, controllerName string, ...) (logr.Logger, string)
- func GetRecoveryHandlerFunc(l logr.Logger, randString string, namespacedName types.NamespacedName, ...) func()
- func RandSeq(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertificateHasGivenCondition ¶
func CertificateHasGivenCondition( cert *v1.Cert, c v1.CertificateCondition, ) bool
CertificateHasGivenCondition will return true if the given certificate's status conditions has one of the CertificateCondition matching
func GetFullName ¶
func GetLogObject ¶
func GetLogObject( inputLog logr.Logger, controllerName string, namespacedName types.NamespacedName, ) (logr.Logger, string)
GetLogObject will add the requestId ( Random string ) along with the controller name and the current object in process in the controller
func GetRecoveryHandlerFunc ¶
func GetRecoveryHandlerFunc( l logr.Logger, randString string, namespacedName types.NamespacedName, controllerName string, objectName string, ) func()
GetRecoveryHandlerFunc returns the recovery handler function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.