Documentation ¶
Index ¶
- Constants
- func NewCA(issuer v1alpha1.GenericIssuer, cl kubernetes.Interface, ...) (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 ¶
View Source
const (
ControllerName = "ca"
)
Variables ¶
This section is empty.
Functions ¶
func NewCA ¶
func NewCA(issuer v1alpha1.GenericIssuer, cl kubernetes.Interface, cmclient clientset.Interface, recorder record.EventRecorder, issuerResourcesNamespace string, secretsLister corelisters.SecretLister) (issuer.Interface, error)
Types ¶
type CA ¶
type CA struct {
// 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.