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

package vault

import "github.com/jetstack/cert-manager/pkg/internal/vault"

Index

Package Files

vault.go

type Client Uses

type Client interface {
    NewRequest(method, requestPath string) *vault.Request
    RawRequest(r *vault.Request) (*vault.Response, error)
    SetToken(v string)
    Token() string
    Sys() *vault.Sys
}

type Interface Uses

type Interface interface {
    Sign(csrPEM []byte, duration time.Duration) (certPEM []byte, caPEM []byte, err error)
    Sys() *vault.Sys
}

func New Uses

func New(namespace string, secretsLister corelisters.SecretLister,
    issuer v1alpha2.GenericIssuer) (Interface, error)

type Vault Uses

type Vault struct {
    // contains filtered or unexported fields
}

func (*Vault) Sign Uses

func (v *Vault) Sign(csrPEM []byte, duration time.Duration) (cert []byte, ca []byte, err error)

func (*Vault) Sys Uses

func (v *Vault) Sys() *vault.Sys

type VaultClientBuilder Uses

type VaultClientBuilder func(namespace string, secretsLister corelisters.SecretLister,
    issuer v1alpha2.GenericIssuer) (Interface, error)

Directories

PathSynopsis
fake

Package vault imports 13 packages (graph) and is imported by 4 packages. Updated 2020-08-05. Refresh now. Tools for package owners.