Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,312 for valid (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/validation_test.go

    			name: "empty string",
    			in:   "",
    			err:  "must be a valid IP address",
    		},
    		{
    			name: "junk",
    			in:   "aaaaaaa",
    			err:  "must be a valid IP address",
    		},
    		{
    			name: "domain name",
    			in:   "myhost.mydomain",
    			err:  "must be a valid IP address",
    		},
    		{
    			name: "cidr",
    			in:   "1.2.3.0/24",
    			err:  "must be a valid IP address",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 04:51:54 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    		},
    	}, {
    		name: "reason-does-not-end-in-delimiter",
    		conditions: []metav1.Condition{{
    			Type:   "First",
    			Reason: "valid,val:",
    		}},
    		validateErrs: func(t *testing.T, errs field.ErrorList) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. internal/bucket/object/lock/lock.go

    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    Its property 'org.gradle.model.ModelMap<java.io.FileInputStream> map' is not a valid managed collection
    A managed collection can not contain 'java.io.FileInputStream's
    A valid managed collection takes the form of ModelSet<T> or ModelMap<T> where 'T' is:
            - A managed type (annotated with @Managed)""")
        }
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  5. pkg/volume/util/atomic_writer_test.go

    	cases := []struct {
    		name  string
    		path  string
    		valid bool
    	}{
    		{
    			name:  "valid 1",
    			path:  "i/am/well/behaved.txt",
    			valid: true,
    		},
    		{
    			name:  "valid 2",
    			path:  "keepyourheaddownandfollowtherules.txt",
    			valid: true,
    		},
    		{
    			name:  "max path length",
    			path:  maxPath,
    			valid: false,
    		},
    		{
    			name:  "max file length",
    			path:  maxFile,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. pkg/apis/storage/validation/validation.go

    	return allErrs
    }
    
    // validateAttacher tests if attacher is a valid qualified name.
    func validateAttacher(attacher string, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if len(attacher) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath, attacher))
    	}
    	return allErrs
    }
    
    // validateSource tests if the source is valid for VolumeAttachment.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. tests/integration/security/egress_sidecar_tls_origination_test.go

    			var (
    				credNameGeneric  = "mtls-credential-generic"
    				fakeCredName     = "fake-mtls-credential"
    				credWithCRL      = "mtls-credential-generic-valid-crl"
    				credWithDummyCRL = "mtls-credential-generic-dummy-crl"
    			)
    
    			// Create a valid kubernetes secret to provision key/cert for sidecar.
    			ingressutil.CreateIngressKubeSecretInNamespace(t, credNameGeneric, ingressutil.Mtls, ingressutil.IngressCredential{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/internal/publisher/ValidatingMavenPublisherTest.groovy

            "group-₦ガき∆"        | "artifact"            | "version"   | "groupId (group-₦ガき∆) is not a valid Maven identifier ([A-Za-z0-9_\\-.]+)"
            "group"             | "artifact with spaces" | "version"   | "artifactId (artifact with spaces) is not a valid Maven identifier ([A-Za-z0-9_\\-.]+)"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 12K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/module/module.go

    		return fmt.Errorf("invalid version")
    	}
    	return nil
    }
    
    // CheckImportPath checks that an import path is valid.
    //
    // A valid import path consists of one or more valid path elements
    // separated by slashes (U+002F). (It must not begin with nor end in a slash.)
    //
    // A valid path element is a non-empty string made up of
    // ASCII letters, ASCII digits, and limited ASCII punctuation: - . _ and ~.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. pkg/proxy/apis/config/validation/validation.go

    		allErrs = append(allErrs, field.Invalid(fldPath, hostIP, "must be a valid IP"))
    	}
    
    	if p, err := strconv.Atoi(port); err != nil {
    		allErrs = append(allErrs, field.Invalid(fldPath, port, "must be a valid port"))
    	} else if p < 1 || p > 65535 {
    		allErrs = append(allErrs, field.Invalid(fldPath, port, "must be a valid port"))
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top