Versions in this module Expand all Collapse all v0 v0.1.1 Jul 30, 2024 v0.1.0 Nov 9, 2023 Changes in this version + type DirectFileMount struct + func NewDirectFileMount(b backend.Backend, f *os.File, serverOptions *server.Options, ...) *DirectFileMount + func (d *DirectFileMount) Close() error + func (d *DirectFileMount) Open() (*os.File, error) + func (d *DirectFileMount) SwapBackend(b backend.Backend) + func (d *DirectFileMount) Sync() error + func (d *DirectFileMount) Wait() error + type DirectPathMount struct + func NewDirectPathMount(b backend.Backend, f *os.File, serverOptions *server.Options, ...) *DirectPathMount + func (d *DirectPathMount) Close() error + func (d *DirectPathMount) Open() error + func (d *DirectPathMount) SwapBackend(b backend.Backend) + func (d *DirectPathMount) Sync() error + func (d *DirectPathMount) Wait() error + type DirectSliceMount struct + func NewDirectSliceMount(b backend.Backend, f *os.File, serverOptions *server.Options, ...) *DirectSliceMount + func (d *DirectSliceMount) Close() error + func (d *DirectSliceMount) Open() ([]byte, error) + func (d *DirectSliceMount) SwapBackend(b backend.Backend) + func (d *DirectSliceMount) Sync() error + func (d *DirectSliceMount) Wait() error + type ManagedFileMount struct + func NewManagedFileMount(ctx context.Context, remote backend.Backend, local backend.Backend, ...) *ManagedFileMount + func (m *ManagedFileMount) Close() error + func (m *ManagedFileMount) Open() (*os.File, error) + func (m *ManagedFileMount) Sync() error + func (m *ManagedFileMount) Wait() error + type ManagedFileMountHooks struct + OnChunkIsLocal func(off int64) error + type ManagedMountHooks struct + OnBeforeClose func() error + OnBeforeSync func() error + OnChunkIsLocal func(off int64) error + type ManagedMountOptions struct + ChunkSize int64 + PullFirst bool + PullPriority func(off int64) int64 + PullWorkers int64 + PushInterval time.Duration + PushWorkers int64 + Verbose bool + type ManagedPathMount struct + func NewManagedPathMount(ctx context.Context, remote backend.Backend, local backend.Backend, ...) *ManagedPathMount + func (m *ManagedPathMount) Close() error + func (m *ManagedPathMount) Open() (string, int64, error) + func (m *ManagedPathMount) Sync() error + func (m *ManagedPathMount) Wait() error + type ManagedSliceMount struct + func NewManagedSliceMount(ctx context.Context, remote backend.Backend, local backend.Backend, ...) *ManagedSliceMount + func (m *ManagedSliceMount) Close() error + func (m *ManagedSliceMount) Open() ([]byte, error) + func (m *ManagedSliceMount) Sync() error + func (m *ManagedSliceMount) Wait() error + type ManagedSliceMountHooks struct + OnChunkIsLocal func(off int64) error