mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
13 lines
363 B
Go
13 lines
363 B
Go
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))
|
|
}
|