mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #78233 from SataQiu/clean-up-20190523
cleanup: move the comment to its place
This commit is contained in:
commit
9ddc9ccc57
@ -24,10 +24,6 @@ import (
|
|||||||
genericfilters "k8s.io/apiserver/pkg/server/filters"
|
genericfilters "k8s.io/apiserver/pkg/server/filters"
|
||||||
)
|
)
|
||||||
|
|
||||||
// DeprecatedInsecureServingInfo is required to serve http. HTTP does NOT include authentication or authorization.
|
|
||||||
// You shouldn't be using this. It makes sig-auth sad.
|
|
||||||
// DeprecatedInsecureServingInfo *ServingInfo
|
|
||||||
|
|
||||||
// BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
|
// BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
|
||||||
func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler {
|
func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler {
|
||||||
handler := apiHandler
|
handler := apiHandler
|
||||||
|
@ -29,6 +29,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// DeprecatedInsecureServingInfo is the main context object for the insecure http server.
|
// DeprecatedInsecureServingInfo is the main context object for the insecure http server.
|
||||||
|
// HTTP does NOT include authentication or authorization.
|
||||||
|
// You shouldn't be using this. It makes sig-auth sad.
|
||||||
type DeprecatedInsecureServingInfo struct {
|
type DeprecatedInsecureServingInfo struct {
|
||||||
// Listener is the secure server network listener.
|
// Listener is the secure server network listener.
|
||||||
Listener net.Listener
|
Listener net.Listener
|
||||||
|
Loading…
Reference in New Issue
Block a user