cli

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

run.go — Production runtime entrypoint.

This command has one responsibility: run Orkestra. It performs exactly three tasks:

  1. Load all provided katalog files.
  2. Merge them into a single resolved Katalog.
  3. Start the Orkestra runtime using the merged result.

All development‑only behavior (cluster checks, dependency setup, Kind provisioning, extra flags) lives in run_dev.go and is excluded from production builds via build tags.

Index

Constants

This section is empty.

Variables

View Source
var Packs = map[string]Pack{
	"beginner": {
		Name:        "beginner",
		Description: "Start here. Simple CRDs, Deployments, Services.",
		Path:        "beginner",
	},
	"intermediate": {
		Name:        "intermediate",
		Description: "Multi-resource patterns, when/anyOf, Komposer basics.",
		Path:        "intermediate",
	},
	"advanced": {
		Name:        "advanced",
		Description: "Hooks, constructors, validation/mutation, registries.",
		Path:        "advanced",
	},
	"security": {
		Name:        "security",
		Description: "Deletion protection, namespace protection, admission webhooks.",
		Path:        "security",
	},
	"use-cases": {
		Name:        "use-cases",
		Description: "Full-stack, cross-CRD, external gates, once-secrets.",
		Path:        "use-cases",
	},
	"rollback": {
		Name:        "rollback",
		Description: "Zero-config and configurable failure recovery",
		Path:        "use-cases/rollback",
	},
	"developer": {
		Name:        "developer",
		Description: "Local to production in minutes — deploy your app without writing operator code.",
		Path:        "developer",
	},
}

Functions

func Execute

func Execute(k *konfig.Konfig, c context.Context)

Types

type Pack added in v0.3.8

type Pack struct {
	Name        string
	Description string
	Path        string
}

packPaths maps CLI pack names to their paths inside the embedded FS. Most packs are top-level directories; rollback is nested under use-cases.

func GetPack added in v0.3.8

func GetPack(name string) (Pack, bool)

func ListPacks added in v0.3.8

func ListPacks() []Pack

Jump to

Keyboard shortcuts

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