mountpoint

package
v0.0.0-...-331262d Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryMount

func NewQueryMount(expression payload.Expression, groupByTags bool, groupByMetaKeys []string, client *menmos.Client, fs fs.Info) *queryMount

Types

type MountBuilder

type MountBuilder interface {
	IntoMount(client *menmos.Client, fs fs.Info) (MountPoint, error)
}

type MountPoint

type MountPoint interface {
	ListEntries(ctx context.Context, path string, fullpath string) (fs.DirEntries, error)
	ResolveBlobDirectory(path string) (*entry.DirectoryBlobEntry, bool)
	ResolveBlobFile(path string) (*entry.FileBlobEntry, bool)
}

func Load

func Load(rawDict map[string]interface{}, client *menmos.Client, fs fs.Info) (MountPoint, error)

func NewBlobMount

func NewBlobMount(blobID string, client *menmos.Client, fs fs.Info) MountPoint

func NewVirtualMount

func NewVirtualMount(mounts map[string]MountPoint) MountPoint

Jump to

Keyboard shortcuts

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