fix: remove duplicate type declarations from client.go and webhook.go

Types ImageID/ContainerID and UnparsedURL are now defined only in their
respective types.go files, fixing the redeclaration compilation error.
This commit is contained in:
user
2026-02-23 11:50:15 -08:00
parent 721f401005
commit 0a1b22e4ec
2 changed files with 0 additions and 12 deletions

View File

@@ -42,12 +42,6 @@ const stopTimeoutSeconds = 10
// alpine/git v2.47.2 - pulled 2025-12-30
const gitImage = "alpine/git@sha256:d86f367afb53d022acc4377741e7334bc20add161bb10234272b91b459b4b7d8"
// ImageID is a Docker image identifier (ID or tag).
type ImageID string
// ContainerID is a Docker container identifier.
type ContainerID string
// ErrNotConnected is returned when Docker client is not connected.
var ErrNotConnected = errors.New("docker client not connected")

View File

@@ -16,12 +16,6 @@ import (
"git.eeqj.de/sneak/upaas/internal/service/deploy"
)
// UnparsedURL is a URL stored as a plain string without parsing.
// Use this instead of string when the value is known to be a URL
// but should not be parsed into a net/url.URL (e.g. webhook URLs,
// compare URLs from external payloads).
type UnparsedURL string
// ServiceParams contains dependencies for Service.
type ServiceParams struct {
fx.In