Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commands ¶
func Commands(globalParams *command.GlobalParams) []*cobra.Command
Commands returns a slice of subcommands for the `check` command in the Process Agent
func MakeCommand ¶
func RunCheckCmd ¶
func RunCheckCmd(deps Dependencies) error
Types ¶
type CliParams ¶
type CliParams struct { *command.GlobalParams // contains filtered or unexported fields }
type Dependencies ¶
type Dependencies struct { fx.In CliParams *CliParams Config config.Component Syscfg sysprobeconfig.Component Log log.Component Hostinfo hostinfo.Component // TODO: the tagger is used by the ContainerProvider, which is currently not a component so there is no direct // dependency on it. The ContainerProvider needs to be componentized so it can be injected and have fx manage its // lifecycle. Tagger tagger.Component WorkloadMeta workloadmeta.Component NpCollector npcollector.Component Checks []types.CheckComponent `group:"check"` }
Click to show internal directories.
Click to hide internal directories.