mirror of
https://github.com/imjasonh/client-go2
synced 2026-07-08 00:55:56 +00:00
- Add InformOptions struct with ListOptions and ResyncPeriod fields - Update all client methods to accept options parameters - Add comprehensive examples in main.go demonstrating: - Label selector filtering (test=example) - Field selector filtering (status.phase=Running) - Custom resync periods - Add tests for label and field selectors with mock query parameter support - Fix nil pointer handling in all client methods - Update mock transport to handle query parameters correctly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
22 lines
231 B
Makefile
22 lines
231 B
Makefile
tidy:
|
|
go mod tidy
|
|
|
|
example:
|
|
go run ./
|
|
|
|
test:
|
|
go test -v -race ./...
|
|
|
|
e2e:
|
|
go test -v -race -tags=e2e ./...
|
|
|
|
vet:
|
|
go vet ./...
|
|
|
|
fmt:
|
|
gofmt -s -w .
|
|
|
|
lint:
|
|
golangci-lint run --fix ./...
|
|
|
|
all: tidy vet fmt lint test e2e example
|