sttManager

package
v0.8.20 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

type Handle chan<- SttMgOp

StackTrace Tree Manager

func StartSttManager

func StartSttManager() Handle

func (Handle) CreateTree

func (h Handle) CreateTree(tname string) error

func (Handle) DestroyTree

func (h Handle) DestroyTree(tname string) error

func (Handle) Insert

func (h Handle) Insert(tname string, stt *stt.Stt) error

type SttMgCreateTree

type SttMgCreateTree struct {
	TreeName string
	// contains filtered or unexported fields
}

func (*SttMgCreateTree) SttMgOpDone

func (s *SttMgCreateTree) SttMgOpDone(e error)

trivial SttMgOp implementations for commands

type SttMgDestroyTree

type SttMgDestroyTree struct {
	TreeName string
	// contains filtered or unexported fields
}

func (*SttMgDestroyTree) SttMgOpDone

func (s *SttMgDestroyTree) SttMgOpDone(e error)

type SttMgOp

type SttMgOp interface {
	SttMgOpDone(error)
}

Not strictly needed but allows for better type checking.

type SttMgStop

type SttMgStop struct {
	// contains filtered or unexported fields
}

func (*SttMgStop) SttMgOpDone

func (s *SttMgStop) SttMgOpDone(e error)

type SttMgTreeInsert

type SttMgTreeInsert struct {
	TreeName   string
	Stacktrace *stt.Stt
	// contains filtered or unexported fields
}

func (*SttMgTreeInsert) SttMgOpDone

func (s *SttMgTreeInsert) SttMgOpDone(e error)

type SttMgTreeToProto

type SttMgTreeToProto struct {
	TreeName string
	RetChan  chan error
	RootNode *tetragon.StackTraceNode
}

func (*SttMgTreeToProto) SttMgOpDone

func (s *SttMgTreeToProto) SttMgOpDone(e error)

Jump to

Keyboard shortcuts

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