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

package issuer

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

Index

Package Files

factory.go helper.go issuer.go

func RegisterIssuer Uses

func RegisterIssuer(name string, c IssuerConstructor)

Register will register an issuer constructor so it can be used within the application. 'name' should be unique, and should be used to identify this issuer. TODO: move this method to be on Factory, and invent a way to obtain a SharedFactory. This will make testing easier.

type Factory Uses

type Factory interface {
    IssuerFor(v1alpha2.GenericIssuer) (Interface, error)
}

Factory is an interface that can be used to obtain Issuer implementations. It determines which issuer implementation to use by introspecting the given Issuer resource.

func NewFactory Uses

func NewFactory(ctx *controller.Context) Factory

NewFactory returns a new issuer factory with the given issuer context. The context will be injected into each Issuer upon creation.

type Helper Uses

type Helper interface {
    GetGenericIssuer(ref cmmeta.ObjectReference, ns string) (cmapi.GenericIssuer, error)
}

func NewHelper Uses

func NewHelper(issuerLister cmlisters.IssuerLister, clusterIssuerLister cmlisters.ClusterIssuerLister) Helper

NewHelper will construct a new instance of a Helper using values supplied on the provided controller context.

type Interface Uses

type Interface interface {
    // 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.
    Setup(ctx context.Context) error
}

type IssueResponse Uses

type IssueResponse struct {
    // Certificate is the certificate resource that should be stored in the
    // target secret.
    // It will only be set if the corresponding private key is also set on the
    // IssuerResponse structure.
    Certificate []byte

    // PrivateKey is the private key that should be stored in the target secret.
    // If set, the certificate and CA field will also be overwritten with the
    // contents of the field.
    // If Certificate is not set, the existing Certificate will be overwritten.
    PrivateKey []byte

    // CA is the CA certificate that should be stored in the target secret.
    // This field should only be set if the private key field is set, similar
    // to the Certificate field.
    CA  []byte
}

type IssuerConstructor Uses

type IssuerConstructor func(*controller.Context, v1alpha2.GenericIssuer) (Interface, error)

issuerConstructor constructs an issuer given an Issuer resource and a Context. An error will be returned if the appropriate issuer is not registered.

Directories

PathSynopsis
acme
acme/dns
acme/dns/acmednsPackage acmedns implements a DNS provider for solving DNS-01 challenges using Joohoi's acme-dns project.
acme/dns/akamaiPackage akamai implements a DNS provider for solving the DNS-01 challenge using Akamai FastDNS.
acme/dns/azurednsPackage azuredns implements a DNS provider for solving the DNS-01 challenge using Azure DNS.
acme/dns/clouddnsPackage clouddns implements a DNS provider for solving the DNS-01 challenge using Google Cloud DNS.
acme/dns/cloudflarePackage cloudflare implements a DNS provider for solving the DNS-01 challenge using cloudflare DNS.
acme/dns/digitaloceanPackage digitalocean implements a DNS provider for solving the DNS-01 challenge using digitalocean DNS.
acme/dns/rfc2136
acme/dns/route53Package route53 implements a DNS provider for solving the DNS-01 challenge using AWS Route 53 DNS.
acme/dns/util
acme/dns/webhook
acme/http
acme/http/solver
ca
fake
selfsigned
vault
venafi
venafi/client
venafi/client/api
venafi/client/fake

Package issuer imports 8 packages (graph) and is imported by 74 packages. Updated 2020-08-12. Refresh now. Tools for package owners.