- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 157 for netutils (0.48 sec)
-
cmd/kube-proxy/app/server_test.go
rawNodeIPs: []net.IP{ netutils.ParseIPSloppy("90.90.90.90"), netutils.ParseIPSloppy("2001:db8::2"), }, bindAddress: "::", expectedFamily: v1.IPv4Protocol, expectedIPv4: "90.90.90.90", expectedIPv6: "2001:db8::2", }, { name: "Dual stack, primary IPv6", rawNodeIPs: []net.IP{ netutils.ParseIPSloppy("2001:db8::2"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 32.3K bytes - Viewed (0) -
pkg/proxy/winkernel/proxier_test.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/kubernetes/pkg/proxy" "k8s.io/kubernetes/pkg/proxy/healthcheck" fakehcn "k8s.io/kubernetes/pkg/proxy/winkernel/testing" netutils "k8s.io/utils/net" "k8s.io/utils/ptr" ) const ( testHostName = "test-hostname" testNetwork = "TestNetwork" ipAddress = "10.0.0.1" prefixLen = 24
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 28 14:30:51 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet.go
continue } switch address.Type { case v1.NodeHostName: if ip := netutils.ParseIPSloppy(address.Address); ip != nil { seenIPs[address.Address] = true } else { seenDNSNames[address.Address] = true } case v1.NodeExternalIP, v1.NodeInternalIP: if ip := netutils.ParseIPSloppy(address.Address); ip != nil { seenIPs[address.Address] = true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:16 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/proxy/iptables/number_generated_rules_test.go
endpointSlices := make([]*discovery.EndpointSlice, nServices) // base parameters basePort := 80 base := netutils.BigForIP(netutils.ParseIPSloppy("10.0.0.1")) // generate a base endpoint slice object baseEp := netutils.BigForIP(netutils.ParseIPSloppy("172.16.0.1")) epPort := 8080 eps := &discovery.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{ Name: "ep",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 13.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go
*/ package dynamiccertificates import ( "crypto/tls" "crypto/x509" "fmt" "strings" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/validation" "k8s.io/klog/v2" netutils "k8s.io/utils/net" ) // BuildNamedCertificates returns a map of *tls.Certificate by name. It's // suitable for use in tls.Config#NamedCertificates. Returns an error if any of the certs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 3.2K bytes - Viewed (0) -
cmd/kube-apiserver/app/options/completion.go
limitations under the License. */ package options import ( "fmt" "net" "strings" apiserveroptions "k8s.io/apiserver/pkg/server/options" _ "k8s.io/component-base/metrics/prometheus/workqueue" netutils "k8s.io/utils/net" controlplane "k8s.io/kubernetes/pkg/controlplane/apiserver/options" "k8s.io/kubernetes/pkg/kubeapiserver" kubeoptions "k8s.io/kubernetes/pkg/kubeapiserver/options" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 26 19:50:38 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation.go
case len(cidrs) == 2: isDual, err := netutils.IsDualStackCIDRStrings(cidrs) if err != nil || !isDual { allErrs = append(allErrs, field.Invalid(newPath.Child("ClusterCIDR"), config.ClusterCIDR, "must be a valid DualStack CIDR (e.g. 10.100.0.0/16,fde4:8dba:82e1::/48)")) } // if we are here means that len(cidrs) == 1, we need to validate it default: if _, _, err := netutils.ParseCIDRSloppy(config.ClusterCIDR); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/proxy/ipvs/netlink_linux.go
limitations under the License. */ package ipvs import ( "fmt" "net" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/klog/v2" proxyutil "k8s.io/kubernetes/pkg/proxy/util" netutils "k8s.io/utils/net" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) type netlinkHandle struct { netlink.Handle isIPv6 bool } // NewNetLinkHandle will create a new NetLinkHandle
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 30 16:18:49 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/controlplane/reconcilers/lease_test.go
// shutdown apiserver first r.StopReconciling() err = r.RemoveEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts) if err != nil { t.Errorf("unexpected error remove endpoints: %v", err) } // reconcile endpoints in another goroutine err = r.ReconcileEndpoints(test.serviceName, netutils.ParseIPSloppy(test.ip), test.endpointPorts, false) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 28.7K bytes - Viewed (0) -
pkg/proxy/util/localdetector.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package util import ( netutils "k8s.io/utils/net" ) // LocalTrafficDetector generates iptables or nftables rules to detect traffic from local pods. type LocalTrafficDetector interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 15:34:37 UTC 2024 - 3.6K bytes - Viewed (0)