internal/

directory
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0

Directories

Path Synopsis
Package apiauth provides optional bearer-token authentication for calls to claim-machinery-api.
Package apiauth provides optional bearer-token authentication for calls to claim-machinery-api.
Package buildinfo resolves the version, commit and build date of the binary: from the -ldflags -X values the release builds set, falling back to the module and VCS data the Go toolchain embeds (debug.ReadBuildInfo), so a plain `go build` or `go run` still reports something useful.
Package buildinfo resolves the version, commit and build date of the binary: from the -ldflags -X values the release builds set, falling back to the module and VCS data the Go toolchain embeds (debug.ReadBuildInfo), so a plain `go build` or `go run` still reports something useful.
Package conditions evaluates the parameter conditions of a ClaimTemplate (showWhen, enumWhen; claim-machinery-api#135) exactly as the API does (claim-machinery-api internal/claimtemplate/conditions.go), so the CLI can hide what does not apply, offer only the allowed values and drop what the API would ignore anyway.
Package conditions evaluates the parameter conditions of a ClaimTemplate (showWhen, enumWhen; claim-machinery-api#135) exactly as the API does (claim-machinery-api internal/claimtemplate/conditions.go), so the CLI can hide what does not apply, offer only the allowed values and drop what the API would ignore anyway.
Package endpoint keeps the named claim-machinery-api endpoints of ~/.config/claims/config.yaml (claims#116), like the contexts of a kubeconfig: one per lab, each with its URL and the ZITADEL `claims login` uses for it.
Package endpoint keeps the named claim-machinery-api endpoints of ~/.config/claims/config.yaml (claims#116), like the contexts of a kubeconfig: one per lab, each with its URL and the ZITADEL `claims login` uses for it.
Package ghclient builds the go-github client claims talks to GitHub with (claims#108): the token, the API endpoint and errors that say what to do.
Package ghclient builds the go-github client claims talks to GitHub with (claims#108): the token, the API endpoint and errors that say what to do.
Package ghfs is a read-only fs.FS over one ref of a GitHub repository, so claims can read the fleet repository without a local checkout (claims#107).
Package ghfs is a read-only fs.FS over one ref of a GitHub repository, so claims can read the fleet repository without a local checkout (claims#107).
Package layout places the documents of a rendered order into a GitOps repository by the paths the order names itself.
Package layout places the documents of a rendered order into a GitOps repository by the paths the order names itself.
Package orders is the client of machinery-order-service's REST API (docs/adr/0002-order-through-the-order-service.md): orders go through the service, which renders with the caller's token and opens the pull request with its own GitHub identity.
Package orders is the client of machinery-order-service's REST API (docs/adr/0002-order-through-the-order-service.md): orders go through the service, which renders with the caller's token and opens the pull request with its own GitHub identity.
Package secretpath maps a Vault KV v2 entry onto its SOPS file in the fleet repository and back (claims#122, crossplane-configurations#572):
Package secretpath maps a Vault KV v2 entry onto its SOPS file in the fleet repository and back (claims#122, crossplane-configurations#572):
sopstest
Package sopstest sets up throwaway age keys and a .sops.yaml for tests.
Package sopstest sets up throwaway age keys and a .sops.yaml for tests.
Package vault is the Vault side of `claims secret` (claims#122): KV v2 read, write and list on one lab's Vault, with token or AppRole auth (OIDC comes later).
Package vault is the Vault side of `claims secret` (claims#122): KV v2 read, write and list on one lab's Vault, with token or AppRole auth (OIDC comes later).
vaulttest
Package vaulttest is an in-memory fake of the Vault HTTP API parts claims uses (KV v2 data/metadata, AppRole login, token lookup-self, capabilities -self), for tests.
Package vaulttest is an in-memory fake of the Vault HTTP API parts claims uses (KV v2 data/metadata, AppRole login, token lookup-self, capabilities -self), for tests.
Package xrdelete is the file half of deleting a claim (an XR) from an *-xrs directory of the fleet repository, file first: remove the claim's file, the one-shot runs that apply to it and their kustomization.yaml entries, then open the pull request delete-claim/<name>.
Package xrdelete is the file half of deleting a claim (an XR) from an *-xrs directory of the fleet repository, file first: remove the claim's file, the one-shot runs that apply to it and their kustomization.yaml entries, then open the pull request delete-claim/<name>.

Jump to

Keyboard shortcuts

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