diagnose

package
v0.0.0-...-3388463 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppCommand

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

func NewCDRCommand

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

func NewDiagnoseCommand

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

func NewNeworkCommand

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

func ParseConfig

func ParseConfig(fileName string) (*netstat.NetworkJobConfig, error)

func RunAppCommand

func RunAppCommand(ctx context.Context, configFile string) error

func RunToolCommand

func RunToolCommand(ctx context.Context, config *mods.DiagnoseConfig) error

Types

type TaskConfig

type TaskConfig struct {
	TaskInputConfig string   `json:"task_input_config"`
	ServerPort      int      `json:"server_port"`
	Domains         []string `json:"domains"`
	Endpoints       []string `json:"endpoints"`
	SelfIdx         int      `json:"self_index"`
}

Jump to

Keyboard shortcuts

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