Documentation ¶
Index ¶
- Constants
- Variables
- func EventAddAction(builder *flatbuffers.Builder, action byte)
- func EventAddHashes(builder *flatbuffers.Builder, hashes flatbuffers.UOffsetT)
- func EventAddInfo(builder *flatbuffers.Builder, info flatbuffers.UOffsetT)
- func EventAddSource(builder *flatbuffers.Builder, source byte)
- func EventAddTargetPath(builder *flatbuffers.Builder, targetPath flatbuffers.UOffsetT)
- func EventAddTimestampNs(builder *flatbuffers.Builder, timestampNs int64)
- func EventEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func EventStart(builder *flatbuffers.Builder)
- func HashAddBlake2b256(builder *flatbuffers.Builder, blake2b256 flatbuffers.UOffsetT)
- func HashAddBlake2b384(builder *flatbuffers.Builder, blake2b384 flatbuffers.UOffsetT)
- func HashAddBlake2b512(builder *flatbuffers.Builder, blake2b512 flatbuffers.UOffsetT)
- func HashAddMd5(builder *flatbuffers.Builder, md5 flatbuffers.UOffsetT)
- func HashAddSha1(builder *flatbuffers.Builder, sha1 flatbuffers.UOffsetT)
- func HashAddSha224(builder *flatbuffers.Builder, sha224 flatbuffers.UOffsetT)
- func HashAddSha256(builder *flatbuffers.Builder, sha256 flatbuffers.UOffsetT)
- func HashAddSha3224(builder *flatbuffers.Builder, sha3224 flatbuffers.UOffsetT)
- func HashAddSha3256(builder *flatbuffers.Builder, sha3256 flatbuffers.UOffsetT)
- func HashAddSha3384(builder *flatbuffers.Builder, sha3384 flatbuffers.UOffsetT)
- func HashAddSha3512(builder *flatbuffers.Builder, sha3512 flatbuffers.UOffsetT)
- func HashAddSha384(builder *flatbuffers.Builder, sha384 flatbuffers.UOffsetT)
- func HashAddSha512(builder *flatbuffers.Builder, sha512 flatbuffers.UOffsetT)
- func HashAddSha512224(builder *flatbuffers.Builder, sha512224 flatbuffers.UOffsetT)
- func HashAddSha512256(builder *flatbuffers.Builder, sha512256 flatbuffers.UOffsetT)
- func HashEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func HashStart(builder *flatbuffers.Builder)
- func HashStartBlake2b256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartBlake2b384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartBlake2b512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartMd5Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha1Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha3224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha3256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha3384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha3512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha512224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha512256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func HashStartSha512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MetadataAddCtimeNs(builder *flatbuffers.Builder, ctimeNs int64)
- func MetadataAddGid(builder *flatbuffers.Builder, gid uint32)
- func MetadataAddInode(builder *flatbuffers.Builder, inode uint64)
- func MetadataAddMode(builder *flatbuffers.Builder, mode uint32)
- func MetadataAddMtimeNs(builder *flatbuffers.Builder, mtimeNs int64)
- func MetadataAddSid(builder *flatbuffers.Builder, sid flatbuffers.UOffsetT)
- func MetadataAddSize(builder *flatbuffers.Builder, size uint64)
- func MetadataAddType(builder *flatbuffers.Builder, type_ byte)
- func MetadataAddUid(builder *flatbuffers.Builder, uid uint32)
- func MetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func MetadataStart(builder *flatbuffers.Builder)
- type Event
- func (rcv *Event) Action() byte
- func (rcv *Event) Hashes(obj *Hash) *Hash
- func (rcv *Event) Info(obj *Metadata) *Metadata
- func (rcv *Event) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Event) MutateAction(n byte) bool
- func (rcv *Event) MutateSource(n byte) bool
- func (rcv *Event) MutateTimestampNs(n int64) bool
- func (rcv *Event) Source() byte
- func (rcv *Event) Table() flatbuffers.Table
- func (rcv *Event) TargetPath() []byte
- func (rcv *Event) TimestampNs() int64
- type Hash
- func (rcv *Hash) Blake2b256(j int) int8
- func (rcv *Hash) Blake2b256Length() int
- func (rcv *Hash) Blake2b384(j int) int8
- func (rcv *Hash) Blake2b384Length() int
- func (rcv *Hash) Blake2b512(j int) int8
- func (rcv *Hash) Blake2b512Length() int
- func (rcv *Hash) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Hash) Md5(j int) int8
- func (rcv *Hash) Md5Length() int
- func (rcv *Hash) Sha1(j int) int8
- func (rcv *Hash) Sha1Length() int
- func (rcv *Hash) Sha224(j int) int8
- func (rcv *Hash) Sha224Length() int
- func (rcv *Hash) Sha256(j int) int8
- func (rcv *Hash) Sha256Length() int
- func (rcv *Hash) Sha3224(j int) int8
- func (rcv *Hash) Sha3224Length() int
- func (rcv *Hash) Sha3256(j int) int8
- func (rcv *Hash) Sha3256Length() int
- func (rcv *Hash) Sha3384(j int) int8
- func (rcv *Hash) Sha3384Length() int
- func (rcv *Hash) Sha3512(j int) int8
- func (rcv *Hash) Sha3512Length() int
- func (rcv *Hash) Sha384(j int) int8
- func (rcv *Hash) Sha384Length() int
- func (rcv *Hash) Sha512(j int) int8
- func (rcv *Hash) Sha512224(j int) int8
- func (rcv *Hash) Sha512224Length() int
- func (rcv *Hash) Sha512256(j int) int8
- func (rcv *Hash) Sha512256Length() int
- func (rcv *Hash) Sha512Length() int
- func (rcv *Hash) Table() flatbuffers.Table
- type Metadata
- func (rcv *Metadata) CtimeNs() int64
- func (rcv *Metadata) Gid() uint32
- func (rcv *Metadata) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Metadata) Inode() uint64
- func (rcv *Metadata) Mode() uint32
- func (rcv *Metadata) MtimeNs() int64
- func (rcv *Metadata) MutateCtimeNs(n int64) bool
- func (rcv *Metadata) MutateGid(n uint32) bool
- func (rcv *Metadata) MutateInode(n uint64) bool
- func (rcv *Metadata) MutateMode(n uint32) bool
- func (rcv *Metadata) MutateMtimeNs(n int64) bool
- func (rcv *Metadata) MutateSize(n uint64) bool
- func (rcv *Metadata) MutateType(n byte) bool
- func (rcv *Metadata) MutateUid(n uint32) bool
- func (rcv *Metadata) Sid() []byte
- func (rcv *Metadata) Size() uint64
- func (rcv *Metadata) Table() flatbuffers.Table
- func (rcv *Metadata) Type() byte
- func (rcv *Metadata) Uid() uint32
Constants ¶
View Source
const ( ActionAttributesModified = 1 ActionCreated = 2 ActionDeleted = 4 ActionUpdated = 8 ActionMoved = 16 ActionConfigChanged = 32 )
View Source
const ( SourceScan = 0 SourceFSNotify = 1 )
View Source
const ( TypeUnknown = 0 TypeFile = 1 TypeDir = 2 TypeSymlink = 3 )
Variables ¶
View Source
var EnumNamesAction = map[int]string{ ActionAttributesModified: "AttributesModified", ActionCreated: "Created", ActionDeleted: "Deleted", ActionUpdated: "Updated", ActionMoved: "Moved", ActionConfigChanged: "ConfigChanged", }
View Source
var EnumNamesSource = map[int]string{ SourceScan: "Scan", SourceFSNotify: "FSNotify", }
View Source
var EnumNamesType = map[int]string{ TypeUnknown: "Unknown", TypeFile: "File", TypeDir: "Dir", TypeSymlink: "Symlink", }
Functions ¶
func EventAddAction ¶
func EventAddAction(builder *flatbuffers.Builder, action byte)
func EventAddHashes ¶
func EventAddHashes(builder *flatbuffers.Builder, hashes flatbuffers.UOffsetT)
func EventAddInfo ¶
func EventAddInfo(builder *flatbuffers.Builder, info flatbuffers.UOffsetT)
func EventAddSource ¶
func EventAddSource(builder *flatbuffers.Builder, source byte)
func EventAddTargetPath ¶
func EventAddTargetPath(builder *flatbuffers.Builder, targetPath flatbuffers.UOffsetT)
func EventAddTimestampNs ¶
func EventAddTimestampNs(builder *flatbuffers.Builder, timestampNs int64)
func EventEnd ¶
func EventEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func EventStart ¶
func EventStart(builder *flatbuffers.Builder)
func HashAddBlake2b256 ¶
func HashAddBlake2b256(builder *flatbuffers.Builder, blake2b256 flatbuffers.UOffsetT)
func HashAddBlake2b384 ¶
func HashAddBlake2b384(builder *flatbuffers.Builder, blake2b384 flatbuffers.UOffsetT)
func HashAddBlake2b512 ¶
func HashAddBlake2b512(builder *flatbuffers.Builder, blake2b512 flatbuffers.UOffsetT)
func HashAddMd5 ¶
func HashAddMd5(builder *flatbuffers.Builder, md5 flatbuffers.UOffsetT)
func HashAddSha1 ¶
func HashAddSha1(builder *flatbuffers.Builder, sha1 flatbuffers.UOffsetT)
func HashAddSha224 ¶
func HashAddSha224(builder *flatbuffers.Builder, sha224 flatbuffers.UOffsetT)
func HashAddSha256 ¶
func HashAddSha256(builder *flatbuffers.Builder, sha256 flatbuffers.UOffsetT)
func HashAddSha3224 ¶
func HashAddSha3224(builder *flatbuffers.Builder, sha3224 flatbuffers.UOffsetT)
func HashAddSha3256 ¶
func HashAddSha3256(builder *flatbuffers.Builder, sha3256 flatbuffers.UOffsetT)
func HashAddSha3384 ¶
func HashAddSha3384(builder *flatbuffers.Builder, sha3384 flatbuffers.UOffsetT)
func HashAddSha3512 ¶
func HashAddSha3512(builder *flatbuffers.Builder, sha3512 flatbuffers.UOffsetT)
func HashAddSha384 ¶
func HashAddSha384(builder *flatbuffers.Builder, sha384 flatbuffers.UOffsetT)
func HashAddSha512 ¶
func HashAddSha512(builder *flatbuffers.Builder, sha512 flatbuffers.UOffsetT)
func HashAddSha512224 ¶
func HashAddSha512224(builder *flatbuffers.Builder, sha512224 flatbuffers.UOffsetT)
func HashAddSha512256 ¶
func HashAddSha512256(builder *flatbuffers.Builder, sha512256 flatbuffers.UOffsetT)
func HashEnd ¶
func HashEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func HashStart ¶
func HashStart(builder *flatbuffers.Builder)
func HashStartBlake2b256Vector ¶
func HashStartBlake2b256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartBlake2b384Vector ¶
func HashStartBlake2b384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartBlake2b512Vector ¶
func HashStartBlake2b512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartMd5Vector ¶
func HashStartMd5Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha1Vector ¶
func HashStartSha1Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha224Vector ¶
func HashStartSha224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha256Vector ¶
func HashStartSha256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha3224Vector ¶
func HashStartSha3224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha3256Vector ¶
func HashStartSha3256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha3384Vector ¶
func HashStartSha3384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha3512Vector ¶
func HashStartSha3512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha384Vector ¶
func HashStartSha384Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha512224Vector ¶
func HashStartSha512224Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha512256Vector ¶
func HashStartSha512256Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func HashStartSha512Vector ¶
func HashStartSha512Vector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func MetadataAddCtimeNs ¶
func MetadataAddCtimeNs(builder *flatbuffers.Builder, ctimeNs int64)
func MetadataAddGid ¶
func MetadataAddGid(builder *flatbuffers.Builder, gid uint32)
func MetadataAddInode ¶
func MetadataAddInode(builder *flatbuffers.Builder, inode uint64)
func MetadataAddMode ¶
func MetadataAddMode(builder *flatbuffers.Builder, mode uint32)
func MetadataAddMtimeNs ¶
func MetadataAddMtimeNs(builder *flatbuffers.Builder, mtimeNs int64)
func MetadataAddSid ¶
func MetadataAddSid(builder *flatbuffers.Builder, sid flatbuffers.UOffsetT)
func MetadataAddSize ¶
func MetadataAddSize(builder *flatbuffers.Builder, size uint64)
func MetadataAddType ¶
func MetadataAddType(builder *flatbuffers.Builder, type_ byte)
func MetadataAddUid ¶
func MetadataAddUid(builder *flatbuffers.Builder, uid uint32)
func MetadataEnd ¶
func MetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func MetadataStart ¶
func MetadataStart(builder *flatbuffers.Builder)
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
func GetRootAsEvent ¶
func GetRootAsEvent(buf []byte, offset flatbuffers.UOffsetT) *Event
func (*Event) MutateAction ¶
func (*Event) MutateSource ¶
func (*Event) MutateTimestampNs ¶
func (*Event) Table ¶
func (rcv *Event) Table() flatbuffers.Table
func (*Event) TargetPath ¶
func (*Event) TimestampNs ¶
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
func GetRootAsHash ¶
func GetRootAsHash(buf []byte, offset flatbuffers.UOffsetT) *Hash
func (*Hash) Blake2b256 ¶
func (*Hash) Blake2b256Length ¶
func (*Hash) Blake2b384 ¶
func (*Hash) Blake2b384Length ¶
func (*Hash) Blake2b512 ¶
func (*Hash) Blake2b512Length ¶
func (*Hash) Sha1Length ¶
func (*Hash) Sha224Length ¶
func (*Hash) Sha256Length ¶
func (*Hash) Sha3224Length ¶
func (*Hash) Sha3256Length ¶
func (*Hash) Sha3384Length ¶
func (*Hash) Sha3512Length ¶
func (*Hash) Sha384Length ¶
func (*Hash) Sha512224Length ¶
func (*Hash) Sha512256Length ¶
func (*Hash) Sha512Length ¶
func (*Hash) Table ¶
func (rcv *Hash) Table() flatbuffers.Table
type Metadata ¶
type Metadata struct {
// contains filtered or unexported fields
}
func GetRootAsMetadata ¶
func GetRootAsMetadata(buf []byte, offset flatbuffers.UOffsetT) *Metadata
func (*Metadata) MutateCtimeNs ¶
func (*Metadata) MutateInode ¶
func (*Metadata) MutateMode ¶
func (*Metadata) MutateMtimeNs ¶
func (*Metadata) MutateSize ¶
func (*Metadata) MutateType ¶
func (*Metadata) Table ¶
func (rcv *Metadata) Table() flatbuffers.Table
Click to show internal directories.
Click to hide internal directories.