package
0.3.6
Repository: https://github.com/oam-dev/kubevela-core-api.git
Documentation: pkg.go.dev

# Functions

EqualCapability will check whether two capabilities is equal.
SetFlagBy set cli flag from Parameter.

# Constants

AnnDescription is the annotation which describe what is the capability used for in a WorkloadDefinition/TraitDefinition Object.
DefaultAppNamespace defines the default K8s namespace for Apps created by KubeVela.
DefaultEnvName defines the default environment name for Apps created by KubeVela.
DefaultKubeVelaChartName defines the default chart name of KubeVela, this variable MUST align to the chart name of this repo.
DefaultKubeVelaNS defines the default KubeVela namespace in Kubernetes.
DefaultKubeVelaReleaseName defines the default name of KubeVela Release.
DefaultKubeVelaVersion defines the default version needed for KubeVela chart.
StatusDeployed represents the App was deployed.
StatusStaging represents the App was changed locally and it's spec is diff from the deployed one, or not deployed at all.
TagCommandType used for tag cli category.
TerraformCategory means the capability is in Terraform format.
TypeApp defines one category.
TypeCap defines one category.
TypeScope represent OAM Scope.
TypeStart defines one category.
TypeSystem defines one category.
TypeTrait represents OAM Trait.
TypeWorkload represents OAM Workload.

# Variables

CapabilityCmpOptions will set compare option.

# Structs

Args is args for controller-runtime client.
Capability defines the content of a capability.
Chart defines all necessary information to install a whole chart.
CRDInfo record the CRD info of the Capability.
EnvMeta stores the info for app environment.
Installation defines the installation method for this Capability, currently only helm is supported.
Parameter defines a parameter for cli from capability template.
Source record the source of Capability.

# Type aliases

CapabilityCategory defines the category of a capability.
CapType defines the type of capability.