Files
iam/internal/registry/zipdoc_gen.go
zeekayandHanzo Dev c6dffbf84b Lift the prose again on zip v1.37.12
zipdoc keys each entry by package and address now, so the generated files are
rewritten in that shape; the JWKS and token endpoints name their handler at
each address so the lift finds it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-17 20:58:18 -07:00

20 lines
1.5 KiB
Go

// Code generated by zipdoc; DO NOT EDIT.
package registry
import (
"github.com/zap-proto/zip"
)
func init() {
zip.Describe("github.com/hanzoai/iam/internal/registry GET /v1/iam/registry/jwks", zip.Doc{
Description: "Publishes the public key your registry uses to verify the tokens issued\nabove — the one URL to configure so the registry trusts logins without holding\nany secret of its own.\n\nIf no signing key is available it refuses rather than publishing an empty set,\nbecause a registry that trusts nothing looks identical to one that trusts\neverything until somebody tries to push.",
})
zip.Describe("github.com/hanzoai/iam/internal/registry GET /v1/iam/registry/token", zip.Doc{
Description: "Signs a container client in to your registry. `docker login`, and every\nbuild tool that pushes or pulls images, lands here: it exchanges the\ncredential for a short-lived token scoped to exactly the repositories that\ncredential may touch.\n\nBoth of the shapes container tooling uses are accepted, so the same login works\nwhichever client your pipeline runs.",
})
zip.Describe("github.com/hanzoai/iam/internal/registry POST /v1/iam/registry/token", zip.Doc{
Description: "Signs a container client in to your registry. `docker login`, and every\nbuild tool that pushes or pulls images, lands here: it exchanges the\ncredential for a short-lived token scoped to exactly the repositories that\ncredential may touch.\n\nBoth of the shapes container tooling uses are accepted, so the same login works\nwhichever client your pipeline runs.",
})
}