Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
View Source
var EventTypes = []string{"create", "write", "remove", "rename", "chmod"}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
EventSourceID apieventsrc.EventSourceID `envconfig:"EVENT_SOURCE_ID" json:"event_source_id"`
}
type FSEventSource ¶
type FSEventSource struct { Config Config L L.Nullable Events *events.Events EventSources eventsrcsstore.Store // contains filtered or unexported fields }
NOTE: this is not built for a large number of bindings. TODO: should it be?
func (*FSEventSource) Add ¶
func (s *FSEventSource) Add( ctx context.Context, pid apiproject.ProjectID, name string, path string, mask fsnotify.Op, ) error
func (*FSEventSource) Remove ¶
func (s *FSEventSource) Remove( ctx context.Context, pid apiproject.ProjectID, name string, path string, ) error
Click to show internal directories.
Click to hide internal directories.