ca

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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

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

func (*CA) Prepare added in v0.1.0

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 added in v0.1.0

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