fix: send service ports on lb allocate
This commit is contained in:
@@ -10,4 +10,11 @@ type LoadBalancer struct {
|
||||
type AllocateRequest struct {
|
||||
Namespace string `json:"namespace"`
|
||||
Name string `json:"name"`
|
||||
Ports []AllocatePortRule `json:"ports,omitempty"`
|
||||
}
|
||||
|
||||
type AllocatePortRule struct {
|
||||
Protocol string `json:"protocol"`
|
||||
PortFrom int `json:"portFrom"`
|
||||
PortTo *int `json:"portTo,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user