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 ¶
This section is empty.
Types ¶
type ACME ¶
type ACME struct {
// contains filtered or unexported fields
}
ACME is a controller that implements `certificaterequests.Issuer`.
func NewACME ¶
func NewACME(ctx *controllerpkg.Context) *ACME
NewACME returns a configured controller.
func (*ACME) Sign ¶
func (a *ACME) Sign(ctx context.Context, cr *v1.CertificateRequest, issuer v1.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.