Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for kimd (0.05 sec)

  1. src/reflect/value.go

    		// as a default value doesn't makes sense here.
    		panic(&ValueError{"reflect.Value.SetZero", v.Kind()})
    	}
    }
    
    // Kind returns v's Kind.
    // If v is the zero Value ([Value.IsValid] returns false), Kind returns Invalid.
    func (v Value) Kind() Kind {
    	return v.kind()
    }
    
    // Len returns v's length.
    // It panics if v's Kind is not [Array], [Chan], [Map], [Slice], [String], or pointer to [Array].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    					Namespace:        TestServiceNamespace,
    				},
    				Spec: destRuleWithNewSubsets,
    			}},
    			configUpdated: sets.New(
    				model.ConfigKey{Kind: kind.ServiceEntry, Name: "testnew.com", Namespace: TestServiceNamespace},
    				model.ConfigKey{Kind: kind.DestinationRule, Name: "test-desinationrule", Namespace: TestServiceNamespace}),
    			watchedResourceNames: []string{"outbound|8080||test.com"},
    			usedDelta:            true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. tests/integration/pilot/common/routing.go

    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: "{{.VirtualServiceHost|replace "*" "wild"}}"
      namespace: "{{.IngressNamespace}}"
    spec:
      host: "{{.VirtualServiceHost}}"
      trafficPolicy:
        tls:
          mode: SIMPLE
          insecureSkipVerify: true
    ---
    `
    
    const httpVirtualServiceTmpl = `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  4. pkg/config/validation/validation_test.go

    				}},
    				TargetRef: &api.PolicyTargetReference{
    					Group: "wrong-group",
    					Kind:  gvk.KubernetesGateway.Kind,
    					Name:  "foo",
    				},
    			},
    			fmt.Sprintf("targetRef must be to one of %v but was %s/%s",
    				allowedTargetRefs, "wrong-group", gvk.KubernetesGateway.Kind), "",
    		},
    		{
    			"bad targetRef - wrong kind",
    			&telemetry.Telemetry{
    				Tracing: []*telemetry.Tracing{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/garbagecollector_test.go

    						{Name: "pods", Namespaced: true, Kind: "Pod", Verbs: metav1.Verbs{"delete", "list", "watch"}},
    						{Name: "services", Namespaced: true, Kind: "Service"},
    					},
    				},
    				{
    					// Invalid GroupVersion, should be ignored
    					GroupVersion: "foo//whatever",
    					APIResources: []metav1.APIResource{
    						{Name: "bars", Namespaced: true, Kind: "Bar", Verbs: metav1.Verbs{"delete", "list", "watch"}},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    	tests := []struct {
    		kind schema.GroupKind
    		name string
    		want string
    	}{
    		{schema.GroupKind{}, "", ""},
    		{schema.GroupKind{}, "name", "name"},
    		{schema.GroupKind{Kind: "Kind"}, "", "kind/"}, // should not happen in practice
    		{schema.GroupKind{Kind: "Kind"}, "name", "kind/name"},
    		{schema.GroupKind{Group: "group", Kind: "Kind"}, "name", "kind.group/name"},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    				if got, want := controllerRef.APIVersion, "batch/v1"; got != want {
    					t.Errorf("controllerRef.APIVersion = %q, want %q", got, want)
    				}
    				if got, want := controllerRef.Kind, "Job"; got != want {
    					t.Errorf("controllerRef.Kind = %q, want %q", got, want)
    				}
    				if got, want := controllerRef.Name, job.Name; got != want {
    					t.Errorf("controllerRef.Name = %q, want %q", got, want)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			`),
    			oldObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    				list:	
    				- name: entry1
    				  apiVersion: v2
    				  kind: Baz
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    			`),
    			newObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    					otherField: newValue
    				list:	
    				- name: entry1
    				  apiVersion: v2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal_test.go

    				Name:      hpaName,
    				Namespace: namespace,
    			},
    			Spec: autoscalingv2.HorizontalPodAutoscalerSpec{
    				ScaleTargetRef: autoscalingv2.CrossVersionObjectReference{
    					Kind:       tc.resource.kind,
    					Name:       tc.resource.name,
    					APIVersion: tc.resource.apiVersion,
    				},
    				MinReplicas: &tc.minReplicas,
    				MaxReplicas: tc.maxReplicas,
    				Behavior:    behavior,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    	}
    	return rows, nil
    }
    
    // formatResourceName receives a resource kind, name, and boolean specifying
    // whether or not to update the current name to "kind/name"
    func formatResourceName(kind schema.GroupKind, name string, withKind bool) string {
    	if !withKind || kind.Empty() {
    		return name
    	}
    
    	return strings.ToLower(kind.String()) + "/" + name
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top