Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 277 for STRICT (0.12 sec)

  1. pilot/pkg/networking/core/peer_authentication_simulation_test.go

       matchLabels:
         app: foo
     mtls:
       mode: STRICT
     portLevelMtls:
       9000:
         mode: DISABLE
    ---`
    	paDisableWithStrictOnPort9000 := `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
     name: default
    spec:
     selector:
       matchLabels:
         app: foo
     mtls:
       mode: DISABLE
     portLevelMtls:
       9000:
         mode: STRICT
    ---`
    	paDisableWithPermissiveOnPort9000 := `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go

    	}
    
    	nonStrictCodec := newCodecFactory(s, newSerializersForScheme(s, testMetaFactory{}, CodecFactoryOptions{Pretty: true, Strict: false})).LegacyCodec()
    	_, _, err = nonStrictCodec.Decode([]byte(duplicateKeys), nil, nil)
    	if runtime.IsStrictDecodingError(err) {
    		t.Fatalf("Non-Strict decoder returned a StrictDecodingError: %v", err)
    	}
    }
    
    func TestConvertTypesWhenDefaultNamesMatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy

        }
    
        def 'fails with missing lockfile in strict mode (Unique: #unique)'() {
            given:
            provider.getLockMode().set(LockMode.STRICT)
    
            when:
            provider.loadLockState('conf', owner)
    
            then:
            def ex = thrown(MissingLockStateException)
            1 * owner.getCapitalizedDisplayName() >> "Owner"
            ex.message == 'Locking strict mode: Owner is locked but does not have lock state.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

            Class<?> fromRawClazz = getRawType(from);
            if (strict && !toRawClazz.equals(fromRawClazz)) {
                return false;
            }
            if (!strict && !toRawClazz.isAssignableFrom(fromRawClazz)) {
                return false;
            }
            if (toRawClazz.isArray()) {
                return true;
            }
            Type[] fromTypeArguments = getActualTypeArguments(from);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/scheme/scheme_test.go

        args:
          scoringStrategy:
            resources:
            - Name: cpu
              Weight: 1
    `),
    			wantErr: `strict decoding error: decoding .profiles[0].pluginConfig[0]: strict decoding error: decoding args for plugin NodeResourcesFit: strict decoding error: unknown field "scoringStrategy.resources[0].Name", unknown field "scoringStrategy.resources[0].Weight"`,
    		},
    		{
    			name: "out-of-tree plugin args",
    			data: []byte(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy

                    }
                    edge("org:foo:[1.0,2.0)", "org:foo:1.1")
                }
            }
        }
    
        def "direct strict dependency should win over published transitive strict dependency"() {
            given:
            repository {
                'org:foo:15'()
                'org:foo:17'()
                'org:bar:1.0' {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go

    			assertOnError: func(t *testing.T, err error) {
    				if err != nil {
    					t.Errorf("expected nil error, got: %v", err)
    				}
    			},
    		},
    		{
    			name:        "strict mode strict error",
    			options:     []Option{Strict(true)},
    			data:        []byte{0xa1, 0x61, 'z', 0x01}, // {'z': 1}
    			gvk:         &schema.GroupVersionKind{},
    			metaFactory: stubMetaFactory{gvk: &schema.GroupVersionKind{}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    // - Ignore
    // - Warn (default)
    // - Strict
    func fieldValidation(directive string) string {
    	if directive == "" {
    		return metav1.FieldValidationWarn
    	}
    	return directive
    }
    
    // parseYAMLWarnings takes the strict decoding errors from the yaml decoder's output
    // and parses each individual warnings, or leaves the warning as is if
    // it does not look like a yaml strict decoding error.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginAccessorsTest.kt

                    "The org.gradle.kotlin.dsl.precompiled.accessors.strict system property has been deprecated. " +
                        "This is scheduled to be removed in Gradle 9.0. " +
                        "Consult the upgrading guide for further information: https://docs.gradle.org/${GradleVersion.current().version}/userguide/upgrading_version_7.html#strict-kotlin-dsl-precompiled-scripts-accessors-by-default"
                )
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		expectedErr           error
    	}{
    		{
    			name:           "strict-decoding",
    			body:           multiVersionJSON,
    			strictDecoding: true,
    			expectedObj:    expectedObjUnknownNotPreserved,
    			expectedErr:    errors.New(`strict decoding error: duplicate field "num", unknown field "unknown"`),
    		},
    		{
    			name:           "non-strict-decoding",
    			body:           multiVersionJSON,
    			strictDecoding: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
Back to top