Closed willzgli closed 3 years ago
At https://github.com/kubernetes/apiserver/blob/master/pkg/endpoints/installer.go#L82 , toDiscoveryKubeVerb is initialized as bellow
var toDiscoveryKubeVerb = map[string]string{ "CONNECT": "", // do not list in discovery. "DELETE": "delete", "DELETECOLLECTION": "deletecollection", "GET": "get", "LIST": "list", "PATCH": "patch", "POST": "create", "PROXY": "proxy", "PUT": "update", "WATCH": "watch", "WATCHLIST": "watch", }
I don't understand how and when to use CONNECT and PROXY action. Is there some documents or examples .
At https://github.com/kubernetes/apiserver/blob/master/pkg/endpoints/installer.go#L82 , toDiscoveryKubeVerb is initialized as bellow
var toDiscoveryKubeVerb = map[string]string{ "CONNECT": "", // do not list in discovery. "DELETE": "delete", "DELETECOLLECTION": "deletecollection", "GET": "get", "LIST": "list", "PATCH": "patch", "POST": "create", "PROXY": "proxy", "PUT": "update", "WATCH": "watch", "WATCHLIST": "watch", }
I don't understand how and when to use CONNECT and PROXY action. Is there some documents or examples .