1
0
Fork 0
mirror of https://github.com/imjasonh/client-go2 synced 2026-07-07 00:33:49 +00:00
client-go2/Makefile
Jason Hall 2f443ee72b
Add lister functionality and improve controller framework
- Add Lister and NamespaceLister as concrete structs (not interfaces)
- Implement cache-backed List/Get operations with type safety
- Add lister support to Inform method, returning (*Lister[T], error)
- Update controller to store owned resource listers
- Add example showing how to use listers with controllers
- Fix error logging in examples to use log.Fatal instead of log.Printf
- Fix flaky e2e test by changing OnError handler to not fail immediately
- Update WatchOwned to automatically get owner GVK from client

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 15:13:22 -04:00

23 lines
244 B
Makefile

tidy:
go mod tidy
build:
go build ./...
test:
go test -v -race ./...
e2e:
go test -v -race -tags=e2e ./...
vet:
go vet ./...
fmt:
gofmt -s -w .
lint:
golangci-lint run --fix ./...
.PHONY: all
all: tidy vet fmt lint build test e2e