Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidateDNS1123Label (0.22 sec)

  1. pkg/apis/autoscaling/validation/validation.go

    	}
    
    	if len(src.Container) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath.Child("container"), "must specify a container"))
    	} else {
    		allErrs = append(allErrs, apivalidation.ValidateDNS1123Label(src.Container, fldPath.Child("container"))...)
    	}
    
    	allErrs = append(allErrs, validateMetricTarget(src.Target, fldPath.Child("target"))...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation.go

    		allErrs = append(allErrs, field.Required(fldPath.Child("volumeName"), ""))
    	} else {
    		allErrs = append(allErrs, ValidateDNS1123Label(storageos.VolumeName, fldPath.Child("volumeName"))...)
    	}
    	if len(storageos.VolumeNamespace) > 0 {
    		allErrs = append(allErrs, ValidateDNS1123Label(storageos.VolumeNamespace, fldPath.Child("volumeNamespace"))...)
    	}
    	if storageos.SecretRef != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top