- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NewProtocolPort (0.14 sec)
-
pkg/scheduler/framework/types.go
const DefaultBindAllHostIP = "0.0.0.0" // ProtocolPort represents a protocol port pair, e.g. tcp:80. type ProtocolPort struct { Protocol string Port int32 } // NewProtocolPort creates a ProtocolPort instance. func NewProtocolPort(protocol string, port int32) *ProtocolPort { pp := &ProtocolPort{ Protocol: protocol, Port: port, } if len(pp.Protocol) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 19:28:17 UTC 2024 - 36.7K bytes - Viewed (0)