Documentation ¶
Index ¶
- func CreateEventFromRequest(bpfEvent *http_snifferHttpevent) (*tracerhttptype.Event, error)
- func ExtractConsistentHeaders(headers http.Header) map[string][]string
- func FromCString(in []byte) []byte
- func GetTracepointDefinitions(objs *http_snifferPrograms) []tracepointlib.TracepointInfo
- func GetUniqueIdentifier(event *http_snifferHttpevent) string
- func ParseHTTPRequest(data []byte) (*http.Request, error)
- func ParseHTTPResponse(data []byte, req *http.Request) (*http.Response, error)
- func ToTime(t eventtypes.Time) time.Time
- type Config
- type GadgetDesc
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEventFromRequest ¶ added in v0.2.154
func CreateEventFromRequest(bpfEvent *http_snifferHttpevent) (*tracerhttptype.Event, error)
func FromCString ¶
func GetTracepointDefinitions ¶
func GetTracepointDefinitions(objs *http_snifferPrograms) []tracepointlib.TracepointInfo
func GetUniqueIdentifier ¶ added in v0.2.154
func GetUniqueIdentifier(event *http_snifferHttpevent) string
func ParseHTTPResponse ¶ added in v0.2.154
Types ¶
type GadgetDesc ¶
type GadgetDesc struct{}
func (*GadgetDesc) NewInstance ¶
func (g *GadgetDesc) NewInstance() (gadgets.Gadget, error)
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) GroupEvents ¶ added in v0.2.154
func (*Tracer) SetEventHandler ¶
func (*Tracer) SetMountNsMap ¶
Click to show internal directories.
Click to hide internal directories.