recorderoption

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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