mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-06 01:17:09 +00:00
40 lines
1.0 KiB
Go
40 lines
1.0 KiB
Go
package types
|
|
|
|
const (
|
|
DefaultOAMNS = "oam-system"
|
|
DefaultOAMReleaseName = "core-runtime"
|
|
DefaultOAMRuntimeChartName = "oam-kubernetes-runtime"
|
|
DefaultOAMRepoName = "crossplane-master"
|
|
DefaultOAMRepoUrl = "https://charts.crossplane.io/master"
|
|
DefaultOAMVersion = ">0.0.0-0"
|
|
|
|
DefaultEnvName = "default"
|
|
DefaultAppNamespace = "default"
|
|
)
|
|
|
|
const (
|
|
AnnApiVersion = "oam.appengine.info/apiVersion"
|
|
AnnKind = "oam.appengine.info/kind"
|
|
|
|
// ComponentWorkloadDefLabel indicate which workloaddefinition generate from
|
|
ComponentWorkloadDefLabel = "vela.oam.dev/workloadDef"
|
|
TraitDefLabel = "vela.oam.dev/traitDef"
|
|
)
|
|
|
|
type EnvMeta struct {
|
|
Namespace string `json:"namespace"`
|
|
Name string `json:"name"`
|
|
}
|
|
|
|
const (
|
|
TagCommandType = "commandType"
|
|
|
|
TypeStart = "Getting Started"
|
|
TypeApp = "Applications"
|
|
TypeWorkloads = "Workloads"
|
|
TypeTraits = "Traits"
|
|
TypeRelease = "Release"
|
|
TypeOthers = "Others"
|
|
TypeSystem = "System"
|
|
)
|