inventory_list_blobs

package
v0.0.0-...-32d88a2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadInventoryListBlob

func ReadInventoryListBlob(
	vf sku.ListFormat,
	r io.Reader,
	a *sku.List,
) (err error)

Types

type FormatInventoryListPrinter

type FormatInventoryListPrinter interface {
	Offset() int64
	Print(object_inventory_format.FormatterContext) (int64, error)
	PrintMany(...object_inventory_format.FormatterContext) (int64, error)
}

type FormatInventoryListScanner

type FormatInventoryListScanner interface {
	Error() error
	GetTransacted() *sku.Transacted
	GetRange() object_probe_index.Range
	Scan() bool
	SetDebug()
}

type V0

func (V0) GetListFormat

func (v V0) GetListFormat() sku.ListFormat

func (V0) ReadInventoryListObject

func (s V0) ReadInventoryListObject(
	r io.Reader,
) (n int64, o *sku.Transacted, err error)

func (V0) StreamInventoryListBlobSkus

func (s V0) StreamInventoryListBlobSkus(
	r1 io.Reader,
	f interfaces.FuncIter[*sku.Transacted],
) (err error)

func (V0) WriteInventoryListBlob

func (s V0) WriteInventoryListBlob(
	o sku.Collection,
	w io.Writer,
) (n int64, err error)

func (V0) WriteInventoryListObject

func (s V0) WriteInventoryListObject(
	o *sku.Transacted,
	w io.Writer,
) (n int64, err error)

type V1

type V1 struct {
	Box *box_format.BoxTransacted
}

func (V1) GetListFormat

func (v V1) GetListFormat() sku.ListFormat

func (V1) ReadInventoryListObject

func (s V1) ReadInventoryListObject(
	r1 io.Reader,
) (n int64, o *sku.Transacted, err error)

func (V1) StreamInventoryListBlobSkus

func (s V1) StreamInventoryListBlobSkus(
	r1 io.Reader,
	f interfaces.FuncIter[*sku.Transacted],
) (err error)

func (V1) WriteInventoryListBlob

func (s V1) WriteInventoryListBlob(
	o sku.Collection,
	w1 io.Writer,
) (n int64, err error)

func (V1) WriteInventoryListObject

func (s V1) WriteInventoryListObject(
	o *sku.Transacted,
	w1 io.Writer,
) (n int64, err error)

Jump to

Keyboard shortcuts

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