move pkg/master/server to cmd/kube-apiserver/app

This commit is contained in:
Tim Hockin 2015-02-07 14:13:22 -08:00
parent 0a7b89cc00
commit 899d30f16a
4 changed files with 6 additions and 6 deletions

View File

@ -21,9 +21,9 @@ package main
import ( import (
"os" "os"
apiserver "github.com/GoogleCloudPlatform/kubernetes/cmd/kube-apiserver/app"
"github.com/GoogleCloudPlatform/kubernetes/pkg/controllermanager" "github.com/GoogleCloudPlatform/kubernetes/pkg/controllermanager"
"github.com/GoogleCloudPlatform/kubernetes/pkg/hyperkube" "github.com/GoogleCloudPlatform/kubernetes/pkg/hyperkube"
apiserver "github.com/GoogleCloudPlatform/kubernetes/pkg/master/server"
sched "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/server" sched "github.com/GoogleCloudPlatform/kubernetes/plugin/pkg/scheduler/server"
) )

View File

@ -23,7 +23,7 @@ import (
"os" "os"
"runtime" "runtime"
"github.com/GoogleCloudPlatform/kubernetes/pkg/master/server" "github.com/GoogleCloudPlatform/kubernetes/cmd/kube-apiserver/app"
"github.com/GoogleCloudPlatform/kubernetes/pkg/util" "github.com/GoogleCloudPlatform/kubernetes/pkg/util"
"github.com/GoogleCloudPlatform/kubernetes/pkg/version/verflag" "github.com/GoogleCloudPlatform/kubernetes/pkg/version/verflag"
@ -32,7 +32,7 @@ import (
func main() { func main() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())
s := server.NewAPIServer() s := app.NewAPIServer()
s.AddFlags(pflag.CommandLine) s.AddFlags(pflag.CommandLine)
util.InitFlags() util.InitFlags()

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package server package app
// This file exists to force the desired plugin implementations to be linked. // This file exists to force the desired plugin implementations to be linked.
// This should probably be part of some configuration fed into the build for a // This should probably be part of some configuration fed into the build for a

View File

@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
// Package server does all of the work necessary to create a Kubernetes // Package app does all of the work necessary to create a Kubernetes
// APIServer by binding together the API, master and APIServer infrastructure. // APIServer by binding together the API, master and APIServer infrastructure.
// It can be configured and called directly or via the hyperkube framework. // It can be configured and called directly or via the hyperkube framework.
package server package app
import ( import (
"crypto/tls" "crypto/tls"