genericapiserver: move packages

Towards a sane k8s.io/apiserver package structure.
This commit is contained in:
Dr. Stefan Schimanski 2017-01-18 11:13:07 +01:00 committed by deads2k
parent 0243c13f2a
commit dc90e9a003
21 changed files with 21 additions and 3 deletions

View File

@ -15,4 +15,4 @@ limitations under the License.
*/
// Package negotation contains media type negotiation logic.
package negotiation // import "k8s.io/apiserver/pkg/handlers/negotiation"
package negotiation // import "k8s.io/apiserver/pkg/api/handlers/negotiation"

View File

@ -21,7 +21,7 @@ import (
"k8s.io/apimachinery/pkg/types"
"k8s.io/apiserver/pkg/authentication/user"
genericapirequest "k8s.io/apiserver/pkg/request"
genericapirequest "k8s.io/apiserver/pkg/api/request"
"k8s.io/kubernetes/pkg/api"
)

View File

@ -17,4 +17,4 @@ limitations under the License.
// Package request contains everything around extracting info from
// a http request object.
// TODO: this package is temporary. Handlers must move into pkg/apiserver/handlers to avoid dependency cycle
package request // import "k8s.io/apiserver/pkg/request"
package request // import "k8s.io/apiserver/pkg/api/request"

18
pkg/server/doc.go Normal file
View File

@ -0,0 +1,18 @@
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package server contains the plumbing to create kubernetes-like API server command.
package server // import "k8s.io/kubernetes/pkg/genericapiserver/server"