options

package
v0.15.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

Option is used to configure parsers

func CacheSize

func CacheSize(size int) Option

CacheSize configures the amount of L7 requests cached for latency calculation

func Redact

func Redact(logger logrus.FieldLogger, httpQuery bool, kafkaApiKey bool) Option

Redact configures which data Hubble will redact.

type Options

type Options struct {
	CacheSize         int
	RedactHTTPQuery   bool
	RedactKafkaAPIKey bool
}

Options contains all parser options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL