Argo Workflows · JSON Structure

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

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

Type: object Properties: 11
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

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

Properties

auth deleteHookOnFinish events filter gerritBaseURL hookName maxTries metadata projects sslVerify webhook

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-gerrit-event-source-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.GerritEventSource",
  "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.GerritEventSource schema from Argo Workflows API",
  "type": "object",
  "properties": {
    "auth": {
      "name": "Auth hosts secret selectors for username and password\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.BasicAuth"
    },
    "deleteHookOnFinish": {
      "type": "boolean",
      "name": "DeleteHookOnFinish determines whether to delete the Gerrit hook for the project once the event source is stopped.\n+optional"
    },
    "events": {
      "type": "array",
      "name": "Events are gerrit event to listen to.\nRefer https://gerrit-review.googlesource.com/Documentation/cmd-stream-events.html#events",
      "items": {
        "type": "string"
      }
    },
    "filter": {
      "name": "Filter\n+optional",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EventSourceFilter"
    },
    "gerritBaseURL": {
      "type": "string",
      "name": "GerritBaseURL is the base URL for API requests to a custom endpoint"
    },
    "hookName": {
      "type": "string",
      "name": "HookName is the name of the webhook"
    },
    "maxTries": {
      "type": "string",
      "name": "MaxTries is number of attempts when posting an event to the target url\n+optional"
    },
    "metadata": {
      "type": "object",
      "name": "Metadata holds the user defined metadata which will passed along the event payload.\n+optional",
      "additionalProperties": {
        "type": "string"
      }
    },
    "projects": {
      "description": "List of project namespace paths like \"whynowy/test\".",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sslVerify": {
      "type": "boolean",
      "name": "SslVerify to enable ssl verification\n+optional"
    },
    "webhook": {
      "name": "Webhook holds configuration to run a http server",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.WebhookContext"
    }
  }
}