mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
fix run command, support 1 replica and global mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user