Documentation ¶
Index ¶
- func NewCA(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interface, error)
- type CA
- func (c *CA) Issue(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
- func (c *CA) Prepare(ctx context.Context, crt *v1alpha1.Certificate) error
- func (c *CA) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
- func (c *CA) Setup(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCA ¶
func NewCA(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interface, error)
Types ¶
type CA ¶
type CA struct { *controller.Context // contains filtered or unexported fields }
CA is a simple CA implementation backed by the Kubernetes API server. A secret resource is used to store a CA public and private key that is then used to sign certificates.
func (*CA) Prepare ¶ added in v0.1.0
Prepare does nothing for the CA issuer. In future, this may validate the certificate request against the issuer, or set fields in the Status block to be consumed in Issue and Renew
Click to show internal directories.
Click to hide internal directories.