Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for spec (0.13 sec)

  1. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    
    	pod.Spec.Containers[0].Name = "mockContainer"
    	pod.Spec.Containers[1].Name = "istio-proxy"
    	pod.ObjectMeta.Annotations[injectAnnotationKey] = "false"
    
    	testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns)
    }
    
    func TestCmdAddTwoContainersWithLabel(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    	pod.Spec.Containers[0].Name = "mockContainer"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload.go

    		return err
    	}
    	// fill empty structs
    	if wg.Spec.Metadata == nil {
    		wg.Spec.Metadata = &networkingv1alpha3.WorkloadGroup_ObjectMeta{}
    	}
    	if wg.Spec.Template == nil {
    		wg.Spec.Template = &networkingv1alpha3.WorkloadEntry{}
    	}
    	// default service account for an empty field is "default"
    	if wg.Spec.Template.ServiceAccount == "" {
    		wg.Spec.Template.ServiceAccount = "default"
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            boolean lowerBoundInclusive = spec.startsWith("[");
            boolean upperBoundInclusive = spec.endsWith("]");
    
            String process = spec.substring(1, spec.length() - 1).trim();
    
            Restriction restriction;
    
            int index = process.indexOf(',');
    
            if (index < 0) {
                if (!lowerBoundInclusive || !upperBoundInclusive) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    		},
    		{
    			k8sConfigs: []runtime.Object{
    				&corev1.Service{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "productpage",
    						Namespace: "default",
    					},
    					Spec: corev1.ServiceSpec{
    						Selector: map[string]string{
    							"app": "productpage",
    						},
    						Ports: []corev1.ServicePort{
    							{
    								Name:       "http",
    								Port:       9080,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authorization/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Spec holds information about the request being evaluated.  spec.namespace must be equal to the namespace
      // you made the request against.  If empty, it is defaulted.
      optional SubjectAccessReviewSpec spec = 2;
    
      // Status is filled in by the server and indicates whether the request is allowed or not
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/waypoint.yaml

        name: "{{.Name}}"
        uid: "{{.UID}}"
    spec:
      ports:
      {{- range $key, $val := .Ports }}
      - name: {{ $val.Name | quote }}
        port: {{ $val.Port }}
        protocol: TCP
        appProtocol: {{ $val.AppProtocol }}
      {{- end }}
      selector:
        "{{.GatewayNameLabel}}": "{{.Name}}"
      {{- if and (.Spec.Addresses) (eq .ServiceType "LoadBalancer") }}
      loadBalancerIP: {{ (index .Spec.Addresses 0).Value | quote}}
      {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers_test.go

    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest-generate_test.go

    		podLabels := mustGetLabels(t, deployment, "spec.template.metadata.labels")
    		// Check all selectors align
    		mustSelect(t, mustGetLabels(t, pdb, "spec.selector.matchLabels"), podLabels)
    		mustSelect(t, mustGetLabels(t, service, "spec.selector"), podLabels)
    		mustSelect(t, mustGetLabels(t, deployment, "spec.selector.matchLabels"), podLabels)
    		if hpaName := mustGetPath(t, hpa, "spec.scaleTargetRef.name"); cname != hpaName {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/files/kube-gateway.yaml

        name: {{.Name}}
        uid: {{.UID}}
    spec:
      ports:
      {{- range $key, $val := .Ports }}
      - name: {{ $val.Name | quote }}
        port: {{ $val.Port }}
        protocol: TCP
        appProtocol: {{ $val.AppProtocol }}
      {{- end }}
      selector:
        "{{.GatewayNameLabel}}": {{.Name}}
      {{- if and (.Spec.Addresses) (eq .ServiceType "LoadBalancer") }}
      loadBalancerIP: {{ (index .Spec.Addresses 0).Value | quote}}
      {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 15:10:43 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    				break
    			}
    		}
    	}
    
    	if configuredNamespace := v1alpha12.Namespace(iop.Spec); configuredNamespace != "" {
    		return iop.Spec.Profile, configuredNamespace, enabledComponents, nil
    	}
    	return iop.Spec.Profile, constants.IstioSystemNamespace, enabledComponents, nil
    }
    
    func humanReadableJoin(ss []string) string {
    	switch len(ss) {
    	case 0:
    		return ""
    	case 1:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
Back to top