Documentation
¶
Index ¶
- func Serialize(event Event) ([]byte, error)
- type Chunk
- type ChunkCorrupted
- type ChunkMissing
- type ChunkOK
- type Directory
- type DirectoryCorrupted
- type DirectoryError
- type DirectoryMissing
- type DirectoryOK
- type Done
- type DoneImporter
- type Error
- type Event
- type File
- type FileCorrupted
- type FileError
- type FileMissing
- type FileOK
- type Object
- type ObjectCorrupted
- type ObjectMissing
- type ObjectOK
- type Path
- type PathError
- type Receiver
- type SerializedEvent
- type Start
- type StartImporter
- type Warning
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chunk ¶
func ChunkEvent ¶
type ChunkCorrupted ¶
func ChunkCorruptedEvent ¶
func ChunkCorruptedEvent(snapshotID [32]byte, mac [32]byte) ChunkCorrupted
type ChunkMissing ¶
func ChunkMissingEvent ¶
func ChunkMissingEvent(snapshotID [32]byte, mac [32]byte) ChunkMissing
type ChunkOK ¶
func ChunkOKEvent ¶
type Directory ¶
func DirectoryEvent ¶
type DirectoryCorrupted ¶
func DirectoryCorruptedEvent ¶
func DirectoryCorruptedEvent(snapshotID [32]byte, pathname string) DirectoryCorrupted
type DirectoryError ¶
type DirectoryError struct { Timestamp time.Time SnapshotID [32]byte Pathname string Message string }
func DirectoryErrorEvent ¶
func DirectoryErrorEvent(snapshotID [32]byte, pathname string, message string) DirectoryError
type DirectoryMissing ¶
func DirectoryMissingEvent ¶
func DirectoryMissingEvent(snapshotID [32]byte, pathname string) DirectoryMissing
type DirectoryOK ¶
func DirectoryOKEvent ¶
func DirectoryOKEvent(snapshotID [32]byte, pathname string) DirectoryOK
type DoneImporter ¶
type DoneImporter struct { Timestamp time.Time SnapshotID [32]byte NumFiles uint64 NumDirectories uint64 Size uint64 }
func DoneImporterEvent ¶
func DoneImporterEvent() DoneImporter
type Error ¶
func ErrorEvent ¶
type FileCorrupted ¶
func FileCorruptedEvent ¶
func FileCorruptedEvent(snapshotID [32]byte, pathname string) FileCorrupted
type FileMissing ¶
func FileMissingEvent ¶
func FileMissingEvent(snapshotID [32]byte, pathname string) FileMissing
type Object ¶
func ObjectEvent ¶
type ObjectCorrupted ¶
func ObjectCorruptedEvent ¶
func ObjectCorruptedEvent(snapshotID [32]byte, mac [32]byte) ObjectCorrupted
type ObjectMissing ¶
func ObjectMissingEvent ¶
func ObjectMissingEvent(snapshotID [32]byte, mac [32]byte) ObjectMissing
type ObjectOK ¶
func ObjectOKEvent ¶
type SerializedEvent ¶
type StartImporter ¶
func StartImporterEvent ¶
func StartImporterEvent() StartImporter
Click to show internal directories.
Click to hide internal directories.