Documentation ¶
Index ¶
- func NewBlob(r io.Reader) (*Blob, []*Chunk, error)
- func WithChunkSize(bytes int) func(*manager)
- func WithImportWorkers(n int) func(*manager)
- func WithObjectManager(x objectmanager.ObjectManager) func(*manager)
- func WithResolver(res resolver.Resolver) func(*manager)
- type Blob
- func (e *Blob) FromObject(o *object.Object) error
- func (e *Blob) MarshalMap() (object.Map, error)
- func (e *Blob) MarshalObject() (*object.Object, error)
- func (e Blob) ToObject() *object.Object
- func (e *Blob) Type() string
- func (e *Blob) UnmarshalMap(m object.Map) error
- func (e *Blob) UnmarshalObject(o *object.Object) error
- type Chunk
- func (e *Chunk) FromObject(o *object.Object) error
- func (e *Chunk) MarshalMap() (object.Map, error)
- func (e *Chunk) MarshalObject() (*object.Object, error)
- func (e Chunk) ToObject() *object.Object
- func (e *Chunk) Type() string
- func (e *Chunk) UnmarshalMap(m object.Map) error
- func (e *Chunk) UnmarshalObject(o *object.Object) error
- type Manager
- type Option
- type Reader
- type Requester
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithChunkSize ¶ added in v0.14.2
func WithChunkSize(bytes int) func(*manager)
func WithImportWorkers ¶ added in v0.14.4
func WithImportWorkers(n int) func(*manager)
func WithObjectManager ¶ added in v0.11.4
func WithObjectManager(x objectmanager.ObjectManager) func(*manager)
func WithResolver ¶ added in v0.11.4
Types ¶
type Blob ¶
func (*Blob) MarshalObject ¶ added in v0.18.0
type Chunk ¶
func (*Chunk) MarshalObject ¶ added in v0.18.0
type Manager ¶ added in v0.14.2
Click to show internal directories.
Click to hide internal directories.