inventory_list_blobs

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadInventoryListBlob

func ReadInventoryListBlob(
	listFormat sku.ListFormat,
	reader io.Reader,
	list *sku.List,
) (err error)

Types

type V0

func (V0) AllInventoryListBlobSkus

func (s V0) AllInventoryListBlobSkus(
	reader io.Reader,
) interfaces.SeqError[*sku.Transacted]

func (V0) GetListFormat

func (v V0) GetListFormat() sku.ListFormat

func (V0) GetType

func (v V0) GetType() ids.Type

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)

func (V0) WriteObjectToOpenList

func (format V0) WriteObjectToOpenList(
	object *sku.Transacted,
	list *sku.OpenList,
) (n int64, err error)

type V0IterDecoder

type V0IterDecoder struct {
	V0
}

func (V0IterDecoder) DecodeFrom

func (coder V0IterDecoder) DecodeFrom(
	yield func(*sku.Transacted) bool,
	reader io.Reader,
) (n int64, err error)

type V0ObjectCoder

type V0ObjectCoder struct {
	V0
}

func (V0ObjectCoder) DecodeFrom

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

func (V0ObjectCoder) EncodeTo

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

type V0StreamCoder

type V0StreamCoder struct {
	V0
}

func (V0StreamCoder) DecodeFrom

func (coder V0StreamCoder) DecodeFrom(
	output interfaces.FuncIter[*sku.Transacted],
	reader io.Reader,
) (n int64, err error)

type V1

type V1 struct {
	Box *box_format.BoxTransacted
}

func (V1) AllInventoryListBlobSkus

func (s V1) AllInventoryListBlobSkus(
	reader io.Reader,
) interfaces.SeqError[*sku.Transacted]

func (V1) GetListFormat

func (v V1) GetListFormat() sku.ListFormat

func (V1) GetType

func (v V1) GetType() ids.Type

func (V1) ReadInventoryListObject

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

func (V1) StreamInventoryListBlobSkus

func (s V1) StreamInventoryListBlobSkus(
	reader io.Reader,
	output 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)

func (V1) WriteObjectToOpenList

func (format V1) WriteObjectToOpenList(
	object *sku.Transacted,
	list *sku.OpenList,
) (n int64, err error)

type V1IterDecoder

type V1IterDecoder struct {
	V1
}

func (V1IterDecoder) DecodeFrom

func (coder V1IterDecoder) DecodeFrom(
	yield func(*sku.Transacted) bool,
	reader io.Reader,
) (n int64, err error)

type V1ObjectCoder

type V1ObjectCoder struct {
	V1
}

func (V1ObjectCoder) DecodeFrom

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

func (V1ObjectCoder) EncodeTo

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

type V1StreamCoder

type V1StreamCoder struct {
	V1
}

func (V1StreamCoder) DecodeFrom

func (coder V1StreamCoder) DecodeFrom(
	output interfaces.FuncIter[*sku.Transacted],
	reader io.Reader,
) (n int64, err error)

Jump to

Keyboard shortcuts

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