Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for invalid11 (0.19 sec)

  1. security/pkg/pki/util/crypto_test.go

    		errMsg  string
    	}{
    		"Invalid PEM string": {
    			pem:    "Invalid PEM string",
    			errMsg: "invalid PEM-encoded key",
    		},
    		"Invalid PEM block type": {
    			pem:    certRSA,
    			errMsg: "unsupported PEM block type for a private key: CERTIFICATE",
    		},
    		"Parse RSA key": {
    			pem:     keyRSA,
    			keyType: reflect.TypeOf(&rsa.PrivateKey{}),
    		},
    		"Parse invalid RSA key": {
    			pem:    keyInvalidRSA,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclaim_test.go

    										},
    									},
    									{
    										AllocationResultModel: resource.AllocationResultModel{}, // invalid
    									},
    								},
    							},
    						},
    					},
    				}
    				return claim
    			},
    		},
    		"invalid-duplicated-data": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("status", "allocation", "resourceHandles").Index(0), nil, "data and structuredData are mutually exclusive")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		"valid-no-op-update": {
    			oldClaimTemplate: validClaimTemplate,
    			update:           func(claim *resource.ResourceClaimTemplate) *resource.ResourceClaimTemplate { return claim },
    		},
    		"invalid-update-class": {
    			wantFailures: field.ErrorList{field.Invalid(field.NewPath("spec"), func() resource.ResourceClaimTemplateSpec {
    				spec := validClaimTemplate.Spec.DeepCopy()
    				spec.Spec.ResourceClassName += "2"
    				return *spec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. pkg/apis/resource/validation/validation_resourceclass_test.go

    			class:        testClass(goodName, badName),
    		},
    		"invalid-qualified-driver-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    		Code:           "NoSuchUpload",
    		Description:    "The specified multipart upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrInvalidVersionID: {
    		Code:           "InvalidArgument",
    		Description:    "Invalid version id specified",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchVersion: {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  6. pkg/apis/resource/validation/validation.go

    			allErrs = append(allErrs, field.Invalid(fldPath.Child("apiGroup"), ref.APIGroup, msg))
    		}
    	}
    
    	if ref.Kind == "" {
    		allErrs = append(allErrs, field.Required(fldPath.Child("kind"), ""))
    	} else {
    		for _, msg := range pathvalidation.IsValidPathSegmentName(ref.Kind) {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("kind"), ref.Kind, msg))
    		}
    	}
    
    	if ref.Name == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/configstore/download.go

    		return nil, "", fmt.Errorf("failed to download config module (invalid JSON): %w", err)
    	}
    	data, err := os.ReadFile(filepath.Join(info.Dir, configFileName))
    	if err != nil {
    		return nil, "", fmt.Errorf("invalid config module: %w", err)
    	}
    	cfg := new(telemetry.UploadConfig)
    	if err := json.Unmarshal(data, cfg); err != nil {
    		return nil, "", fmt.Errorf("invalid config: %w", err)
    	}
    	return cfg, info.Version, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"has(self.intorstring)":   "invalid data, expected XIntOrString value to be either a string or integer",
    				"self.nullable[0] == 'x'": "invalid data, got null for schema with nullable=false",
    				// TODO: also find a way to test the errors returned for: array with no items, object with no properties or additionalProperties, invalid listType and invalid type.
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s (%v)", arg, err), "unable to start SFTP server")
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(@Nonnull Session session, @Nonnull DependencyCoordinate root) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top