ca

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 13 Imported by: 8

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

Issue will issue a certificate using the CA issuer contained in CA. It uses the 'Ready' status condition to convey the majority of failures, and treats them all as errors to be retried. If there are any failures, they are likely caused by missing or invalid supporting resources, and to ensure we re-attempt issuance when these resources are fixed, it always returns an error on any failure.

func (*CA) Setup

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

Jump to

Keyboard shortcuts

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