Skip to content

Release v1.1.1: refactor Go codebase and documentation#7

Merged
cerede2000 merged 2 commits into
mainfrom
agent/document-tls-model
Jul 18, 2026
Merged

Release v1.1.1: refactor Go codebase and documentation#7
cerede2000 merged 2 commits into
mainfrom
agent/document-tls-model

Conversation

@cerede2000

@cerede2000 cerede2000 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

v1.1.1 — maintainable Go codebase and documentation

What changed

  • refactors the former 2,200-line src/main.go into focused files without changing runtime behavior:
    • config.go: profile parsing, validation, and reload;
    • docker_discovery.go: Unix client, discovery cache, and event loop;
    • policy.go: Docker route classification, authorization, scope enforcement, and response filters;
    • proxy.go: HTTP proxy handling and healthcheck;
    • types.go: shared configuration and Docker data types;
    • main.go: application wiring only.
  • makes README.md the complete English default documentation;
  • adds the complete French translation in README.fr.md, with bidirectional language links;
  • documents the local HTTP-to-Unix-socket security model and links the Docker Scout report.

Why

The separation keeps the current least-privilege behavior intact while creating clean boundaries for future engine adapters, such as Podman, without duplicating authorization and container-scope logic.

User impact

No configuration, endpoint, image, or authorization behavior changes. Existing profiles and deployments remain compatible.

Validation

  • gofmt -w src/*.go
  • git diff --check
  • go test -race ./...
  • go vet ./...

@cerede2000
cerede2000 marked this pull request as ready for review July 18, 2026 08:17
@cerede2000
cerede2000 merged commit efd592e into main Jul 18, 2026
2 checks passed
@cerede2000 cerede2000 changed the title Document TLS model and Docker Scout report Release v1.1.1: refactor Go codebase and documentation Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant