- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for eth3 (0.04 sec)
-
pkg/proxy/ipvs/testing/fake_test.go
fake := NewFakeNetlinkHandle(false) _ = ipvs.NetLinkHandle(fake) // Ensure that the interface is honored fake.SetLocalAddresses("eth0", "1.2.3.4") var expected, addr sets.Set[string] expected = sets.New("1.2.3.4") addr, _ = fake.GetLocalAddresses("eth0") if !addr.Equal(expected) { t.Errorf("Unexpected mismatch, expected: %v, got: %v", expected, addr) } addr, _ = fake.GetAllLocalAddresses()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/stats/provider_test.go
assert.NotNil(t, stats) assert.EqualValues(t, testTime(timestamp, seed).Unix(), stats.Time.Time.Unix(), label+".Net.Time") assert.EqualValues(t, "eth0", stats.Name, "default interface name is not eth0") assert.EqualValues(t, seed+offsetNetRxBytes, *stats.RxBytes, label+".Net.RxBytes") assert.EqualValues(t, seed+offsetNetRxErrors, *stats.RxErrors, label+".Net.RxErrors")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
DetectLocal: proxyconfigapi.DetectLocalConfiguration{BridgeInterface: "eth"}, }, primaryIPFamily: v1.IPv4Protocol, expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{ v1.IPv4Protocol: proxyutil.NewDetectLocalByBridgeInterface("eth"), v1.IPv6Protocol: proxyutil.NewDetectLocalByBridgeInterface("eth"), }, }, { name: "LocalModeBridgeInterface, strange bridge name",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
.github/workflows/codeql-analysis.yml
if: ${{ matrix.language == 'java' }} - name: Disable checksum offloading # See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760 run: sudo ethtool -K eth0 tx off rx off # Install and setup JDK 11 - name: Setup JDK 11 uses: actions/setup-java@v4 with: distribution: temurin java-version: 11
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 02 09:13:16 UTC 2024 - 4K bytes - Viewed (0) -
src/net/netip/netip_pkg_test.go
}, { ip: "500.0.0.1", errstr: "field has value >255", }, { ip: "::gggg%eth0", errstr: "must have at least one digit", }, { ip: "fe80::1cc0:3e8c:119f:c2e1%", errstr: "zone must be a non-empty string", }, { ip: "%eth0", errstr: "missing IPv6 address", }, } for _, test := range tests { t.Run(test.ip, func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 02 15:37:19 UTC 2023 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/ip.go
// The IP address must be an IPv4 or IPv6 address. // IPv4-mapped IPv6 addresses (e.g. ::ffff:1.2.3.4) are not allowed. // IP addresses with zones (e.g. fe80::1%eth0) are not allowed. // Leading zeros in IPv4 address octets are not allowed. // // ip(<string>) <IPAddr> // // Examples: // // ip('127.0.0.1') // returns an IPv4 address // ip('::1') // returns an IPv6 address
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 11:02:34 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/proxy/ipvs/testing/fake.go
"k8s.io/apimachinery/pkg/util/sets" ) // FakeNetlinkHandle mock implementation of proxy NetlinkHandle type FakeNetlinkHandle struct { // localAddresses is a network interface name to all of its IP addresses map, e.g. // eth0 -> [1.2.3.4, 10.20.30.40] localAddresses map[string][]string IsIPv6 bool } // NewFakeNetlinkHandle will create a new FakeNetlinkHandle func NewFakeNetlinkHandle(isIPv6 bool) *FakeNetlinkHandle {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
$2 ~ /^E([ABCD]X|[BIS]P|[SD]I|S|FL)$/ {next} # 386 registers $2 ~ /^(SIGEV_|SIGSTKSZ|SIGRT(MIN|MAX))/ {next} $2 ~ /^(SCM_SRCRT)$/ {next} $2 ~ /^(MAP_FAILED)$/ {next} $2 !~ /^ETH_/ && $2 !~ /^EPROC_/ && $2 !~ /^EQUIV_/ && $2 !~ /^EXPR_/ && $2 ~ /^E[A-Z0-9_]+$/ || $2 ~ /^B[0-9_]+$/ || $2 ~ /^V[A-Z0-9]+$/ || $2 ~ /^CS[A-Z0-9]/ ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
}` type mockInterceptRuleMgr struct { lastRedirect []*Redirect } func buildMockConf(ambientEnabled bool, eventURL string) string { return fmt.Sprintf( mockConfTmpl, "1.0.0", "1.0.0", "eth0", testSandboxDirectory, eventURL, ambientEnabled, "mock", ) } func buildFakePodAndNSForClient() (*corev1.Pod, *corev1.Namespace) { proxy := corev1.Container{Name: "mockContainer"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 17.5K bytes - Viewed (0) -
cmd/net_test.go
}{ {"localhost", false}, {"localhost:9000", false}, {"example.com", false}, {"http://192.168.1.0", false}, {"http://192.168.1.0:9000", false}, {"192.168.1.0", true}, {"[2001:3984:3989::20%eth0]:9000", true}, } for _, testCase := range testCases { ret := isHostIP(testCase.args) if testCase.expectedResult != ret { t.Fatalf("expected: %v , got: %v", testCase.expectedResult, ret) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0)