feat(pre-deploy): implement pre-deploy hook operations for deployment

This commit is contained in:
Pasha Sviderski
2026-04-08 19:16:42 +10:00
parent 1c8b77054a
commit 772b31b57f
6 changed files with 505 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
package progress
import (
"fmt"
"github.com/psviderski/uncloud/internal/cli/tui"
)
// PreDeployHookEventID returns a progress event identifier for pre-deploy hook operations.
func PreDeployHookEventID(serviceName, machineName string) string {
return fmt.Sprintf("Pre-deploy hook %s on %s", tui.NameStyle.Render(serviceName), tui.Bold.Render(machineName))
}