cmd

package
v2.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppLogger

func AppLogger(c *cli.Context) logr.Logger

AppLogger retrieves the application-wide logger instance from the cli.Context's Metadata. This function will return nil if SetAppLogger was not called before this function is called.

func SetAppLogger

func SetAppLogger(c *cli.Context, logger logr.Logger)

SetAppLogger stores the application-wide logger instance to the cli.Context's Metadata, so that it can later be retrieved by AppLogger.

func SplitAtComma added in v2.14.0

func SplitAtComma(slice []string) []string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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