Documentation
¶
Overview ¶
Package log connects and observes telemetry from KubeArmor
Package log connects and observes telemetry from KubeArmor
Index ¶
Constants ¶
View Source
const ( SelfCertProvider string = "self" ExternalCertLoader string = "external" )
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
View Source
var UnblockSignal error
UnblockSignal is a flag to check whether the Watch* APIs have exited or signal has rcvd
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 Secure bool TlsCertPath string TlsCertProvider string ReadCAFromSecret bool MsgPath string LogPath string LogFilter string JSON bool Output string 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.