package
2.4.0-alpha+incompatible
Repository: https://github.com/emnify/vpp-agent.git
Documentation: pkg.go.dev

# Functions

AddBaseCommands adds all base commands to cmd.
DisableFlagsInUseLine sets the DisableFlagsInUseLine flag on all commands within the tree rooted at cmd.
ExitCode returns proper exit code for err or 0 if err is nil.
FlagErrorFunc returns status error when err is not nil.
NewAgentCli creates new AgentCli with opts and configures log output to error stream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewRoot returns new Root using RootName for name.
NewRootCommand is helper for default initialization process for root command.
NewRootNamed returns new Root named with name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SetupRootCommand setups cobra command and returns CLI client options, flags and help command.
ShowHelp shows the command help.
VisitAll will traverse all commands from the root.

# Variables

RootName defines default name used for the root command.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Root encapsulates a top-level cobra command (either agentctl or custom one).
StatusError reports an unsuccessful exit by a command.
No description provided by the author
No description provided by the author

# Type aliases

Errors is a list of errors.