termination

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublishError

func PublishError(runFunc cobrautil.CobraRunFunc) cobrautil.CobraRunFunc

PublishError returns a new wrapping cobra run function that executes the provided argument runFunc, and writes to disk an error returned by the latter if it is of type termination.TerminationError.

func RegisterFlags

func RegisterFlags(flagset *flag.FlagSet)

RegisterFlags registers the termination log flag

Types

This section is empty.

Jump to

Keyboard shortcuts

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