machina

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package machina embeds the rendered Machina controller deployment manifests so they can be bundled into binaries that need to apply them (e.g. the kubectl plugin). The sources of truth are the *.yaml.tmpl files in this directory and the controller-gen generated CRDs under crd/; the rendered tree under rendered/ is produced by `make machina-manifests` and is gitignored.

The `all:` prefix in the embed directive plus the tracked rendered/.gitignore placeholder ensures the directive is satisfiable on a fresh clone (before `make machina-manifests` has run), so Go tooling (`go build`, `go vet`, golangci-lint, gopls, ...) can load this package without requiring the rendering step to have happened first. The placeholder file is harmless at runtime: consumers that materialise the FS only apply *.yaml/*.yml files.

Index

Constants

This section is empty.

Variables

View Source
var Manifests = mustSub(manifestsRaw, "rendered")

Manifests exposes the rendered manifests as a filesystem rooted at the rendered/ directory, so consumers see the familiar flat layout (e.g. "01-namespace.yaml", "crd/unbounded-cloud.io_machines.yaml").

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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