Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for AnnotationValue (0.15 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go

    	PluginName = "truncate"
    
    	// annotationKey defines the name of the annotation used to indicate truncation.
    	annotationKey = "audit.k8s.io/truncated"
    	// annotationValue defines the value of the annotation used to indicate truncation.
    	annotationValue = "true"
    )
    
    // Config represents truncating backend configuration.
    type Config struct {
    	// MaxEventSize defines max allowed size of the event. If the event is larger,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 29 00:03:53 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

    public class KaAnnotationApplicationValue @KaAnalysisApiInternals constructor(
        annotationValue: KaAnnotation,
        token: KaLifetimeToken
    ) : KaAnnotationValue(token) {
        public val annotationValue: KaAnnotation = annotationValue
            get() = withValidityAssertion { field }
    
        override val sourcePsi: KtElement?
            get() = withValidityAssertion { annotationValue.psi }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/validation/ValidationProblemPropertyAnnotationHandler.java

                    .documentedAt(Documentation.userManual("id", "section"))
                    .severity(annotationValue(propertyMetadata))
                    .details("this is a test")
            );
        }
    
        private Severity annotationValue(PropertyMetadata propertyMetadata) {
            return propertyMetadata.getAnnotationForCategory(AnnotationCategory.TYPE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/SimpleAnnotationValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.normalization.java.impl;
    
    public class SimpleAnnotationValue extends AnnotationValue<Object> {
    
        public SimpleAnnotationValue(String name, Object value) {
            super(name, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 839 bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/AnnotationAnnotationValue.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.normalization.java.impl;
    
    public class AnnotationAnnotationValue extends AnnotationValue<AnnotationMember> {
    
        public AnnotationAnnotationValue(String name, AnnotationMember value) {
            super(name, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 867 bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java

            if (!annotationMirror.isPresent()) {
                return Collections.singleton(typeElement);
            }
    
            @SuppressWarnings("unchecked")
            List<AnnotationValue> values = (List<AnnotationValue>) AnnotationUtils.findAnnotationValue(annotationMirror.get(), "value")
                .orElseThrow(() -> new IllegalStateException("missing annotation value"))
                .getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. pkg/controller/ttl/ttl_controller.go

    	if node.Annotations == nil {
    		return 0, false
    	}
    	annotationValue, ok := node.Annotations[annotationKey]
    	if !ok {
    		return 0, false
    	}
    	intValue, err := strconv.Atoi(annotationValue)
    	if err != nil {
    		logger := klog.FromContext(ctx)
    		logger.Info("Could not convert the value with annotation key for the node", "annotationValue",
    			annotationValue, "annotationKey", annotationKey, "node", klog.KObj(node))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    			t.Fatal(errors)
    		}
    	}
    
    	tests := []struct {
    		name string
    
    		group              string
    		annotationValue    string
    		oldAnnotationValue *string
    		validateError      func(t *testing.T, errors field.ErrorList)
    	}{
    		{
    			name:            "ignore non-k8s group",
    			group:           "other.io",
    			annotationValue: "invalid",
    			validateError:   okFn,
    		},
    		{
    			name:            "invalid annotation create",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/KtInitializerValue.kt

     * Initializer of property of annotation, which can not be which cannot be represented as Kotlin const value,
     *   but can be represented as [KaAnnotationValue]
     */
    public class KaConstantValueForAnnotation(
        public val annotationValue: KaAnnotationValue,
        override val initializerPsi: KtExpression?
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/audit/context_test.go

    			assert.Equal(t, test.expectEnabled, test.ctx.Enabled())
    		})
    	}
    }
    
    func TestAddAuditAnnotation(t *testing.T) {
    	const (
    		annotationKeyTemplate = "test-annotation-%d"
    		annotationValue       = "test-annotation-value"
    		annotationExtraValue  = "test-existing-annotation"
    		numAnnotations        = 10
    	)
    
    	expectAnnotations := func(t *testing.T, annotations map[string]string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top