Documentation
¶
Overview ¶
Package net embeds the rendered unbounded-net controller and node 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 net-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 net-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 ¶
var Manifests = mustSub(manifestsRaw, "rendered")
Manifests exposes the rendered manifests as a filesystem rooted at the rendered/ directory, so consumers see the familiar layout (e.g. "00-namespace.yaml", "controller/03-deployment.yaml", "crd/net.unbounded-cloud.io_sites.yaml").
Functions ¶
This section is empty.
Types ¶
This section is empty.