Documentation
¶
Index ¶
- func BuildCustomPacketInfo(packet gopacket.Packet, fragmented bool) (info map[string]interface{}, err error)
- func IsMissingHookError(err error, hook string) bool
- func MarshalUnmarshalEntry(entry *api.Entry) (result map[string]interface{}, err error)
- func MarshalUnmarshalEntryReverse(result map[string]interface{}) (entry *api.Entry, err error)
- type CustomPacketInfo
- type Hooks
- func (h Hooks) ContainerStatusChangeHook(index int, status *v1.ContainerStatus, pod *v1.Pod)
- func (h Hooks) ItemCapturedHook(entry *api.Entry)
- func (h Hooks) ItemQueriedHook(entry *api.Entry, filter string) *api.Entry
- func (h Hooks) JobFailedHook(tag string, cron string, limit int64, err string)
- func (h Hooks) JobPassedHook(tag string, cron string, limit int64)
- func (h Hooks) PacketCapturedHook(packet gopacket.Packet, fragmented bool)
- func (h Hooks) PodEventHook(eventType watch.EventType, pod *v1.Pod)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCustomPacketInfo ¶
func IsMissingHookError ¶
func MarshalUnmarshalEntry ¶
Types ¶
type CustomPacketInfo ¶
type Hooks ¶
type Hooks struct{}
func (Hooks) ContainerStatusChangeHook ¶
Hook: onContainerStatusChange, does not accept returns
func (Hooks) ItemCapturedHook ¶
Hook: onItemCaptured, does not accept returns
func (Hooks) ItemQueriedHook ¶
Hook: onItemQueried, accepts Object type returns
func (Hooks) JobFailedHook ¶
Hook: onJobFailed, does not accept returns
func (Hooks) JobPassedHook ¶
Hook: onJobPassed, does not accept returns
func (Hooks) PacketCapturedHook ¶
Hook: onPacketCaptured, does not accept returns
Click to show internal directories.
Click to hide internal directories.