Documentation ¶
Overview ¶
Package subcommands contains the subcommands of the otel-agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalParams ¶
type GlobalParams struct { ConfPaths []string Sets []string CoreConfPath string ConfigName string LoggerName string SyncDelay time.Duration SyncTimeout time.Duration }
GlobalParams contains the values of agent-global Cobra flags.
A pointer to this type is passed to SubcommandFactory's, but its contents are not valid until Cobra calls the subcommand's Run or RunE function.
func (*GlobalParams) Set ¶
func (s *GlobalParams) Set(val string) error
Set is called by Cobra when a flag is set.
func (*GlobalParams) String ¶
func (s *GlobalParams) String() string
String returns a string representation of the GlobalParams.
Click to show internal directories.
Click to hide internal directories.