Back to godoc.org

Package isofuse

v0.0.0-...-5fe3b72
Latest Go to latest

The highest tagged major version is .

Published: Jan 9, 2020 | License: Apache-2.0 | Module: github.com/NVIDIA/vdisc

Index

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)
}

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier