internal/

directory
v0.17.0 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package appapi is mcloud's client for the platform's apps API: an app's logs from Loki, its metrics from Prometheus, and the platform's alerts about it.
Package appapi is mcloud's client for the platform's apps API: an app's logs from Loki, its metrics from Prometheus, and the platform's alerts about it.
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 platform/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 platform/apps/maxcloud/apps/, which the Flux Operator turns into the app's namespace, guardrails and reconciler (see apps/maxcloud/resourceset.yaml there).
Package storage reads and writes the objects in an app's buckets, with the app's own S3 credentials (the Secret maxcloud-s3 the controller keeps in its namespace).
Package storage reads and writes the objects in an app's buckets, with the app's own S3 credentials (the Secret maxcloud-s3 the controller keeps in its namespace).
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