config

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package config implements `kuke create config <name> --from-blueprint <bp>` (issue #817, child of the #814 epic:create umbrella). A CellConfig is always derived from a CellBlueprint, so the subcommand reads the referenced Blueprint from the daemon, introspects its declared scalar parameters and structural repo/secret slots, and emits a starter Config YAML to stdout that the operator fills and pipes to `kuke apply -f -`. Nothing is written to the daemon — this is a scaffolding affordance, not a parallel write path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigCmd

func NewConfigCmd() *cobra.Command

NewConfigCmd builds `kuke create config <name> --from-blueprint <bp>`. The flag is required: a Config without a Blueprint reference is meaningless.

Types

type MockControllerKey

type MockControllerKey struct{}

MockControllerKey is used to inject a mock kukeonv1.Client via context in tests.

Jump to

Keyboard shortcuts

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