mirror of https://github.com/k3s-io/k3s
cleanup: move the comment to its place
parent
585fa3acc8
commit
64193630a7
|
@ -24,10 +24,6 @@ import (
|
|||
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.
|
||||
func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler {
|
||||
handler := apiHandler
|
||||
|
|
|
@ -29,6 +29,8 @@ import (
|
|||
)
|
||||
|
||||
// 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 {
|
||||
// Listener is the secure server network listener.
|
||||
Listener net.Listener
|
||||
|
|
Loading…
Reference in New Issue