Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for AnnotationValue (0.22 sec)

  1. pkg/kubelet/cm/util/cdi/cdi.go

    		return "", fmt.Errorf("invalid name %q, last '%c' should be alphanumeric", name, c)
    	}
    
    	return annotationPrefix + name, nil
    }
    
    // annotationValue returns an annotation value for the given devices.
    func annotationValue(devices []string) (string, error) {
    	value, sep := "", ""
    	for _, d := range devices {
    		if _, _, _, err := parseQualifiedName(d); err != nil {
    			return "", err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValueRenderer.kt

            append(value.callableId?.asSingleFqName()?.asString())
        }
    
        private fun StringBuilder.renderAnnotationConstantValue(application: KaAnnotationApplicationValue) {
            renderAnnotationApplication(application.annotationValue)
        }
    
        private fun StringBuilder.renderAnnotationApplication(value: KaAnnotation) {
            append(value.classId)
            if (value.arguments.isNotEmpty()) {
                append("(")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

        private fun renderConstantValueDebug(value: KaAnnotationValue, printer: PrettyPrinter) {
            when (value) {
                is KaAnnotationApplicationValue -> {
                    renderAnnotationDebug(value.annotationValue.classId, value.annotationValue.arguments, printer)
                }
    
                is KaArrayAnnotationValue -> {
                    printer.printCollection(value.values, separator = ", ", prefix = "[", postfix = "]") {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices.go

    			if e, ok := annotationsMap[k]; ok {
    				klog.V(4).InfoS("Skip existing annotation", "annotationKey", k, "annotationValue", v)
    				if e != v {
    					klog.ErrorS(nil, "Annotation has conflicting setting", "annotationKey", k, "expected", e, "got", v)
    				}
    				continue
    			}
    			klog.V(4).InfoS("Add annotation", "annotationKey", k, "annotationValue", v)
    			annotationsMap[k] = v
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    					Infrastructure: &k8s.GatewayInfrastructure{
    						Labels:      map[k8s.AnnotationKey]k8s.AnnotationValue{"foo": "bar", "gateway.networking.k8s.io/ignore": "true"},
    						Annotations: map[k8s.AnnotationKey]k8s.AnnotationValue{"fizz": "buzz", "gateway.networking.k8s.io/ignore": "true"},
    					},
    				},
    			},
    			objects: defaultObjects,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    			b := NewBackend(fb, defaultConfig, auditv1.SchemeGroupVersion)
    			b.ProcessEvents(tc.event)
    
    			require.Equal(t, !tc.wantDropped, event != nil, "Incorrect event presence")
    			if tc.wantTruncated {
    				require.Equal(t, annotationValue, event.Annotations[annotationKey], "Annotation should be present")
    				require.Nil(t, event.RequestObject, "After truncation request should be nil")
    				require.Nil(t, event.ResponseObject, "After truncation response should be nil")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  7. pkg/controller/deployment/util/deployment_util.go

    	annotationValue, ok := rs.Annotations[annotationKey]
    	if !ok {
    		return int32(0), false
    	}
    	intValue, err := strconv.Atoi(annotationValue)
    	if err != nil {
    		logger.V(2).Info("Could not convert the value with annotation key for the replica set", "annotationValue", annotationValue, "annotationKey", annotationKey, "replicaSet", klog.KObj(rs))
    		return int32(0), false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    			},
    			Listeners: []v1beta1.Listener{
    				{
    					Name: "detected-by-options",
    					TLS: &v1beta1.GatewayTLSConfig{
    						Mode: &passthroughMode,
    						Options: map[v1beta1.AnnotationKey]v1beta1.AnnotationValue{
    							constants.ListenerModeOption: constants.ListenerModeAutoPassthrough,
    						},
    					},
    					Port: v1beta1.PortNumber(customPort),
    				},
    				{
    					Name: "detected-by-number",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

                        append(")")
                    }
    
                    is KaConstantValueForAnnotation -> {
                        append("KtConstantValueForAnnotation(")
                        append(value.annotationValue.renderAsSourceCode())
                        append(")")
                    }
                }
            }
        }
    
        private fun KaSession.renderAnnotationsList(value: KaAnnotationList, printer: PrettyPrinter) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. pkg/registry/flowcontrol/ensurer/strategy.go

    		if err != nil {
    			// Log this because it is not an expected situation.
    			klog.V(4).InfoS("Skipping deletion of APF object with malformed "+flowcontrolv1.AutoUpdateAnnotationKey+" annotation", "name", name, "annotationValue", value, "parseError", err)
    			continue
    		}
    		if !autoUpdate {
    			klog.V(5).InfoS("Skipping deletion of APF object with "+flowcontrolv1.AutoUpdateAnnotationKey+"=false annotation", "name", name)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 14K bytes
    - Viewed (0)
Back to top