refactor: remove internal/domain package, move types to correct packages
- ImageID + ContainerID → internal/docker/types.go - UnparsedURL → internal/service/webhook/types.go - Delete internal/domain/ entirely - Update all imports throughout the codebase
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
||||
|
||||
"git.eeqj.de/sneak/upaas/internal/config"
|
||||
"git.eeqj.de/sneak/upaas/internal/docker"
|
||||
"git.eeqj.de/sneak/upaas/internal/domain"
|
||||
"git.eeqj.de/sneak/upaas/internal/models"
|
||||
)
|
||||
|
||||
@@ -87,7 +86,7 @@ func (svc *Service) GetBuildDirExported(appName string) string {
|
||||
func (svc *Service) BuildContainerOptionsExported(
|
||||
ctx context.Context,
|
||||
app *models.App,
|
||||
imageID domain.ImageID,
|
||||
imageID docker.ImageID,
|
||||
) (docker.CreateContainerOptions, error) {
|
||||
return svc.buildContainerOptions(ctx, app, imageID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user