- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 74 for ParseIPSloppy (0.24 sec)
-
pkg/proxy/nftables/proxier_test.go
&net.IPNet{IP: netutils.ParseIPSloppy(testExternalIP), Mask: net.CIDRMask(24, 32)}, &net.IPNet{IP: netutils.ParseIPSloppy(testNodeIPv6), Mask: net.CIDRMask(64, 128)}, &net.IPNet{IP: netutils.ParseIPSloppy(testNodeIPv6Alt), Mask: net.CIDRMask(64, 128)}, } networkInterfacer.AddInterfaceAddr(&itf1, addrs1) nft := knftables.NewFake(nftablesFamily, kubeProxyTable)
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/registry/core/service/ipallocator/controller/repair.go
for _, svc := range list.Items { if !helper.IsServiceIPSet(&svc) { // didn't need a cluster IP continue } for _, ip := range svc.Spec.ClusterIPs { ip := netutils.ParseIPSloppy(ip) if ip == nil { // cluster IP is corrupt clusterIPRepairIPErrors.WithLabelValues("invalid").Inc()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 13.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/validation/validation.go
for _, altname := range altnames { if errs := validation.IsDNS1123Subdomain(altname); len(errs) != 0 { if errs2 := validation.IsWildcardDNS1123Subdomain(altname); len(errs2) != 0 { if netutils.ParseIPSloppy(altname) == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 33.4K bytes - Viewed (0) -
cmd/kube-proxy/app/server_linux_test.go
s := &ProxyServer{ Config: tt.config, Client: client, Hostname: "nodename", NodeIPs: map[v1.IPFamily]net.IP{ v1.IPv4Protocol: netutils.ParseIPSloppy("127.0.0.1"), v1.IPv6Protocol: net.IPv6zero, }, } err := s.platformSetup(ctx) if err != nil { t.Errorf("ProxyServer.createProxier() error = %v", err) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 21.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration.go
func SetAPIEndpointDynamicDefaults(cfg *kubeadmapi.APIEndpoint) error { // validate cfg.API.AdvertiseAddress. addressIP := netutils.ParseIPSloppy(cfg.AdvertiseAddress) if addressIP == nil && cfg.AdvertiseAddress != "" { return errors.Errorf("couldn't use \"%s\" as \"apiserver-advertise-address\", must be ipv4 or ipv6 address", cfg.AdvertiseAddress) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier.go
// from documentation is not unheard of, so the restriction to not use the TEST-NET-2 range // must be documented. vs := utilipvs.VirtualServer{ Address: netutils.ParseIPSloppy("198.51.100.0"), Protocol: "TCP", Port: 20000, Scheduler: scheduler, } if err := ipvs.AddVirtualServer(&vs); err != nil { logger.Error(err, "Could not create dummy VS", "scheduler", scheduler)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 28 15:51:23 UTC 2024 - 77.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving.go
// <host>_<ip>-<ip>_<alternateDNS>-<alternateDNS>.key FixtureDirectory string } func NewSecureServingOptions() *SecureServingOptions { return &SecureServingOptions{ BindAddress: netutils.ParseIPSloppy("0.0.0.0"), BindPort: 443, ServerCert: GeneratableKeyCert{ PairName: "apiserver", CertDirectory: "apiserver.local.config/certificates", }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 13:08:18 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/registry/core/service/storage/alloc.go
} if err != nil { return allocated, errors.NewInternalError(fmt.Errorf("failed to allocate a serviceIP: %v", err)) } allocated[family] = allocatedIP.String() } else { parsedIP := netutils.ParseIPSloppy(ip) if parsedIP == nil { return allocated, errors.NewInternalError(fmt.Errorf("failed to parse service IP %q", ip)) } var err error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:05 UTC 2023 - 37.3K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks.go
} if !isSecondaryControlPlane { checks = addCommonChecks(execer, cfg.KubernetesVersion, &cfg.NodeRegistration, checks) // Check if Bridge-netfilter and IPv6 relevant flags are set if ip := netutils.ParseIPSloppy(cfg.LocalAPIEndpoint.AdvertiseAddress); ip != nil { if !IPV4Check && netutils.IsIPv4(ip) { IPV4Check = true } if !IPV6Check && netutils.IsIPv6(ip) { IPV6Check = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator.go
}).AsSelectorPreValidated() ips, err := a.ipAddressLister.List(ipLabelSelector) if err != nil { return } for _, ip := range ips { f(netutils.ParseIPSloppy(ip.Name)) } } func (a *Allocator) CIDR() net.IPNet { return *a.cidr } // for testing func (a *Allocator) Has(ip net.IP) bool { // convert IP to name name := ip.String()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0)