github.com/kubevela/workflow@v0.6.0/pkg/cue/model/keyword.go (about) 1 /* 2 Copyright 2022 The KubeVela Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package model 18 19 const ( 20 // OutputFieldName is the reference of context base object 21 OutputFieldName = "output" 22 // OutputsFieldName is the reference of context Auxiliaries 23 OutputsFieldName = "outputs" 24 // ConfigFieldName is the reference of context config 25 ConfigFieldName = "config" 26 // ParameterFieldName is the keyword in CUE template to define users' input and the reference to the context parameter 27 ParameterFieldName = "parameter" 28 // ContextName is the name of context 29 ContextName = "name" 30 // ContextNamespace is the namespace of the app 31 ContextNamespace = "namespace" 32 // ContextPublishVersion is the publish version of the app 33 ContextPublishVersion = "publishVersion" 34 // ContextWorkflowName is the name of the workflow 35 ContextWorkflowName = "workflowName" 36 // ContextStepSessionID is the session id of the step 37 ContextStepSessionID = "stepSessionID" 38 // ContextStepName is the name of the step 39 ContextStepName = "stepName" 40 // ContextStepGroupName is the name of the stepGroup 41 ContextStepGroupName = "stepGroupName" 42 // ContextSpanID is name for span id. 43 ContextSpanID = "spanID" 44 // OutputSecretName is used to store all secret names which are generated by cloud resource components 45 OutputSecretName = "outputSecretName" 46 )