service

package
v1.12.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

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

func NewRenderer() api.Renderer

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.

Directories

Path Synopsis
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.

Jump to

Keyboard shortcuts

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