- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for servicePortChainNameBase (0.99 sec)
-
pkg/proxy/nftables/proxier.go
name = name[:chainNameBaseLengthMax-3] + "..." } return name } // servicePortChainNameBase returns the base name for a chain for the given ServicePort. // This is something like "HASH-namespace/serviceName/protocol/portName", e.g, // "ULMVA6XW-ns1/svc1/tcp/p80". func servicePortChainNameBase(servicePortName *proxy.ServicePortName, protocol string) string {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 55.5K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
}, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { name := servicePortChainNameBase(&tc.spn, tc.protocol) if name != tc.expected { t.Errorf("expected %q, got %q", tc.expected, name) } }) } } func Test_servicePortEndpointChainNameBase(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0)