mirror of https://github.com/portainer/portainer
14 lines
321 B
Go
14 lines
321 B
Go
package kubernetes
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func (transport *baseTransport) proxyPodsRequest(request *http.Request, namespace, requestPath string) (*http.Response, error) {
|
|
if request.Method == http.MethodDelete {
|
|
transport.refreshRegistry(request, namespace)
|
|
}
|
|
|
|
return transport.executeKubernetesRequest(request)
|
|
}
|