config

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PING_SPAN      = "PING_SPAN"
	PID_SPAN       = "PID_SPAN"
	LRU_CACHE_SIZE = "LRU_CACHE_SIZE"

	PROCESS_TYPE            = "PROCESS_TYPE"
	K8S_NAMESPACE_WHITELIST = "K8S_NAMESPACE_WHITELIST"

	PROCESS_TIME = "PROCESS_TIME"

	FETCH_SOURCE_ADDR = "FETCH_SOURCE_ADDR"
	AUTH_TYPE         = "AUTH_TYPE"
	KUBE_CONFIG       = "KUBE_CONFIG"
	MY_NODE_NAME      = "MY_NODE_NAME"
	MY_NODE_IP        = "MY_NODE_IP"
)

Variables

View Source
var GlobalCfg = newConfig()

Functions

func KernelBlow317

func KernelBlow317() bool

Types

type Config

type Config struct {
	ProcessType  []string
	K8SNameSpace []string
	ProcessTime  bool

	LRUCacheSize int
	PingSpan     int
	PidSpan      int

	NodeIP   string
	NodeName string

	FetchSourceAddr string
	AuthType        string
	KubeConfig      string

	Kernel317 bool
}

func (*Config) SetDefault

func (c *Config) SetDefault()

Jump to

Keyboard shortcuts

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