- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 157 for netutils (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/server/config_test.go
"k8s.io/apiserver/pkg/server/healthz" "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes/fake" "k8s.io/client-go/rest" "k8s.io/component-base/tracing" "k8s.io/klog/v2/ktesting" netutils "k8s.io/utils/net" ) func TestAuthorizeClientBearerTokenNoops(t *testing.T) { // All of these should do nothing (not panic, no side-effects) cfgGens := []func() *rest.Config{ func() *rest.Config { return nil },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 13.1K bytes - Viewed (0) -
cmd/kube-controller-manager/app/core.go
cidrsSplit := strings.Split(strings.TrimSpace(cidrsList), ",") cidrs, err := netutils.ParseCIDRs(cidrsSplit) if err != nil { return nil, false, err } // if cidrs has an error then the previous call will fail // safe to ignore error checking on next call dualstack, _ := netutils.IsDualStackCIDRs(cidrs) return cidrs, dualstack, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 08:42:31 UTC 2024 - 39K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/utils.go
"k8s.io/client-go/tools/cache" "k8s.io/client-go/tools/leaderelection/resourcelock" endpointsliceutil "k8s.io/endpointslice/util" "k8s.io/kubernetes/pkg/apis/discovery/validation" netutils "k8s.io/utils/net" ) // addrTypePortMapKey is used to uniquely identify groups of endpoint ports and // address types. type addrTypePortMapKey string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 8.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
} return nil } // ChooseAPIServerBindAddress is a wrapper for netutil.ResolveBindAddress that also handles // the case where no default routes were found and an IP for the API server could not be obtained. func ChooseAPIServerBindAddress(bindAddress net.IP) (net.IP, error) { ip, err := netutil.ResolveBindAddress(bindAddress) if err != nil { if netutil.IsNoRoutesError(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
pkg/proxy/util/utils_test.go
limitations under the License. */ package util import ( "net" "reflect" "testing" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/sets" netutils "k8s.io/utils/net" ) func TestValidateWorks(t *testing.T) { if isValidEndpoint("", 0) { t.Errorf("Didn't fail for empty set") } if isValidEndpoint("foobar", 0) { t.Errorf("Didn't fail with invalid port")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 11:57:43 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repairip.go
"k8s.io/kubernetes/pkg/api/legacyscheme" "k8s.io/kubernetes/pkg/apis/core/v1/helper" "k8s.io/kubernetes/pkg/registry/core/service/ipallocator" "k8s.io/kubernetes/pkg/util/iptree" "k8s.io/utils/clock" netutils "k8s.io/utils/net" ) const ( // maxRetries is the number of times a service will be retried before it is dropped out of the queue.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.7K bytes - Viewed (0) -
pkg/apis/networking/validation/validation.go
"k8s.io/apimachinery/pkg/util/validation/field" api "k8s.io/kubernetes/pkg/apis/core" apivalidation "k8s.io/kubernetes/pkg/apis/core/validation" "k8s.io/kubernetes/pkg/apis/networking" netutils "k8s.io/utils/net" "k8s.io/utils/ptr" ) const ( annotationIngressClass = "kubernetes.io/ingress.class" maxLenIngressClassController = 250 ) var ( supportedPathTypes = sets.NewString(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox.go
kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" runtimeutil "k8s.io/kubernetes/pkg/kubelet/kuberuntime/util" "k8s.io/kubernetes/pkg/kubelet/util" "k8s.io/kubernetes/pkg/kubelet/util/format" netutils "k8s.io/utils/net" ) // createPodSandbox creates a pod sandbox and returns (podSandBoxID, message, error).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 13.6K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns_test.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/tools/record" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" "k8s.io/kubernetes/pkg/apis/core/validation" netutils "k8s.io/utils/net" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) var ( // testHostNameserver and testHostDomain are also being used in dns_windows_test.go.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator.go
networkingv1alpha1listers "k8s.io/client-go/listers/networking/v1alpha1" "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" api "k8s.io/kubernetes/pkg/apis/core" netutils "k8s.io/utils/net" utiltrace "k8s.io/utils/trace" ) const ControllerName = "ipallocator.k8s.io" // Allocator implements current ipallocator interface using IPAddress API object // and an informer as backend.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 17K bytes - Viewed (0)