subcommands

package
v0.0.0-...-ade743b Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Directories

Path Synopsis
Package run : This package is used to run the application
Package run : This package is used to run the application

Jump to

Keyboard shortcuts

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