storage_v2

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FactoryBase

type FactoryBase interface {
	// Initialize performs internal initialization of the factory,
	// such as opening connections to the backend store.
	Initialize(ctx context.Context) error

	// Close closes the resources held by the factory
	Close(ctx context.Context) error
}

Factory is a general factory interface to be reused across different storage factories. It lives within the OTEL collector extension component's lifecycle. The Initialize and Close functions supposed to be called from the OTEL component's Start and Shutdown functions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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