vdisc

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	SetSystemIdentifier(string)
	SetVolumeIdentifier(string)
	SetVolumeSetIdentifier(string)
	SetPublisherIdentifier(string)
	SetDataPreparerIdentifier(string)
	SetApplicationIdentifier(string)
	SetCopyrightFileIdentifier(string)
	SetAbstractFileIdentifier(string)
	SetBibliographicFileIdentifier(string)
	AddFile(path string, url string, size int64) error
	AddSymlink(path string, target string) error
	Build() (string, error)
}

Builder is an interface for building a vdisc

func NewExtendedISO9660Builder

func NewExtendedISO9660Builder(cfg BuilderConfig) Builder

NewExtendedISO9660Builder returns a Builder of NvidiaExtendedVolume

func NewISO9660Builder

func NewISO9660Builder(cfg BuilderConfig) Builder

NewISO9660Builder returns a Builder of POSIX portable volume

func NewPosixPortableISO9660Builder

func NewPosixPortableISO9660Builder(cfg BuilderConfig) Builder

NewPosixPortableISO9660Builder returns a Builder of POSIX portable volume

type BuilderConfig

type BuilderConfig struct {
	URL string
}

BuilderConfig is common configuration for a Builder implementation

type InvertedTrieNode

type InvertedTrieNode struct {
	Parent  int
	Content string
}

type TrieMap

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

func NewTrieMap

func NewTrieMap() *TrieMap

func (*TrieMap) Get

func (*TrieMap) Invert

func (*TrieMap) Put

func (t *TrieMap) Put(key string, value iso9660.LogicalBlockAddress)

type VDisc

type VDisc interface {
	io.Closer
	FsType() string
	BlockSize() uint16
	Image() storage.AnonymousObject
	OpenExtent(lba iso9660.LogicalBlockAddress) (storage.Object, error)
	ExtentURL(lba iso9660.LogicalBlockAddress) (string, error)
}

func Load

func Load(url string, cache caching.Cache) (VDisc, error)

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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