Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateProcMountType (0.21 sec)

  1. pkg/apis/core/validation/validation.go

    	if update == nil && old != nil {
    		return true
    	}
    	if update == nil || old == nil {
    		return false
    	}
    	return *update < *old
    }
    
    // ValidateProcMountType tests that the argument is a valid ProcMountType.
    func ValidateProcMountType(fldPath *field.Path, procMountType core.ProcMountType) *field.Error {
    	switch procMountType {
    	case core.DefaultProcMount, core.UnmaskedProcMount:
    		return nil
    	default:
    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