github.com/kubevela/workflow@v0.6.0/controllers/testdata/apply-object.yaml (about)

     1  apiVersion: core.oam.dev/v1beta1
     2  kind: WorkflowStepDefinition
     3  metadata:
     4    name: apply-object
     5    namespace: vela-system
     6  spec:
     7    schematic:
     8      cue:
     9        template: "import (\n\t\"vela/op\"\n)\n\napply: op.#Apply & {\n\tvalue:   parameter.value\n\tcluster:
    10          parameter.cluster\n}\nparameter: {\n\t// +usage=Specify the value of the object\n\tvalue:
    11          {...}\n\t// +usage=Specify the cluster of the object\n\tcluster: *\"\" | string\n}\n"