chart

package
v0.0.0-...-60784e1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package chart embeds the educates-installer Helm chart into the CLI binary. The chart files are copied from installer/charts/educates-installer/ by the `make embed-installer-chart` target (and refreshed from the same source whenever the chart changes).

The duplication is intentional: go:embed paths cannot escape the containing package, and committing the copy makes builds reproducible without a pre-build hook. The Makefile target and `make verify-installer-chart` catch drift.

Index

Constants

View Source
const Name = "educates-installer"

Name is the helm chart name. Matches files/Chart.yaml.

Variables

This section is empty.

Functions

func Load

func Load() (*chart.Chart, error)

Load reads the embedded operator chart and returns a parsed *chart.Chart ready to pass to helm install/upgrade actions.

helm.sh/helm/v4 doesn't expose a fs.FS-aware loader, so we walk the embedded files and hand them to LoadFiles as BufferedFile entries with chart-root-relative names (Chart.yaml, templates/foo.yaml, ...).

Types

This section is empty.

Jump to

Keyboard shortcuts

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