fs

package
v0.0.0-...-5506a95 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecayCache

type DecayCache struct {
	// contains filtered or unexported fields
}

func NewDecayCache

func NewDecayCache(data *[]byte, duration *time.Duration, logger *log.Logger) *DecayCache

func (*DecayCache) AddUser

func (c *DecayCache) AddUser()

func (*DecayCache) Flush

func (c *DecayCache) Flush()

func (*DecayCache) RemoveUser

func (c *DecayCache) RemoveUser()

type EmporousFs

type EmporousFs struct {
	fuse.FileSystemBase

	*EmporousFsOptions
	// contains filtered or unexported fields
}

func NewEmporousFs

func NewEmporousFs(ctx context.Context, o EmporousFsOptions, client registryclient.Client, matcher model.Matcher) *EmporousFs

func (*EmporousFs) Getattr

func (fs *EmporousFs) Getattr(path string, stat *fuse.Stat_t, fh uint64) (errc int)

func (*EmporousFs) Getxattr

func (fs *EmporousFs) Getxattr(path string, name string) (errc int, xattr []byte)

func (*EmporousFs) Listxattr

func (fs *EmporousFs) Listxattr(path string, fill func(name string) bool) (errc int)

func (*EmporousFs) Open

func (fs *EmporousFs) Open(path string, flags int) (errc int, fh uint64)

func (*EmporousFs) Read

func (fs *EmporousFs) Read(path string, buff []byte, ofst int64, fh uint64) (n int)

func (*EmporousFs) Readdir

func (fs *EmporousFs) Readdir(path string, fill func(name string, stat *fuse.Stat_t, ofst int64) bool, ofst int64, fh uint64) (errc int)

type EmporousFsNode

type EmporousFsNode struct {
	// contains filtered or unexported fields
}

type EmporousFsOptions

type EmporousFsOptions struct {
	*config.RootOptions
	Source         string
	MountPoint     string
	Insecure       bool
	PlainHTTP      bool
	Configs        []string
	AttributeQuery string
	NoVerify       bool
}

Jump to

Keyboard shortcuts

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