app

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KnownDetectors

func KnownDetectors() []string

KnownDetectors return names of all detectors.

func NewDetector

func NewDetector(ctx context.Context) *cobra.Command

NewDetector creates a *cobra.Command object with default parameters.

func NewDetectorInitializers

func NewDetectorInitializers() map[string]InitFunc

NewDetectorInitializers registers init functions for all detectors.

Types

type InitFunc

type InitFunc func(ctx context.Context, detectorContext detectorContext) (started bool, err error)

InitFunc inits a detector.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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