Adding a discovery summarizer server

This commit is contained in:
nikhiljindal
2016-01-29 16:20:44 -08:00
parent 1616239b4a
commit 65c1dc8b84
7 changed files with 420 additions and 2 deletions

View File

@@ -37,7 +37,6 @@ const (
// Ports on which to run the server.
// Explicitly setting these to a different value than the default values, to prevent this from clashing with a local cluster.
InsecurePort = 8081
SecurePort = 6444
)
func newStorageFactory() genericapiserver.StorageFactory {
@@ -53,7 +52,6 @@ func newStorageFactory() genericapiserver.StorageFactory {
func NewServerRunOptions() *genericapiserver.ServerRunOptions {
serverOptions := genericapiserver.NewServerRunOptions()
serverOptions.InsecurePort = InsecurePort
serverOptions.SecurePort = SecurePort
return serverOptions
}