isofuse

package
v0.0.0-...-5fe3b72 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfoCache

type FileInfoCache interface {
	Put(parent fuseops.InodeID, name string, fi *iso9660.FileInfo)
	Get(parent fuseops.InodeID, name string) (*iso9660.FileInfo, bool)
}

func NewFileInfoCache

func NewFileInfoCache(maxEntries int64) (FileInfoCache, error)

type Options

type Options struct {
	AllowOtherUsers bool `help:"Allow other users to access the fuse mount"`
}

Config is used to configure a Server

type Server

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

func NewWithOptions

func NewWithOptions(mountpoint string, volume Volume, opts Options) (*Server, error)

NewServer creates an instance of an isofuse server

func (*Server) Close

func (s *Server) Close() error

Close unmounts isofuse and stops the server

func (*Server) Join

func (s *Server) Join() chan interface{}

func (*Server) Start

func (s *Server) Start() error

Start mounts and starts an isofuse server

type Volume

type Volume interface {
	Image() storage.AnonymousObject
	OpenExtent(lba iso9660.LogicalBlockAddress) (storage.Object, error)
}

Jump to

Keyboard shortcuts

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