Help us shape the future of Go! Take the 2026 Go Developer Survey

fake

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory added in v0.10.0

type Factory struct {
	IssuerForFunc func(iss v1.GenericIssuer) (issuerpkg.Interface, error)
}

func (*Factory) IssuerFor added in v0.10.0

func (f *Factory) IssuerFor(iss v1.GenericIssuer) (issuerpkg.Interface, error)

type Helper added in v0.10.0

type Helper struct {
	GetGenericIssuerFunc func(ref cmmeta.ObjectReference, ns string) (cmapi.GenericIssuer, error)
}

func (*Helper) GetGenericIssuer added in v0.10.0

func (f *Helper) GetGenericIssuer(ref cmmeta.ObjectReference, ns string) (cmapi.GenericIssuer, error)

type Issuer

type Issuer struct {
	SetupFunc func(context.Context) error
	IssueFunc func(context.Context, *cmapi.Certificate) (*issuer.IssueResponse, error)
}

func (*Issuer) Issue

func (i *Issuer) Issue(ctx context.Context, crt *cmapi.Certificate) (*issuer.IssueResponse, error)

Issue attempts to issue a certificate as described by the certificate resource given

func (*Issuer) Setup

func (i *Issuer) Setup(ctx context.Context) error

Setup initialises the issuer. This may include registering accounts with a service, creating a CA and storing it somewhere, or verifying credentials and authorization with a remote server.

Jump to

Keyboard shortcuts

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