Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DummyEvent ¶
type DummyEvent struct { }
func (*DummyEvent) Process ¶
func (de *DummyEvent) Process(reader io.Reader, customParams interface{}) bool
func (*DummyEvent) Setup ¶
func (de *DummyEvent) Setup(customParams interface{}) bool
type FetchAndExecEvent ¶ added in v0.1.3
type FetchAndExecEvent struct { DestinationFolder string CmdTemplate string Data map[string]interface{} Tmpl *template.Template }
func (*FetchAndExecEvent) Process ¶ added in v0.1.3
func (fae *FetchAndExecEvent) Process(reader io.Reader, customParams interface{}) bool
func (*FetchAndExecEvent) Setup ¶ added in v0.1.3
func (fae *FetchAndExecEvent) Setup(customParams interface{}) bool
type KafkaEmitEvent ¶
type KafkaEmitEvent struct { Data map[string]interface{} Tmpl *template.Template Producer *kafka.Writer Topic string // contains filtered or unexported fields }
func (*KafkaEmitEvent) Process ¶
func (kee *KafkaEmitEvent) Process(reader io.Reader, customParams interface{}) bool
func (*KafkaEmitEvent) Setup ¶
func (kee *KafkaEmitEvent) Setup(customParams interface{}) bool
type LocalFilesystem ¶ added in v0.1.7
type LocalFilesystem struct { WatchFolder string ExcludeFolder string GraceMilliSec int Ctx context.Context }
func NewLocalFilesystem ¶ added in v0.1.7
func NewLocalFilesystem() *LocalFilesystem
func (*LocalFilesystem) ListFiles ¶ added in v0.1.7
func (lf *LocalFilesystem) ListFiles() map[string]api.FileEntity
type S3 ¶ added in v0.1.2
type S3 struct { Endpoint string UseSSL bool BucketName string User string Password string Token string WatchFolder string ExcludeFolder string GraceMilliSec int MinioClient *minio.Client Ctx context.Context }
func (S3) GetFileSet ¶ added in v0.1.2
func (S3) GetFilteredFileSet ¶ added in v0.1.2
type StreamAndExecEvent ¶ added in v0.1.7
type StreamAndExecEvent struct { CmdTemplate string Data map[string]interface{} Tmpl *template.Template }
func (*StreamAndExecEvent) Process ¶ added in v0.1.7
func (sae *StreamAndExecEvent) Process(reader io.Reader, customParams interface{}) bool
func (*StreamAndExecEvent) Setup ¶ added in v0.1.7
func (sae *StreamAndExecEvent) Setup(customParams interface{}) bool
Click to show internal directories.
Click to hide internal directories.