fix run command, support 1 replica and global mode

This commit is contained in:
Pavel Sviderski committed 2024-12-05 16:24:04 +10:00
1 parent 3ac166e6cb
commit 3ce9c8be04
2 files changed
+52 -35

No files matched your search

-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