Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackageVersionAction ¶
func PackageVersionAction(ctx context.Context, pinfo *ProcessInfo) error
func Run ¶
func Run(ctx context.Context, si SystemInput, config *configuration.Config) error
Types ¶
type ActionFunc ¶
type ActionFunc func(context.Context, *ProcessInfo) error
func (ActionFunc) Run ¶
func (af ActionFunc) Run(ctx context.Context, pinfo *ProcessInfo) error
type ProcessInfo ¶
type ProcessInfo struct {
// contains filtered or unexported fields
}
func NewProcessInfo ¶
func (*ProcessInfo) CorefileName ¶
func (p *ProcessInfo) CorefileName() string
func (*ProcessInfo) Env ¶
func (p *ProcessInfo) Env() environ.Environ
func (*ProcessInfo) HasPIDNamespace ¶
func (p *ProcessInfo) HasPIDNamespace() bool
func (*ProcessInfo) IsBinaryDeleted ¶
func (p *ProcessInfo) IsBinaryDeleted() bool
type SystemInput ¶
type SystemInput struct { // Pathname of Executable Executable string // TID in initial namespace InitialTid int64 // TID in process namespace NsTid int64 // PR_GET_DUMPABLE PrGetDumpable Dumpable // PID in intial namespace InitialPid int64 // PID in process namespace NsPid int64 // Time of dump DumpTime time.Time // Signal Signal syscall.Signal // Input stream Stream io.ReadCloser }
Click to show internal directories.
Click to hide internal directories.