Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,756 for valid (0.04 sec)

  1. operator/pkg/util/common.go

    func IsHTTPURL(path string) (bool, error) {
    	u, err := url.Parse(path)
    	valid := err == nil && u.Host != "" && (u.Scheme == "http" || u.Scheme == "https")
    	if strings.HasPrefix(path, "http") && !valid {
    		return false, fmt.Errorf("%s starts with http but is not a valid URL: %s", path, err)
    	}
    	return valid, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy_test.go

    			enableRatcheting: false,
    			crd: &apiextensions.CustomResourceDefinition{
    				ObjectMeta: metav1.ObjectMeta{Name: "foos.sigs.k8s.io", Annotations: map[string]string{v1beta1.KubeAPIApprovedAnnotation: "valid"}, ResourceVersion: "1"},
    				Spec: apiextensions.CustomResourceDefinitionSpec{
    					Validation: &apiextensions.CustomResourceValidation{
    						OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    							Type: "object",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  3. pkg/config/labels/instance_test.go

    		name  string
    		tags  labels.Instance
    		valid bool
    	}{
    		{
    			name:  "empty tags",
    			valid: true,
    		},
    		{
    			name: "bad tag",
    			tags: labels.Instance{"^": "^"},
    		},
    		{
    			name:  "good tag",
    			tags:  labels.Instance{"key": "value"},
    			valid: true,
    		},
    		{
    			name:  "good tag - empty value",
    			tags:  labels.Instance{"key": ""},
    			valid: true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/NativeBinarySpec.java

        /**
         * The configuration of the linker used when linking this binary.
         *
         * Valid for {@link SharedLibraryBinarySpec} and {@link NativeExecutableBinarySpec}.
         */
        Tool getLinker();
    
        /**
         * The configuration of the static library archiver used when creating this binary.
         *
         * Valid for {@link StaticLibraryBinarySpec}.
         */
        Tool getStaticLibArchiver();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. tests/test_additional_responses_bad.py

                        # but since the key is not valid, openapi.utils.get_openapi will raise ValueError
                        "hello": {"description": "Not a valid additional response"},
                        "200": {
                            "description": "Successful Response",
                            "content": {"application/json": {"schema": {}}},
                        },
                    },
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_goroot_errors.txt

    [!short] go build ./importjson  # Prove that it works when GOROOT is valid.
    
    env GOROOT=$WORK/not-a-valid-goroot
    ! go build ./importjson
    ! stderr 'import lookup disabled'
    ! stderr 'missing dot'
    stderr 'importjson[/\\]x.go:2:8: package encoding/json is not in std \('$WORK'[/\\]not-a-valid-goroot[/\\]src[/\\]encoding[/\\]json\)$'
    
    -- go.mod --
    module example.com
    go 1.14
    -- importnonexist/x.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/index.go

    	check.nonGeneric(nil, x)
    	if x.mode == invalid {
    		return false
    	}
    
    	// ordinary index expression
    	valid := false
    	length := int64(-1) // valid if >= 0
    	switch typ := under(x.typ).(type) {
    	case *Basic:
    		if isString(typ) {
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// an indexed string always yields a byte value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 16:16:58 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. plugin/pkg/admission/eventratelimit/apis/eventratelimit/validation/validation_test.go

    		name           string
    		config         eventratelimitapi.Configuration
    		expectedResult bool
    	}{{
    		name: "valid server",
    		config: eventratelimitapi.Configuration{
    			Limits: []eventratelimitapi.Limit{{
    				Type:  "Server",
    				Burst: 5,
    				QPS:   1,
    			}},
    		},
    		expectedResult: true,
    	}, {
    		name: "valid namespace",
    		config: eventratelimitapi.Configuration{
    			Limits: []eventratelimitapi.Limit{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FormattingValidationProblemCollector.java

            if (field.getDeclaringClass().equals(source.getConcreteClass())) {
                problems.add("Field " + field.getName() + " is not valid: " + problem);
            } else {
                problems.add("Field " + ModelType.of(field.getDeclaringClass()).getDisplayName() + '.' + field.getName() + " is not valid: " + problem);
            }
        }
    
        @Override
        public void add(Method method, String role, String problem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/version_test.go

    		parsingError bool
    	}
    	cases := []T{
    		{
    			name:   "valid version with label and metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid version with label and extra metadata",
    			input:  "v1.8.0-alpha.2.1231+afabd012389d53a.extra",
    			output: "v1.8.0-alpha.2",
    		},
    		{
    			name:   "valid patch version with label and extra metadata",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 03:30:51 UTC 2024
    - 15K bytes
    - Viewed (0)
Back to top