events

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Unknown                 = 0x00
	NewDocument             = 0x10
	FileTypeDetected        = 0x20
	UnmanagedFiletypeAction = 0x30
	RebuildStarted          = 0x40
	BlockedFileTypeAction   = 0x50
	RebuildCompleted        = 0x60
	AnalysisCompleted       = 0x70
	NcfsStartedEvent        = 0x80
	NcfsCompletedEvent      = 0x90
)
View Source
const (
	Ti = "2021-05-18T11:03:01.3365613Z"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager struct {
	FileId string
	// contains filtered or unexported fields
}

func (*EventManager) FileTypeDetected

func (e *EventManager) FileTypeDetected(Filetype string)

func (*EventManager) MarshalJson

func (e *EventManager) MarshalJson() ([]byte, error)

func (*EventManager) NewDocument

func (e *EventManager) NewDocument(policyId string)

func (*EventManager) RebuildCompleted

func (e *EventManager) RebuildCompleted(GwOutcome string)

func (*EventManager) RebuildStarted

func (e *EventManager) RebuildStarted()

func (*EventManager) Unknown

func (e *EventManager) Unknown()

type Events

type Events struct {
	Properties Properties `json:"Properties,omitempty"`
}

type Metadata

type Metadata struct {
	Events []Events `json:"Events"`
}

type Properties

type Properties struct {
	Eventid   int    `json:"EventId"`
	Fileid    string `json:"FileId"`
	Mode      int    `json:"Mode,omitempty"`
	Policyid  string `json:"PolicyId,omitempty"`
	Filetype  string `json:"FileType,omitempty"`
	Gwoutcome string `json:"GwOutcome,omitempty"`
	Timestamp string `json:"Timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL