diff --git a/internal/docker/types.go b/internal/docker/types.go new file mode 100644 index 0000000..178035e --- /dev/null +++ b/internal/docker/types.go @@ -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 diff --git a/internal/service/webhook/types.go b/internal/service/webhook/types.go new file mode 100644 index 0000000..69ce0d5 --- /dev/null +++ b/internal/service/webhook/types.go @@ -0,0 +1,7 @@ +package webhook + +// 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