Repository navigation
Commit 2487c00
committed
chore(api): remove the HTTPCache values type
Reverses the call made one commit earlier, which kept the package on the
grounds that dropping it would break the terraform provider. That was
wrong on the facts: the provider's cozystack_httpcache resource is
hand-written against its own terraform-plugin-framework model and imports
nothing from here. The only importer of any api/apps/v1alpha1 package
there is a per-kind schema-guard test, so what a pin bump breaks is
httpcache_model_test.go - which goes away with the resource anyway.
Nothing else argues for keeping it. types.go is generated by values-gen
out of packages/apps/http-cache, which this branch deletes, so the file
could never be regenerated; no Go file in this repository imports it; and
the schema the surviving instances are served comes from the
openAPISchema recorded in their in-cluster ApplicationDefinition, which
this branch does not touch.
Assisted-by: LLM
Signed-off-by: Andrei Kvapil <[email protected]>1 parent b0374c0 commit 2487c00
3 files changed
Lines changed: 0 additions & 230 deletions
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments