Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for uintValue (0.11 sec)

  1. pkg/kubelet/lifecycle/handlers.go

    // port is found, an error is returned.
    func resolvePort(portReference intstr.IntOrString, container *v1.Container) (int, error) {
    	if portReference.Type == intstr.Int {
    		return portReference.IntValue(), nil
    	}
    	portName := portReference.StrVal
    	port, err := strconv.Atoi(portName)
    	if err == nil {
    		return port, nil
    	}
    	for _, portSpec := range container.Ports {
    		if portSpec.Name == portName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 11:40:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top