testutils

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPebbleAvailability

func CheckPebbleAvailability(certificatePath string, listenAddress string) error

CheckPebbleAvailability checks if the Pebble ACME server is available at the given address.

func NewLogBridge

func NewLogBridge(logr logr.Logger) *log.Logger

NewLogBridge creates a new log.Logger that forwards all log messages to the given logr.Logger.

func RunPebble

func RunPebble(logr logr.Logger) (server *http.Server, certificatePath, directoryAddress string, err error)

RunPebble runs a pebble server with the given configuration. The code is copied, shortened, and adapted from: https://github.com/letsencrypt/pebble/blob/main/cmd/pebble/main.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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