mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 21:29:02 +00:00
encode and decode published ports using container labels
This commit is contained in:
1 parent
4de7ecd747
commit
0652123bc7
3 files changed
+69
-2
No files matched your search
@@ -27,9 +27,9 @@ type PortSpec struct {
|
||||
PublishedPort uint16
|
||||
// ContainerPort is the port inside the container that the service listens on.
|
||||
ContainerPort uint16
|
||||
// Protocol specifies the network protocol. Default is ProtocolHTTPS if Hostname is set, ProtocolTCP otherwise.
|
||||
// Protocol specifies the network protocol.
|
||||
Protocol string
|
||||
// Mode specifies how the port is published. Default is PortModeIngress.
|
||||
// Mode specifies how the port is published.
|
||||
Mode string
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user