Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for portsMatch (0.12 sec)

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

    	allErrs := field.ErrorList{}
    
    	for ci, ctr := range containers {
    		idxPath := fldPath.Index(ci)
    		portsPath := idxPath.Child("ports")
    		for pi := range ctr.Ports {
    			idxPath := portsPath.Index(pi)
    			port := ctr.Ports[pi].HostPort
    			if port == 0 {
    				continue
    			}
    			str := fmt.Sprintf("%d/%s", port, ctr.Ports[pi].Protocol)
    			if accumulator.Has(str) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top