recorderoption

package
v1.13.11 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = Options{
	StoragePath: defaults.HubbleRecorderStoragePath,
}

Default contains the default values

Functions

This section is empty.

Types

type Option

type Option func(o *Options) error

Option customizes the Hubble recorder's configuration.

func WithStoragePath

func WithStoragePath(path string) Option

WithStoragePath controls the path to the directory where the captured pcap files will be stored

type Options

type Options struct {
	// StoragePath is the path to the directory where the captured pcap files
	// will be stored
	StoragePath string
}

Options stores all the configuration values for the Hubble recorder.

Jump to

Keyboard shortcuts

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