Directories
¶
| Path | Synopsis |
|---|---|
|
Package api serves the controller's HTTP interface.
|
Package api serves the controller's HTTP interface. |
|
Package application defines the Application spec, its observed status, and the JSON both serialise to.
|
Package application defines the Application spec, its observed status, and the JSON both serialise to. |
|
Package appset sources the set of applications the controller reconciles, so that the applications file is itself GitOps-managed (issue #47).
|
Package appset sources the set of applications the controller reconciles, so that the applications file is itself GitOps-managed (issue #47). |
|
Package authz answers who is calling the HTTP API and whether they may do what they are asking.
|
Package authz answers who is calling the HTTP API and whether they may do what they are asking. |
|
Package backend applies compose-derived Swarm specs to a swarm through the moby client.
|
Package backend applies compose-derived Swarm specs to a swarm through the moby client. |
|
Package capability names the optional interfaces a backend may implement.
|
Package capability names the optional interfaces a backend may implement. |
|
Package client talks to the controller's HTTP API.
|
Package client talks to the controller's HTTP API. |
|
cmd
|
|
|
swarmcli-cd
command
Command swarmcli-cd is the SwarmCLI CD controller: it converges a Docker Swarm to the desired state declared in a Git repository, and serves the API that everything else observes it through.
|
Command swarmcli-cd is the SwarmCLI CD controller: it converges a Docker Swarm to the desired state declared in a Git repository, and serves the API that everything else observes it through. |
|
Package compose turns a rendered compose manifest into the Swarm specs a stack is made of.
|
Package compose turns a rendered compose manifest into the Swarm specs a stack is made of. |
|
Package config reads the applications the controller reconciles.
|
Package config reads the applications the controller reconciles. |
|
Package controller is swarmcli-cd's entry point.
|
Package controller is swarmcli-cd's entry point. |
|
Package drift decides whether an application matches git.
|
Package drift decides whether an application matches git. |
|
Package extension is the fifth seam: it lets a companion module add HTTP routes to the controller's API without forking package api or package controller.
|
Package extension is the fifth seam: it lets a companion module add HTTP routes to the controller's API without forking package api or package controller. |
|
Package git is the pull half of GitOps: it fetches an application's repository and pins it to a commit.
|
Package git is the pull half of GitOps: it fetches an application's repository and pins it to a commit. |
|
Package health answers "is what is running actually working".
|
Package health answers "is what is running actually working". |
|
Package notify carries reconcile events to whoever is listening.
|
Package notify carries reconcile events to whoever is listening. |
|
Package prune deletes what git no longer declares: the resources of an application that has left the app set, and the rule deciding which services a release still in it has stopped declaring.
|
Package prune deletes what git no longer declares: the resources of an application that has left the app set, and the rule deciding which services a release still in it has stopped declaring. |
|
Package reclaim deletes the on-disk caches an application leaves behind when it stops being reconciled: its clone under <data>/repos/<name> and its chart repository cache under <data>/charts/<name>.
|
Package reclaim deletes the on-disk caches an application leaves behind when it stops being reconciled: its clone under <data>/repos/<name> and its chart repository cache under <data>/charts/<name>. |
|
Package reconcile is the pull loop: for each application, fetch the repository, render it, plan against the swarm, and — when the sync policy says so — apply.
|
Package reconcile is the pull loop: for each application, fetch the repository, render it, plan against the swarm, and — when the sync policy says so — apply. |
|
Package regauth turns an application's registry credential into the encoded auth the moby client sends when it creates or updates a service.
|
Package regauth turns an application's registry credential into the encoded auth the moby client sends when it creates or updates a service. |
|
Package seam holds the registration mechanism the open-core seams share.
|
Package seam holds the registration mechanism the open-core seams share. |
|
Package secrets resolves secret material read from an application's source tree — a values file committed encrypted, for instance.
|
Package secrets resolves secret material read from an application's source tree — a values file committed encrypted, for instance. |
|
Package source turns a checked-out working tree into what the chart engine's PlanApply takes: a release file, a chart source, and the reader it uses for values files.
|
Package source turns a checked-out working tree into what the chart engine's PlanApply takes: a release file, a chart source, and the reader it uses for values files. |
|
Package swarms resolves an application's destination to something that can apply to it.
|
Package swarms resolves an application's destination to something that can apply to it. |
|
local
Package local is the OSS swarms.Registry: it resolves exactly one swarm, the one this controller runs in, over the docker.sock it is mounted with (D2).
|
Package local is the OSS swarms.Registry: it resolves exactly one swarm, the one this controller runs in, over the docker.sock it is mounted with (D2). |
Click to show internal directories.
Click to hide internal directories.