Documentation ¶
Overview ¶
Package archive contains tools for transition between TAR files and SampleReader
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Package archive contains tools for transition between TAR files and SampleReader ¶
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Package archive contains tools for transition between TAR files and SampleReader ¶
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Package archive contains tools for transition between TAR files and SampleReader ¶
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Index ¶
- func NewTarGzReader(reader io.Reader) (core.SampleReader, error)
- func NewTarReader(reader io.Reader) (core.SampleReader, error)
- type Record
- type RecordsDefaultManager
- func (m *RecordsDefaultManager) DeleteRecord(name string)
- func (m *RecordsDefaultManager) GetRecord(name string) *Record
- func (m *RecordsDefaultManager) GetRecords() map[string]*Record
- func (m *RecordsDefaultManager) Len() int
- func (m *RecordsDefaultManager) StoreRecord(name string, r *Record)
- func (m *RecordsDefaultManager) UpdateRecord(name, member string, value []byte)
- type RecordsManager
- type TarGreedyReader
- type TarSeekReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTarGzReader ¶
func NewTarGzReader(reader io.Reader) (core.SampleReader, error)
func NewTarReader ¶
func NewTarReader(reader io.Reader) (core.SampleReader, error)
Types ¶
type Record ¶
func (*Record) SameMembers ¶
type RecordsDefaultManager ¶
func NewRecordsManager ¶
func NewRecordsManager() *RecordsDefaultManager
func (*RecordsDefaultManager) DeleteRecord ¶
func (m *RecordsDefaultManager) DeleteRecord(name string)
func (*RecordsDefaultManager) GetRecord ¶
func (m *RecordsDefaultManager) GetRecord(name string) *Record
func (*RecordsDefaultManager) GetRecords ¶
func (m *RecordsDefaultManager) GetRecords() map[string]*Record
func (*RecordsDefaultManager) Len ¶
func (m *RecordsDefaultManager) Len() int
func (*RecordsDefaultManager) StoreRecord ¶
func (m *RecordsDefaultManager) StoreRecord(name string, r *Record)
func (*RecordsDefaultManager) UpdateRecord ¶
func (m *RecordsDefaultManager) UpdateRecord(name, member string, value []byte)
type RecordsManager ¶
type TarGreedyReader ¶
type TarGreedyReader struct {
// contains filtered or unexported fields
}
type TarSeekReader ¶
type TarSeekReader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.