app

package
v0.0.0-...-baa3643 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version     string
	CommitId    string
	ReleaseTime string
	GoVersion   string
	Auhtor      string
)

Functions

func DefaultUsageFunc

func DefaultUsageFunc(sf *pflag.FlagSet, c *cobra.Command) string

func NewRootCmd

func NewRootCmd(cfg *config.Config) *cobra.Command

func RunSpy

func RunSpy(cfg interface{}, cb func(interface{}, chan *model.SpyEvent) core.BpfSpyer) error

common interface for all tools

func Start

func Start()

func SubCmdInit

func SubCmdInit(cmd *Cmd)

func VersionInfo

func VersionInfo() string

Types

type Cmd

type Cmd struct {
	RootCmd *cobra.Command
	// contains filtered or unexported fields
}

func NewCmd

func NewCmd() *Cmd

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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