filesystem

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: MIT Imports: 3 Imported by: 2

README

flam-filesystem

Go-linter Go-test

flam-filsystem is a flam-in-go extension to provide a afero fs proxy module

Documentation

Index

Constants

View Source
const (
	DiskCreatorGroup = "flam.filesystem.disks.creator"
	DiskDriverOS     = "flam.filesystem.disks.driver.os"
	DiskDriverMemory = "flam.filesystem.disks.driver.memory"

	PathDisks = "flam.filesystem.disks"
)

Variables

This section is empty.

Functions

func NewProvider

func NewProvider() flam.Provider

Types

type Disk

type Disk interface {
	afero.Fs
}

type DiskCreator

type DiskCreator interface {
	Accept(config flam.Bag) bool
	Create(config flam.Bag) (Disk, error)
}

type Facade

type Facade interface {
	HasDisk(id string) bool
	ListDisks() []string
	GetDisk(id string) (Disk, error)
	AddDisk(id string, disk Disk) error
}

type File

type File interface {
	afero.File
}

Jump to

Keyboard shortcuts

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