package
1.0.2
Repository: https://github.com/siemens/csharg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Annotate annotates the flag identified by name with the key=ann.
DebugBeforeCommand enables debug logging when requested via the “--debug” flag.
DebugSetupCLI registers the “--debug” CLI flag.
ListSetupCLI adds the “list” command.
NewSharkTank returns a suitable packetflix capture service client by asking the registered client factories one after another until the first one returns a client or an error.
OptionsSetupCLI adds the "option" command.
SetupCLI registers the global ("persistent") CLI flags, as well as the (sub)commands.
VersionSetupCLI adds the “version” command.

# Constants

ClientGroup is the name of an annotation value for flags that should be mutually exclusive for specifying capture service client endpoint information.
Flag annotation for grouping mutually exclusive flags.
NameListTemplate for handling "-o name" and only showing a custom "name" column; this template should be used with no headers shown, as kubectl and others do.
PodListTemplate defines the custom columns when listing only pods.
PodWideListTemplate defines the custom columns when listing only pods in --wide mode.
TargetListTemplate defines the custom columns when listing all types of capture targets.
TargetWideListTemplate is like TargetListTemplate, but additionally tacks on a column listing the capture service pod names.

# Variables

BearerToken specifies an optional user-supplied bearer token for authentication to be used with either the service URL.
ReqTimeout specifies the length of time to wait before giving up on a single server request.