cmd

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatchSignals

func CatchSignals(callback func())

CatchSignals catches SIGTERM, SIGINT, SIGHUP and executes a callback method before exiting

func FailOnError

func FailOnError(err error, msg string)

FailOnError exits and prints an error message if we encountered a problem

Lifted from

https://raw.githubusercontent.com/letsencrypt/boulder/master/cmd/shell.go

func ReadConfigFile

func ReadConfigFile(filename string, out interface{}) error

ReadConfigFile takes a file path as an argument and attempts to unmarshal the content of the file into a struct containing a configuration of a Pebble component.

Lifted from

https://raw.githubusercontent.com/letsencrypt/boulder/master/cmd/shell.go

Types

This section is empty.

Directories

Path Synopsis
The pebble-challtestsrv command line tool exposes the github.com/letsencrypt/pebble/v2/challtestsrv package as a stand-alone binary with an HTTP management interface.
The pebble-challtestsrv command line tool exposes the github.com/letsencrypt/pebble/v2/challtestsrv package as a stand-alone binary with an HTTP management interface.

Jump to

Keyboard shortcuts

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