Documentation ¶
Overview ¶
Package zodbtools provides tools for managing ZODB databases.
Index ¶
- Variables
- func Catobj(ctx context.Context, w io.Writer, stor zodb.IStorage, xid zodb.Xid) error
- func Dump(ctx context.Context, w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, ...) error
- func Dumpobj(ctx context.Context, w io.Writer, stor zodb.IStorage, xid zodb.Xid, ...) error
- func Info(ctx context.Context, w io.Writer, stor zodb.IStorage, parameterv []string) error
- func Watch(ctx context.Context, stor zodb.IStorage, w io.Writer, verbose bool) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Prog = prog.MainProg{
Name: "zodb",
Summary: "Zodb is a tool for managing ZODB databases",
Commands: commands,
HelpTopics: helpTopics,
}
main zodbtools driver
Functions ¶
func Catobj ¶
Catobj dumps content of one ZODB object.
The object is printed in raw form without any headers (see Dumpobj)
func Dump ¶
func Dump(ctx context.Context, w io.Writer, stor zodb.IStorage, tidMin, tidMax zodb.Tid, hashOnly bool) error
Dump dumps contents of a storage in between tidMin..tidMax range to a writer.
see top-level documentation for the dump format.
func Dumpobj ¶
func Dumpobj(ctx context.Context, w io.Writer, stor zodb.IStorage, xid zodb.Xid, hashOnly bool) error
Dumpobj dumps content of one ZODB object with zodbdump-like header.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.