mirror of
https://github.com/imjasonh/client-go2
synced 2026-07-07 00:33:49 +00:00
- 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>
23 lines
244 B
Makefile
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
|