Argo Workflows · Schema

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SensorSpec

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SensorSpec schema from Argo Workflows API

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
dependencies array Dependencies is a list of the events that this sensor is dependent on.
errorOnFailedRound boolean ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails. Once sensor state is set to `error`, no further triggers will be processed.
eventBusName string
loggingFields object
replicas integer
revisionHistoryLimit integer
template object
triggers array Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor.
View JSON Schema on GitHub

JSON Schema

argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-sensor-spec-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-sensor-spec-schema.json",
  "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SensorSpec",
  "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.SensorSpec schema from Argo Workflows API",
  "type": "object",
  "properties": {
    "dependencies": {
      "description": "Dependencies is a list of the events that this sensor is dependent on.",
      "type": "array",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventDependency"
      }
    },
    "errorOnFailedRound": {
      "description": "ErrorOnFailedRound if set to true, marks sensor state as `error` if the previous trigger round fails.\nOnce sensor state is set to `error`, no further triggers will be processed.",
      "type": "boolean"
    },
    "eventBusName": {
      "type": "string",
      "title": "EventBusName references to a EventBus name. By default the value is \"default\""
    },
    "loggingFields": {
      "type": "object",
      "title": "LoggingFields add additional key-value pairs when logging happens\n+optional",
      "additionalProperties": {
        "type": "string"
      }
    },
    "replicas": {
      "type": "integer",
      "title": "Replicas is the sensor deployment replicas"
    },
    "revisionHistoryLimit": {
      "type": "integer",
      "title": "RevisionHistoryLimit specifies how many old deployment revisions to retain\n+optional"
    },
    "template": {
      "title": "Template is the pod specification for the sensor\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Template"
    },
    "triggers": {
      "description": "Triggers is a list of the things that this sensor evokes. These are the outputs from this sensor.",
      "type": "array",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.Trigger"
      }
    }
  }
}