Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register makes an Approver available by the provided name.
If called twice with the same name, the name is blank, or if the provided Extractor is nil, this function panics.
func Unregister ¶
func Unregister(name string)
Unregister removes a Approverwith a particular name from the list.
Types ¶
type Approver ¶
type Approver interface {
Approve(v1alpha1.CertificateSigningRequestInterface, *certificates.CertificateSigningRequest) error
}
Approver reprensents anything capable to validating and approving a CSR.
Click to show internal directories.
Click to hide internal directories.