sidecar

package module
v0.0.0-...-c3991e4 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

func NewMockClient

func NewMockClient(b logical.Backend, storage logical.Storage) *MockClient

NewMockClient return a MockClient that can be used in tetss

func (MockClient) Read

func (c MockClient) Read(path string) (*api.Secret, error)

type Provider

type Provider interface {
	Listen(addr string) error
}

Provider solves an ACME challenge

func NewHTTP01Provider

func NewHTTP01Provider(client client, logger log.Logger) Provider

NewHTTP01Provider returns a provider that solves the HTTP-01 challenge defined in https://ietf-wg-acme.github.io/acme/draft-ietf-acme-acme.html#rfc.section.8.3

func NewTLSALPN01Provider

func NewTLSALPN01Provider(client client, logger log.Logger) Provider

NewTLSALPN01Provider returns a provider that solves the TLS-ALPN-01 challenge defined in https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-01

Jump to

Keyboard shortcuts

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