Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/server/server.go

    	}
    	return parts[0]
    }
    
    var longRunningRequestPathMap = map[string]bool{
    	"exec":        true,
    	"attach":      true,
    	"portforward": true,
    	"debug":       true,
    }
    
    // isLongRunningRequest determines whether the request is long-running or not.
    func isLongRunningRequest(path string) bool {
    	_, ok := longRunningRequestPathMap[path]
    	return ok
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top