renderer

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package renderer generates the configuration files that are mounted into the klaus container. It mirrors the Helm chart's ConfigMap rendering: SKILL.md files, settings.json, .mcp.json, agent files, and hook scripts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasExtensions

func HasExtensions(cfg *config.Config) bool

HasExtensions returns true if there are skills or agent files that need to be mounted as an extensions directory.

Types

type Renderer

type Renderer struct {
	// contains filtered or unexported fields
}

Renderer generates configuration files for the klaus container.

func New

func New(paths *config.Paths) *Renderer

New creates a renderer that writes to the given paths.

func (*Renderer) Render

func (r *Renderer) Render(cfg *config.Config) error

Render generates all configuration files from the config. It cleans the rendered directory first to ensure a fresh state.

Jump to

Keyboard shortcuts

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