storage

package
v0.0.0-...-9eadeab Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WantSize int64
}

type Storage

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

func NewStorage

func NewStorage(URL string, config *Config) (*Storage, error)

func (*Storage) GetSize

func (s *Storage) GetSize() int64

GetSize Used only while starting BUSE driver

func (*Storage) ReadExtent

func (s *Storage) ReadExtent(ext models.Extent, buf []byte) error

func (*Storage) WriteExtents

func (s *Storage) WriteExtents(writes []models.Write) error

Jump to

Keyboard shortcuts

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