store

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RotationEvent

type RotationEvent struct {
	Path string
}

RotationEvent represents a file rotation/change event

type Store

type Store interface {
	AddFile(path string) error
	GetContent(path string) ([]byte, bool)
	RotationEvents() <-chan RotationEvent
	Errors() <-chan error
}

Store manages local files with filesystem watching capabilities

func New

func New(logger logr.Logger, ctx context.Context) (Store, error)

New creates a new file store instance with filesystem watching

Jump to

Keyboard shortcuts

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