vfs

package
v0.0.0-...-906cd45 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LockFileNameSuffix = "lockfile"
	SectorSize         = 64 * 1024 // Max pagesize supported by SQLITE3
)

Variables

View Source
var (
	CommonSectorLabel = map[string]string{"data": "sector"}
	LockfileLabel     = map[string]string{"data": "lockfile"}
)

Only var because this can't be a const

Functions

func NewFile

func NewFile(name string, v *vfs) *file

func NewVFS

func NewVFS(kc *kubernetes.Clientset, namespace string, logger *zap.SugaredLogger, retries int) *vfs

Types

type Sector

type Sector struct {
	Index  int64
	Data   []byte
	Labels map[string]string
}

Jump to

Keyboard shortcuts

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