procconf

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(globalConfig define.Config, taskConfig define.TaskConfig) define.Task

Types

type BindInfo

type BindInfo struct {
	Enable   *bool  `json:"enable"`
	IP       string `json:"ip"`
	Ports    string `json:"port"`
	Protocol string `json:"protocol"`
}

type CmdbInfo

type CmdbInfo struct {
	InnerIPs     string            `json:"bk_host_innerip"`
	OuterIPs     string            `json:"bk_host_outerip"`
	InnerIP6s    string            `json:"bk_host_innerip_v6"`
	OuterIP6s    string            `json:"bk_host_outerip_v6"`
	ProcessInfos []CmdbProcessInfo `json:"process"`
}

type CmdbProcessInfo

type CmdbProcessInfo struct {
	ProcessName  string     `json:"bk_func_name"`
	DisplayName  string     `json:"bk_process_name"`
	BindIP       string     `json:"bind_ip"`
	Ports        string     `json:"port"`
	Protocol     string     `json:"protocol"`
	ParamRegex   string     `json:"bk_start_param_regex"`
	EnablePort   *bool      `json:"bk_enable_port"`
	BindInfoList []BindInfo `json:"bind_info"`
}

type Gather

type Gather struct {
	tasks.BaseTask
	// contains filtered or unexported fields
}

func (*Gather) IsModify

func (g *Gather) IsModify(src, dst []byte) bool

func (*Gather) Run

func (g *Gather) Run(_ context.Context, _ chan<- define.Event)

Jump to

Keyboard shortcuts

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