Documentation ¶
Overview ¶
Package log connects and observes telemetry from KubeArmor
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CNamespace regexType CLogtype regexType COperation regexType CContainerName regexType CPodName regexType CSource regexType CResource regexType )
Regex Compiled Structs
View Source
var Limitchan chan bool
Limitchan handles telemetry event output limit
View Source
var StopChan chan struct{}
StopChan Channel
Functions ¶
func WatchTelemetryHelper ¶ added in v0.7.7
WatchTelemetryHelper handles Alerts and Logs
Types ¶
type EventInfo ¶ added in v0.7.8
type EventInfo struct { Data []byte // json marshalled byte data for alert/log Type string // "Alert"/"Log" }
EventInfo Event data signalled on EventChan
type Feeder ¶
type Feeder struct { // flag Running bool // wait group WgClient sync.WaitGroup // contains filtered or unexported fields }
Feeder Structure
type Options ¶
type Options struct { GRPC string MsgPath string LogPath string LogFilter string JSON bool Namespace string LogType string Operation string ContainerName string PodName string Source string Resource string Limit uint32 Selector []string EventChan chan EventInfo // channel to send events on }
Options Structure
Click to show internal directories.
Click to hide internal directories.