executils

package
v0.0.0-...-08f2f83 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGracefulShutdownDuration = 30 * time.Second
)

Variables

View Source
var MaxLogLineLength = 2048

Functions

func GracefulShutdown

func GracefulShutdown(cmd *exec.Cmd, timeouts ...time.Duration) func() error

func NewLogWriter

func NewLogWriter(l LogFunc, bufferLastLine bool) io.WriteCloser

Types

type LogFunc

type LogFunc func(string)

func ContextLogFunc

func ContextLogFunc(ctx context.Context) LogFunc

func LoggerLogFunc

func LoggerLogFunc(l logr.Logger) LogFunc

Jump to

Keyboard shortcuts

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