internal/

directory
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT

Directories

Path Synopsis
Package auth logs mcloud (and kubectl, through mcloud credential) in to the cluster with the homelab's OpenID Connect provider (Authelia): the cluster's API server trusts its ID tokens (UKS cluster authentication).
Package auth logs mcloud (and kubectl, through mcloud credential) in to the cluster with the homelab's OpenID Connect provider (Authelia): the cluster's API server trusts its ID tokens (UKS cluster authentication).
Package cli is the mcloud command line.
Package cli is the mcloud command line.
Package functions turns an app's function description (what an SDK's runtime prints for MAXCLOUD_DESCRIBE=1 or --describe) into the manifests Flux deploys: a Knative service per HTTP function, a CronJob per schedule, a KEDA-scaled Deployment per queue, and the database queues need.
Package functions turns an app's function description (what an SDK's runtime prints for MAXCLOUD_DESCRIBE=1 or --describe) into the manifests Flux deploys: a Knative service per HTTP function, a CronJob per schedule, a KEDA-scaled Deployment per queue, and the database queues need.
Command gendocs writes the generated reference in docs/reference: the mcloud commands (from their help), maxcloud.yaml (from maxcloud.schema.json) and the controller's custom resources (from the CRDs controller-gen writes).
Command gendocs writes the generated reference in docs/reference: the mcloud commands (from their help), maxcloud.yaml (from maxcloud.schema.json) and the controller's custom resources (from the CRDs controller-gen writes).
Package github is the little of GitHub's REST API that mcloud needs: read files, and commit several file changes at once to a branch.
Package github is the little of GitHub's REST API that mcloud needs: read files, and commit several file changes at once to a branch.
Package kube reads an app's state from the cluster: what Flux applied, its services and workloads, and its logs.
Package kube reads an app's state from the cluster: what Flux applied, its services and workloads, and its logs.
Package kustomize edits kustomization.yaml files as text, so their comments survive.
Package kustomize edits kustomization.yaml files as text, so their comments survive.
Package migrate applies an app's SQL migrations: the files in its migrations directory, each once, in name order, recorded in the table maxcloud_migrations.
Package migrate applies an app's SQL migrations: the files in its migrations directory, each once, in name order, recorded in the table maxcloud_migrations.
Package registry reads and writes entries in the maxcloud app registry: one ResourceSetInputProvider per app in the homelab repo's apps/maxcloud/apps/, which the Flux Operator turns into the app's namespace, guardrails and reconciler (see apps/maxcloud/resourceset.yaml there).
Package registry reads and writes entries in the maxcloud app registry: one ResourceSetInputProvider per app in the homelab repo's apps/maxcloud/apps/, which the Flux Operator turns into the app's namespace, guardrails and reconciler (see apps/maxcloud/resourceset.yaml there).
Package ui is how mcloud talks to you: colors, spinners, tables and prompts on a terminal, and plain lines everywhere else (pipes, CI, NO_COLOR, TERM=dumb, --plain), so logs and scripts read as before.
Package ui is how mcloud talks to you: colors, spinners, tables and prompts on a terminal, and plain lines everywhere else (pipes, CI, NO_COLOR, TERM=dumb, --plain), so logs and scripts read as before.

Jump to

Keyboard shortcuts

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