Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CRControllerName is the string used to refer to // this controller when enabling or disabling it from // command line flags. CRControllerName = "certificaterequests-issuer-acme" )
Variables ¶
This section is empty.
Functions ¶
func NewACME ¶
func NewACME(ctx *controllerpkg.Context) certificaterequests.Issuer
NewACME returns a configured controller.
Types ¶
type ACME ¶
type ACME struct {
// contains filtered or unexported fields
}
ACME is a controller that implements `certificaterequests.Issuer`.
func (*ACME) Sign ¶
func (a *ACME) Sign(ctx context.Context, cr *cmapi.CertificateRequest, issuer cmapi.GenericIssuer) (*issuerpkg.IssueResponse, error)
Sign returns a CA, certificate and Key from an ACME CA.
If no order exists for a CertificateRequest, an order is constructed and sent back to the Kubernetes API server for processing. The order controller then processes the order. The CertificateRequest is then updated with the result.
Click to show internal directories.
Click to hide internal directories.