Argo Workflows · JSON Structure

Argo Workflows Github Com Argoproj Argo Events Pkg Apis Events V1Alpha1 File Event Source Structure

FileEventSource describes an event-source for file related events.

Type: object Properties: 5
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.FileEventSource is a JSON Structure definition published by Argo Workflows, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

eventType filter metadata polling watchPathConfig

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-file-event-source-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.FileEventSource",
  "description": "FileEventSource describes an event-source for file related events.",
  "type": "object",
  "properties": {
    "eventType": {
      "type": "string",
      "name": "Type of file operations to watch\nRefer https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more information"
    },
    "filter": {
      "name": "Filter\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter"
    },
    "metadata": {
      "type": "object",
      "name": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional",
      "additionalProperties": {
        "type": "string"
      }
    },
    "polling": {
      "type": "boolean",
      "name": "Use polling instead of inotify"
    },
    "watchPathConfig": {
      "name": "WatchPathConfig contains configuration about the file path to watch",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.WatchPathConfig"
    }
  }
}