- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ipv4_addr (2.65 sec)
-
pkg/proxy/nftables/helpers_test.go
add rule ip testing masquerading masquerade fully-random add set ip testing firewall { type ipv4_addr . inet_proto . inet_service ; comment "destinations that are subject to LoadBalancerSourceRanges" ; } add set ip testing firewall-allow { type ipv4_addr . inet_proto . inet_service . ipv4_addr ; flags interval ; comment "destinations+sources that are allowed by LoadBalancerSourceRanges" ; } add chain ip testing firewall-check
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 09:57:47 UTC 2024 - 48.5K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
add set ip kube-proxy cluster-ips { type ipv4_addr ; comment "Active ClusterIPs" ; } add set ip kube-proxy nodeport-ips { type ipv4_addr ; comment "IPs that accept NodePort traffic" ; } add element ip kube-proxy nodeport-ips { 192.168.0.2 } add rule ip kube-proxy service-endpoints-check ip daddr . meta l4proto . th dport vmap @no-endpoint-services
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/proxy/nftables/proxier.go
} func (proxier *Proxier) setupNFTables(tx *knftables.Transaction) { ipX := "ip" ipvX_addr := "ipv4_addr" //nolint:stylecheck // var name intentionally resembles value noLocalhost := "ip daddr != 127.0.0.0/8" if proxier.ipFamily == v1.IPv6Protocol { ipX = "ip6" ipvX_addr = "ipv6_addr" noLocalhost = "ip6 daddr != ::1" } tx.Add(&knftables.Table{ Comment: ptr.To("rules for kube-proxy"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 13:48:54 UTC 2024 - 55.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cidr_test.go
{ name: "returns IP ipv4", expr: `cidr("192.168.0.0/24").ip()`, expectResult: apiservercel.IP{Addr: ipv4Addr}, }, { name: "masks masked ipv4", expr: `cidr("192.168.0.0/24").masked()`, expectResult: apiservercel.CIDR{Prefix: netip.PrefixFrom(ipv4Addr, 24)}, }, { name: "masks unmasked ipv4", expr: `cidr("192.168.0.1/24").masked()`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:09 UTC 2023 - 8.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
// Shouldn't hit DNS, because it's an IP string literal. InetAddress ipv4Addr; try { ipv4Addr = InetAddress.getByName(ipStr); } catch (UnknownHostException e) { // OK: this is probably Android, which is stricter. return; } assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); assertTrue(InetAddresses.isInetAddress(ipStr)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go
require.True(t, converted, "expectation not equal to output") } else { t.Fatal("expected result must not be nil") } } func TestIP(t *testing.T) { ipv4Addr, _ := netip.ParseAddr("192.168.0.1") int4 := types.Int(4) ipv6Addr, _ := netip.ParseAddr("2001:db8::68") int6 := types.Int(6) trueVal := types.Bool(true) falseVal := types.Bool(false) cases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 12:03:07 UTC 2023 - 8.9K bytes - Viewed (0) -
cluster/gce/util.sh
# # Arguments: # $1 - VM name # $2 - VM zone # $3 - external static IP; if empty will use an ephemeral IP address. function attach-external-ip() { local NAME=${1} local ZONE=${2} local IP_ADDR=${3:-} local ACCESS_CONFIG_NAME ACCESS_CONFIG_NAME=$(gcloud compute instances describe "${NAME}" \ --project "${PROJECT}" --zone "${ZONE}" \ --format="value(networkInterfaces[0].accessConfigs[0].name)")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0)