selfsigned

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSelfSigned

func NewSelfSigned(ctx *controller.Context, issuer v1alpha1.GenericIssuer) (issuer.Interface, error)

Types

type SelfSigned

type SelfSigned struct {
	*controller.Context
	// 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)

func (*SelfSigned) Setup

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

Jump to

Keyboard shortcuts

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