Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for servicePortEndpointChainNameBase (0.39 sec)

  1. pkg/proxy/nftables/proxier.go

    	return hashAndTruncate(name)
    }
    
    // servicePortEndpointChainNameBase returns the suffix for chain names for the given
    // endpoint. This is something like
    // "HASH-namespace/serviceName/protocol/portName__endpointIP/endpointport", e.g.,
    // "5OJB2KTY-ns1/svc1/tcp/p80__10.180.0.1/80".
    func servicePortEndpointChainNameBase(servicePortName *proxy.ServicePortName, protocol, endpoint 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)
  2. pkg/proxy/nftables/proxier_test.go

    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			name := servicePortEndpointChainNameBase(&tc.spn, tc.protocol, tc.endpoint)
    			if name != tc.expected {
    				t.Errorf("expected %q, got %q", tc.expected, name)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top