podresolver

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodInfo

type PodInfo struct {
	Name      string
	Namespace string
	UID       string
	Node      string
}

func Resolve

func Resolve(corefilePath string, enableLookup bool) PodInfo

Resolve extracts pod info from corefile path injected by webhook Webhook injects: /data/coredog-system/dumps/<namespace>/<pod-uid>/ Watcher mounts: /data/coredog-system/dumps -> /corefile So watcher sees: /corefile/<namespace>/<pod-uid>/core.xxx

Jump to

Keyboard shortcuts

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