Documentation
¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRenderer ¶
NewRenderer builds a render-only addon service. It reads the Kubernetes client and rest config from the kubevela-pkg singletons at call time, so no startup injection is required.
func Register ¶
func Register()
Register installs the render-only addon service as the process-wide renderer used by the vela/addon CueX provider.
Deliberately not an init(): package initialisation runs before cobra parses flags, so an init() could not be gated on the EnableAddonComponent feature gate. cmd/core calls this from run(), once the gates are known.
Types ¶
This section is empty.