GO-2022-0490 : Uses of deprecated API can be used to cause DoS in user-facing endpoints in github.com/argoproj/argo-events
Discover Packages
github.com/argoproj/argo-events
eventsources
common
fsevent
package
Version:
v1.1.0-rc1
Opens a new window with list of versions in this module.
Published: Nov 5, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Event struct {
Name string `json:"name"`
Op Op `json:"op"`
Metadata map[string ]string `json:"metadata"`
}
Event represents a single file system notification.
String returns a string representation of the event in the form
"file: REMOVE|WRITE|..."
Op describes a set of file operations.
const (
Create Op = 1 << iota
Write
Remove
Rename
Chmod
)
These are the generalized file operations that can trigger a notification.
NewOp converts a given string to Op
Source Files
¶
Click to show internal directories.
Click to hide internal directories.