Documentation
¶
Index ¶
- Variables
- func MigrateTarLog(ls *LogStore, logTar string) error
- func MigrateTarLogsInDir(ls *LogStore, dir string)
- type LogMetadata
- type LogStore
- func (ls *LogStore) Close() error
- func (ls *LogStore) Create(id string, parentOpID int64, ttl time.Duration) (io.WriteCloser, error)
- func (ls *LogStore) Delete(id string) error
- func (ls *LogStore) DeleteWithParent(parentOpID int64) error
- func (ls *LogStore) FindLogsWithParent(parentOpID int64) ([]string, error)
- func (ls *LogStore) GetMetadata(id string) (LogMetadata, error)
- func (ls *LogStore) Open(id string) (io.ReadCloser, error)
- func (ls *LogStore) SelectAll(f func(id string, parentID int64)) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrLogNotFound = fmt.Errorf("log not found")
)
Functions ¶
func MigrateTarLog ¶
func MigrateTarLogsInDir ¶
Types ¶
type LogMetadata ¶ added in v1.11.0
type LogStore ¶
type LogStore struct {
// contains filtered or unexported fields
}
func NewLogStore ¶
func (*LogStore) DeleteWithParent ¶
func (*LogStore) FindLogsWithParent ¶ added in v1.11.0
Find logs owned by a specific operation ID.
func (*LogStore) GetMetadata ¶ added in v1.11.0
func (ls *LogStore) GetMetadata(id string) (LogMetadata, error)
Click to show internal directories.
Click to hide internal directories.