ca

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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) Issue

func (c *CA) Issue(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)

func (*CA) Prepare

func (c *CA) Prepare(ctx context.Context, crt *v1alpha1.Certificate) error

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

func (*CA) Renew

func (c *CA) Renew(ctx context.Context, crt *v1alpha1.Certificate) ([]byte, []byte, error)

func (*CA) Setup

func (c *CA) Setup(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL