refactor: eliminate internal/domain package, colocate types with implementations

Move ImageID and ContainerID into internal/docker/types.go (where they're
primarily used) and UnparsedURL into internal/service/webhook/types.go.

This follows the Go convention of defining types alongside the code that
uses them rather than in a separate 'domain' package.
This commit is contained in:
user
2026-02-23 11:46:44 -08:00
parent 5c43d5b6f8
commit 721f401005
2 changed files with 14 additions and 0 deletions

7
internal/docker/types.go Normal file
View File

@@ -0,0 +1,7 @@
package docker
// ImageID is a Docker image identifier (ID or tag).
type ImageID string
// ContainerID is a Docker container identifier.
type ContainerID string