gcs

package
v0.0.0-...-388f960 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PCAP_EXPORT = constants.PCAP_EXPORT
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClosableWriter

type ClosableWriter interface {
	io.Writer
	io.Closer
}

type Exporter

type Exporter interface {
	Export(
		ctx context.Context,
		srcPcap *string,
		compress bool,
		delete bool,
	) (*string, *int64, error)
}

func NewClientLibraryExporter

func NewClientLibraryExporter(
	ctx context.Context,
	logger *log.Logger,
	projectID string,
	service string,
	instanceID string,
	bucket string,
	directory string,
	maxRetries uint,
	retriesDelay uint,
) Exporter

func NewFuseExporter

func NewFuseExporter(
	logger *log.Logger,
	directory string,
	maxRetries uint,
	retriesDelay uint,
) Exporter

func NewNilExporter

func NewNilExporter(
	logger *log.Logger,
) Exporter

Jump to

Keyboard shortcuts

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