cert-manager: github.com/jetstack/cert-manager/pkg/issuer/fake Index | Files

package fake

import "github.com/jetstack/cert-manager/pkg/issuer/fake"

Index

Package Files

factory.go helper.go issuer.go

type Factory Uses

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

func (*Factory) IssuerFor Uses

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

type Helper Uses

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

func (*Helper) GetGenericIssuer Uses

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

type Issuer Uses

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

func (*Issuer) Issue Uses

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 Uses

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.

Package fake imports 4 packages (graph). Updated 2019-10-10. Refresh now. Tools for package owners.