util

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Clock is defined as a package var so it can be stubbed out during tests.

Functions

func CertificateSigningRequestIsApproved

func CertificateSigningRequestIsApproved(csr *certificatesv1.CertificateSigningRequest) bool

func CertificateSigningRequestIsDenied

func CertificateSigningRequestIsDenied(csr *certificatesv1.CertificateSigningRequest) bool

func CertificateSigningRequestIsFailed

func CertificateSigningRequestIsFailed(csr *certificatesv1.CertificateSigningRequest) bool

func CertificateSigningRequestSetFailed

func CertificateSigningRequestSetFailed(csr *certificatesv1.CertificateSigningRequest, reason, message string)

func IssuerKindFromType

func IssuerKindFromType(issuerType string) (string, bool)

IssuerKindFromType will return the cert-manager.io Issuer Kind from a resource type name.

Types

type SignerIssuerRef

type SignerIssuerRef struct {
	Namespace, Name string
	Type, Group     string
}

func SignerIssuerRefFromSignerName

func SignerIssuerRefFromSignerName(name string) (SignerIssuerRef, bool)

SignerIssuerRefFromSignerName will return a SignerIssuerRef from a CertificateSigningRequests.Spec.SignerName

Jump to

Keyboard shortcuts

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