Skip to content

Commit 2487c00

Browse files
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

File tree

‎api/apps/v1alpha1/httpcache/doc.go‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎api/apps/v1alpha1/httpcache/types.go‎

Lines changed: 0 additions & 73 deletions
This file was deleted.

‎api/apps/v1alpha1/httpcache/zz_generated.deepcopy.go‎

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)