Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for nameslice (0.18 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    func (e envs) Swap(i, j int) { e[i], e[j] = e[j], e[i] }
    
    func (e envs) Less(i, j int) bool { return e[i].Name < e[j].Name }
    
    func buildService(name, namespace, clusterIP, protocol string, port int) *v1.Service {
    	return &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace},
    		Spec: v1.ServiceSpec{
    			Ports: []v1.ServicePort{{
    				Protocol: v1.Protocol(protocol),
    				Port:     int32(port),
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    	podB := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine2"},
    	}
    	podAWithResourceVersion := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test", ResourceVersion: "7"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/proxier_test.go

    	}
    	p.setInitialized(true)
    	p.syncRunner = async.NewBoundedFrequencyRunner("test-sync-runner", p.syncProxyRules, 0, time.Minute, 1)
    	return p
    }
    
    func makeNSN(namespace, name string) types.NamespacedName {
    	return types.NamespacedName{Namespace: namespace, Name: name}
    }
    
    func makeServiceMap(proxier *Proxier, allServices ...*v1.Service) {
    	for i := range allServices {
    		proxier.OnServiceAdd(allServices[i])
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  4. pkg/config/validation/validation.go

    			if visibility.Instance(e) == visibility.Private {
    				// substitute this with the current namespace so that we
    				// can check for duplicates like ., namespace
    				key = namespace
    			}
    			if exportToSet.Contains(key) {
    				if key != e {
    					errs = appendErrors(errs, fmt.Errorf("duplicate entries in exportTo: . and current namespace %s", namespace))
    				} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  5. tests/integration/pilot/common/routing.go

    			fmt.Sprintf("%s:%d", cfg.ClusterLocalFQDN(), port),
    			fmt.Sprintf("%s:12345", cfg.ClusterLocalFQDN()),
    			fmt.Sprintf("%s.%s.svc", cfg.Service, cfg.Namespace.Name()),
    			fmt.Sprintf("%s.%s.svc:%d", cfg.Service, cfg.Namespace.Name(), port),
    			fmt.Sprintf("%s.%s.svc:12345", cfg.Service, cfg.Namespace.Name()),
    			cfg.Service,
    			fmt.Sprintf("%s:%d", cfg.Service, port),
    			fmt.Sprintf("%s:12345", cfg.Service),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/side_effect_analysis_util.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    // Returns the equivalent Value skipping through identity nodes.
    Value LookThroughIdentity(Value result) {
      while (isa_and_nonnull<IdentityOp, IdentityNOp>(result.getDefiningOp())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal_test.go

    			tc.Lock()
    			defer tc.Unlock()
    
    			obj := action.(core.UpdateAction).GetObject().(*autoscalingv2.HorizontalPodAutoscaler)
    			assert.Equal(t, namespace, obj.Namespace, "the HPA namespace should be as expected")
    			assert.Equal(t, hpaName, obj.Name, "the HPA name should be as expected")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_pods.go

    		// namespace, if enableServiceLinks is true.
    		if service.Namespace == metav1.NamespaceDefault && masterServices.Has(serviceName) {
    			if _, exists := serviceMap[serviceName]; !exists {
    				serviceMap[serviceName] = service
    			}
    		} else if service.Namespace == ns && enableServiceLinks {
    			serviceMap[serviceName] = service
    		}
    	}
    
    	mappedServices := []*v1.Service{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h"
    #include "tensorflow/core/framework/kernel_shape_util.h"
    
    namespace mlir {
    namespace TFL {
    
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(CeilOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(CosOp);
    INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(LocalResponseNormalizationOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. pkg/apis/admissionregistration/validation/validation_test.go

    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				Service: &admissionregistration.ServiceReference{
    					Namespace: "ns",
    					Name:      "n",
    					Port:      443,
    				},
    				URL: strPtr("example.com/k8s/webhook"),
    			},
    		},
    		}, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
Back to top