Documentation
¶
Index ¶
- type DebugCaptureDecoderFunc
- type DebugMsgDecoderFunc
- type DropNotifyDecoderFunc
- type HttpHeadersList
- type HubbleRedactSettings
- type L34PacketDecoder
- type Option
- func CacheSize(size int) Option
- func WithDebugCaptureDecoder(decode DebugCaptureDecoderFunc) Option
- func WithDebugMsgDecoder(decode DebugMsgDecoderFunc) Option
- func WithDropNotifyDecoder(decode DropNotifyDecoderFunc) Option
- func WithL34PacketDecoder(decoder L34PacketDecoder) Option
- func WithNetworkPolicyCorrelation(enabled bool) Option
- func WithPolicyVerdictNotifyDecoder(decode PolicyVerdictNotifyDecoderFunc) Option
- func WithRedact(httpQuery, httpUserInfo, kafkaApiKey bool, allowHeaders, denyHeaders []string) Option
- func WithSkipUnknownCGroupIDs(enabled bool) Option
- func WithTraceNotifyDecoder(decode TraceNotifyDecoderFunc) Option
- func WithTraceSockNotifyDecoder(decode TraceSockNotifyDecoderFunc) Option
- type Options
- type PolicyVerdictNotifyDecoderFunc
- type TraceNotifyDecoderFunc
- type TraceSockNotifyDecoderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugCaptureDecoderFunc ¶ added in v1.19.0
type DebugMsgDecoderFunc ¶ added in v1.19.0
type DropNotifyDecoderFunc ¶ added in v1.19.0
type HttpHeadersList ¶ added in v1.15.0
HttpHeadersList contains the allow/deny list of headers
type HubbleRedactSettings ¶ added in v1.15.0
type HubbleRedactSettings struct {
Enabled bool
RedactHTTPQuery bool
RedactHTTPUserInfo bool
RedactKafkaAPIKey bool
RedactHttpHeaders HttpHeadersList
}
HubbleRedactSettings contains all hubble redact related options
type L34PacketDecoder ¶ added in v1.19.0
type Option ¶
type Option func(*Options)
Option is used to configure parsers
func WithDebugCaptureDecoder ¶ added in v1.19.0
func WithDebugCaptureDecoder(decode DebugCaptureDecoderFunc) Option
func WithDebugMsgDecoder ¶ added in v1.19.0
func WithDebugMsgDecoder(decode DebugMsgDecoderFunc) Option
func WithDropNotifyDecoder ¶ added in v1.19.0
func WithDropNotifyDecoder(decode DropNotifyDecoderFunc) Option
func WithL34PacketDecoder ¶ added in v1.19.0
func WithL34PacketDecoder(decoder L34PacketDecoder) Option
func WithNetworkPolicyCorrelation ¶ added in v1.18.0
WithNetworkPolicyCorrelation configures the Network Policy correlation of Hubble Flows.
func WithPolicyVerdictNotifyDecoder ¶ added in v1.19.0
func WithPolicyVerdictNotifyDecoder(decode PolicyVerdictNotifyDecoderFunc) Option
func WithRedact ¶ added in v1.18.0
func WithRedact(httpQuery, httpUserInfo, kafkaApiKey bool, allowHeaders, denyHeaders []string) Option
WithRedact configures which data Hubble will redact.
func WithSkipUnknownCGroupIDs ¶ added in v1.18.0
WithSkipUnknownCGroupIDs configures whether Hubble will skip events with unknown CGroup IDs.
func WithTraceNotifyDecoder ¶ added in v1.19.0
func WithTraceNotifyDecoder(decode TraceNotifyDecoderFunc) Option
func WithTraceSockNotifyDecoder ¶ added in v1.19.0
func WithTraceSockNotifyDecoder(decode TraceSockNotifyDecoderFunc) Option
type Options ¶
type Options struct {
CacheSize int
HubbleRedactSettings HubbleRedactSettings
EnableNetworkPolicyCorrelation bool
SkipUnknownCGroupIDs bool
DropNotifyDecoder DropNotifyDecoderFunc
DebugMsgDecoder DebugMsgDecoderFunc
DebugCaptureDecoder DebugCaptureDecoderFunc
TraceNotifyDecoder TraceNotifyDecoderFunc
PolicyVerdictNotifyDecoder PolicyVerdictNotifyDecoderFunc
TraceSockNotifyDecoder TraceSockNotifyDecoderFunc
L34PacketDecoder L34PacketDecoder
}
Options contains all parser options
type PolicyVerdictNotifyDecoderFunc ¶ added in v1.19.0
type TraceNotifyDecoderFunc ¶ added in v1.19.0
type TraceSockNotifyDecoderFunc ¶ added in v1.19.0
Click to show internal directories.
Click to hide internal directories.