Argo Workflows · JSON Structure

Argo Workflows Github Com Argoproj Argo Events Pkg Apis Events V1Alpha1 Standard K8 S Trigger Structure

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

Type: object Properties: 5
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger 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

liveObject operation parameters patchStrategy source

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-standard-k8-s-trigger-structure.json",
  "name": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger",
  "description": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.StandardK8STrigger schema from Argo Workflows API",
  "type": "object",
  "properties": {
    "liveObject": {
      "type": "boolean",
      "name": "LiveObject specifies whether the resource should be directly fetched from K8s instead\nof being marshaled from the resource artifact. If set to true, the resource artifact\nmust contain the information required to uniquely identify the resource in the cluster,\nthat is, you must specify \"apiVersion\", \"kind\" as well as \"name\" and \"namespace\" meta\ndata.\nOnly valid for operation type `update`\n+optional"
    },
    "operation": {
      "type": "string",
      "name": "Operation refers to the type of operation performed on the k8s resource.\nDefault value is Create.\n+optional"
    },
    "parameters": {
      "description": "Parameters is the list of parameters that is applied to resolved K8s trigger object.",
      "type": "array",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerParameter"
      }
    },
    "patchStrategy": {
      "type": "string",
      "name": "PatchStrategy controls the K8s object patching strategy when the trigger operation is specified as patch.\npossible values:\n\"application/json-patch+json\"\n\"application/merge-patch+json\"\n\"application/strategic-merge-patch+json\"\n\"application/apply-patch+yaml\".\nDefaults to \"application/merge-patch+json\"\n+optional"
    },
    "source": {
      "name": "Source of the K8s resource file(s)",
      "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.ArtifactLocation"
    }
  }
}