Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
64193630
Commit
64193630
authored
May 23, 2019
by
SataQiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: move the comment to its place
parent
585fa3ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
insecure_handler.go
pkg/kubeapiserver/server/insecure_handler.go
+0
-4
deprecated_insecure_serving.go
...8s.io/apiserver/pkg/server/deprecated_insecure_serving.go
+2
-0
No files found.
pkg/kubeapiserver/server/insecure_handler.go
View file @
64193630
...
@@ -24,10 +24,6 @@ import (
...
@@ -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
...
...
staging/src/k8s.io/apiserver/pkg/server/deprecated_insecure_serving.go
View file @
64193630
...
@@ -29,6 +29,8 @@ import (
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment