Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Default = Options{ Path: "", MaxSizeMB: 10, MaxBackups: 5, Compress: false, }
Default specifies default values for Hubble exporter options.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option customizes the configuration of the hubble server.
func WithAllowList ¶
func WithAllowList(f []*flowpb.FlowFilter) Option
WithAllowListFilter sets allowlist filter for the exporter.
func WithCompress ¶
func WithCompress() Option
WithCompress specifies whether rotated files are compressed.
func WithDenyList ¶
func WithDenyList(f []*flowpb.FlowFilter) Option
WithDenyListFilter sets denylist filter for the exporter.
func WithFieldMask ¶
WithFieldMask sets fieldmask for the exporter.
func WithMaxBackups ¶
WithMaxSizeMB sets the number of rotated Hubble export files to keep.
func WithMaxSizeMB ¶
WithMaxSizeMB sets the size in MB at which to rotate the Hubble export file.
Click to show internal directories.
Click to hide internal directories.