Documentation ¶
Index ¶
- Constants
- func NewSelfSigned(issuer v1alpha1.GenericIssuer, cl kubernetes.Interface, ...) (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 ¶
View Source
const (
ControllerName = "selfsigned"
)
Variables ¶
This section is empty.
Functions ¶
func NewSelfSigned ¶
func NewSelfSigned(issuer v1alpha1.GenericIssuer, cl kubernetes.Interface, cmclient clientset.Interface, recorder record.EventRecorder, secretsLister corelisters.SecretLister) (issuer.Interface, error)
Types ¶
type SelfSigned ¶
type SelfSigned struct {
// 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 ¶
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 ¶
func (c *SelfSigned) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)
Click to show internal directories.
Click to hide internal directories.