pkg/

directory
v1.12.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0

Directories

Path Synopsis
service
Package service provides a render-only addon service: it resolves an addon from the registry and renders its Application plus auxiliaries, without dispatching anything to the cluster.
Package service provides a render-only addon service: it resolves an addon from the registry and renders its Application plus auxiliaries, without dispatching anything to the cluster.
service/api
Package api holds the leaf types and injection seam shared between the render-only addon service and the CueX addon provider.
Package api holds the leaf types and injection seam shared between the render-only addon service and the CueX addon provider.
helm/flux2apis
Package apis contains typed structs from fluxcd/helm-controller and fluxcd/source-controller.
Package apis contains typed structs from fluxcd/helm-controller and fluxcd/source-controller.
Package appkeeper builds a ResourceKeeper for an Application: it is the Application's implementation of the kind-agnostic library in pkg/resourcekeeper.
Package appkeeper builds a ResourceKeeper for an Application: it is the Application's implementation of the kind-agnostic library in pkg/resourcekeeper.
cmd
Package componenthealth evaluates a component's health from its live resources without an Application or a render context: everything rendering would have supplied is passed in, as the hub puts it in a Component for vela-agent (design/vela-core/agent-dispatch.md).
Package componenthealth evaluates a component's health from its live resources without an Application or a render context: everything rendering would have supplied is passed in, as the hub puts it in a Component for vela-agent (design/vela-core/agent-dispatch.md).
config.oam.dev/v1alpha1/migration
Package migration runs the legacy config adoption sweep at controller startup when the AutoMigrateLegacyConfigs feature gate is on.
Package migration runs the legacy config adoption sweep at controller startup when the AutoMigrateLegacyConfigs feature gate is on.
core.oam.dev/v1beta1/core/components
Package components provides components related controllers.
Package components provides components related controllers.
core.oam.dev/v1beta1/core/traits
Package traits provides traits related controllers.
Package traits provides traits related controllers.
cue
cuex/providers/addon
Package addon provides the CueX `addon.#Render` provider, which resolves and renders an addon via the injected render-only service.
Package addon provides the CueX `addon.#Render` provider, which resolves and renders an addon via the injected render-only service.
cuex/providers/kuberead
Package kuberead serves `vela/kube` to SourceDefinitions with the writes removed.
Package kuberead serves `vela/kube` to SourceDefinitions with the writes removed.
cuex/providers/module
Package module provides the CueX `module.#Render` provider, which fetches a module and renders its owned Application via the injected render service.
Package module provides the CueX `module.#Render` provider, which fetches a module and renders its owned Application via the injected render service.
cuex/providers/registry
Package registry provides a CueX provider that reads a file out of a configured addon registry.
Package registry provides a CueX provider that reads a file out of a configured addon registry.
cuex/providers/validation
Package validation carries the marker that tells CueX providers they are evaluating an Application for admission rather than rendering it for real.
Package validation carries the marker that tells CueX providers they are evaluating an Application for admission rather than rendering it for real.
cuex/providers/velaconfig
Package velaconfig provides a CueX provider that reads a KubeVela Config's properties.
Package velaconfig provides a CueX provider that reads a KubeVela Config's properties.
cuex/providers/velaconfig/reader
Package reader implements vela/velaconfig's Reader over pkg/config.
Package reader implements vela/velaconfig's Reader over pkg/config.
render
Package render holds the CUE template helpers shared by the workload/trait render engine and by source resolution.
Package render holds the CUE template helpers shared by the workload/trait render engine and by source resolution.
upgrade
Package upgrade provides CUE version-compatibility helpers for KubeVela.
Package upgrade provides CUE version-compatibility helpers for KubeVela.
Package definition contains some helper functions used in vela CLI and vela addon mechanism
Package definition contains some helper functions used in vela CLI and vela addon mechanism
ast
cachekey
Package cachekey derives a SourceDefinition's cache key from the context its template reads.
Package cachekey derives a SourceDefinition's cache key from the context its template reads.
celexpr
Package celexpr binds KubeVela's expression roots to the engine in github.com/kubevela/pkg/cel: it declares source, context and component, and types source and context from binding schemas and the surface registry.
Package celexpr binds KubeVela's expression roots to the engine in github.com/kubevela/pkg/cel: it declares source, context and component, and types source and context from binding schemas and the surface registry.
cuetest/ginkgotest
Package ginkgotest runs *_test.cue definition tests as Ginkgo specs.
Package ginkgotest runs *_test.cue definition tests as Ginkgo specs.
defkit
Package defkit provides a Go SDK for authoring KubeVela X-Definitions.
Package defkit provides a Go SDK for authoring KubeVela X-Definitions.
defkit/testing/matchers
Package matchers provides custom Gomega matchers for testing defkit definitions.
Package matchers provides custom Gomega matchers for testing defkit definitions.
deftest
Package deftest holds test helpers for definitions written in CUE.
Package deftest holds test helpers for definitions written in CUE.
goloader
Package goloader provides functionality to load and process Go-based KubeVela definitions.
Package goloader provides functionality to load and process Go-based KubeVela definitions.
inherit
Package inherit renders a definition that extends another.
Package inherit renders a definition that extends another.
nsrestrict
Package nsrestrict reads a definition's restrictions: which namespaces' Applications may use it.
Package nsrestrict reads a definition's restrictions: which namespaces' Applications may use it.
Package kubeutil holds the small object helpers the resourcekeeper library needs, copied from pkg/oam/util and pkg/utils so the library depends on neither.
Package kubeutil holds the small object helpers the resourcekeeper library needs, copied from pkg/oam/util and pkg/utils so the library depends on neither.
Package logging provides structured logging utilities for KubeVela webhooks with focus on request traceability and observability.
Package logging provides structured logging utilities for KubeVela webhooks with focus on request traceability and observability.
Package module implements the on-disk module package format: a parser that reads a module source tree into a validated Module model, shared by vela module publish, the registry fetch, and vela module deploy.
Package module implements the on-disk module package format: a parser that reads a module source tree into a validated Module model, shared by vela module publish, the registry fetch, and vela module deploy.
naming
Package naming holds the module naming rules shared by the side that writes definition names and the side that reads them back: the render service derives {module}-{apiVersion}-{name} when installing a module, and type resolution derives the same string when an Application refers to a module capability.
Package naming holds the module naming rules shared by the side that writes definition names and the side that reads them back: the render service derives {module}-{apiVersion}-{name} when installing a module, and type resolution derives the same string when an Application refers to a module capability.
service
Package service fetches a module from a registry and parses it into a module.Module, server-side, for the type: module render path.
Package service fetches a module from a registry and parses it into a module.Module, server-side, for the type: module render path.
service/api
Package api holds the leaf types and injection seam shared between the module render service and the CueX module provider.
Package api holds the leaf types and injection seam shared between the module render service and the CueX module provider.
monitor
oam
Package oam contains miscellaneous OAM helper types.
Package oam contains miscellaneous OAM helper types.
mock
Package mock provides fake OAM resources for use in tests.
Package mock provides fake OAM resources for use in tests.
Package registry provides a minimal interface-based provider registry for breaking import cycles in the codebase.
Package registry provides a minimal interface-based provider registry for breaking import cycles in the codebase.
component
Package component holds the package-source machinery shared by the addon and module implementations: the Registry model and its data store, the readers that speak git, OSS and OCI, and the OCI chart helpers.
Package component holds the package-source machinery shared by the addon and module implementations: the Registry model and its data store, the readers that speak git, OSS and OCI, and the OCI chart helpers.
Package resourcekeeper applies an owner's resources, records them in ResourceTrackers and garbage-collects the ones it no longer renders.
Package resourcekeeper applies an owner's resources, records them in ResourceTrackers and garbage-collects the ones it no longer renders.
Package resourcetracker records what an owner has applied, so it can be garbage-collected when the owner stops rendering it or goes away.
Package resourcetracker records what an owner has applied, so it can be garbage-collected when the owner stops rendering it or goes away.
app
env
kubeconfig
Package kubeconfig reports whether a Kubernetes client configuration can be resolved, without terminating the process when it cannot.
Package kubeconfig reports whether a Kubernetes client configuration can be resolved, without terminating the process when it cannot.
requiredcrds
Package requiredcrds verifies at startup that the CRDs vela-core depends on are served by the cluster.
Package requiredcrds verifies at startup that the CRDs vela-core depends on are served by the cluster.
servingcert
Package servingcert keeps a self-signed CA and a serving cert for an in-cluster Service in a Secret, and renews them.
Package servingcert keeps a self-signed CA and a serving cert for an in-cluster Service in a Secret, and renews them.
webhook
certs
Package certs sets up the serving cert of the vela-core admission webhooks.
Package certs sets up the serving cert of the vela-core admission webhooks.
core.oam.dev/v1beta1/application/addon
Package addon holds the admission-time checks for type: addon Application components.
Package addon holds the admission-time checks for type: addon Application components.
core.oam.dev/v1beta1/application/module
Package module holds the admission-time checks for type: module Application components.
Package module holds the admission-time checks for type: module Application components.
core.oam.dev/v1beta1/workflowstepdefinition
Package workflowstepdefinition provides admission control validation for WorkflowStepDefinition resources in KubeVela.
Package workflowstepdefinition provides admission control validation for WorkflowStepDefinition resources in KubeVela.
providers/legacy/config
Package config is the legacy (vela/op style) registration of the config workflow steps.
Package config is the legacy (vela/op style) registration of the config workflow steps.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL