Documentation
¶
Index ¶
- func NewSelfSigned(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interface, error)
- type SelfSigned
- func (c *SelfSigned) Issue(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
- func (c *SelfSigned) Prepare(ctx context.Context, crt *v1alpha1.Certificate) error
- func (c *SelfSigned) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
- func (c *SelfSigned) Setup(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSelfSigned ¶
func NewSelfSigned(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interface, error)
Types ¶
type SelfSigned ¶
type SelfSigned struct { *controller.Context // contains filtered or unexported fields }
SelfSigned is an Issuer implementation the simply self-signs Certificates.
func (*SelfSigned) Issue ¶
func (c *SelfSigned) Issue(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
func (*SelfSigned) Prepare ¶ added in v0.4.0
func (c *SelfSigned) Prepare(ctx context.Context, crt *v1alpha1.Certificate) error
Prepare does nothing for the SelfSigned 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
func (*SelfSigned) Renew ¶ added in v0.4.0
func (c *SelfSigned) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
Click to show internal directories.
Click to hide internal directories.