fix run command, support 1 replica and global mode

This commit is contained in:
Pavel Sviderski
2024-12-05 16:24:04 +10:00
parent 3ac166e6cb
commit 3ce9c8be04
2 changed files with 52 additions and 35 deletions
-11
View File
@@ -21,17 +21,6 @@ import (
"uncloud/internal/secret"
)
// ServiceOptions contains all the options for creating a service.
// TODO: replace with ServiceSpec.
type ServiceOptions struct {
Image string
Name string
Machine string
// Mode is the replication mode of the service.
Mode string
Publish []string
}
type RunServiceResponse struct {
ID string
Name string