server

package
v0.0.0-...-23f0366 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandServer

func NewCommandServer(out io.Writer) *cobra.Command

NewCommandServer creates a new cobra command to run our server.

Types

type BrokerServerOptions

type BrokerServerOptions struct {
	// the runtime configuration of our server
	GenericServerRunOptions *genericserveroptions.ServerRunOptions
	// the https configuration. certs, etc
	//ServingOptions *genericserveroptions.ServingOptions
	ServingOptions *genericserveroptions.SecureServingOptions
	// storage with etcd
	EtcdOptions *genericserveroptions.EtcdOptions
	// authn
	AuthenticationOptions *genericserveroptions.DelegatingAuthenticationOptions
	// authz
	AuthorizationOptions *genericserveroptions.DelegatingAuthorizationOptions

	RecommendedOptions *genericserveroptions.RecommendedOptions
}

BrokerServerOptions contains the aggregation of configuration structs for the service-catalog server. The theory here is that any future user of this server will be able to use this options object as a sub options of its own.

func NewBrokerServerOptions

func NewBrokerServerOptions() *BrokerServerOptions

NewBrokerServerOptions returns the default BrokerServerOptions

func (BrokerServerOptions) RunServer

func (serverOptions BrokerServerOptions) RunServer(stopCh <-chan struct{}) error

RunServer starts up the generic api server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL