Documentation ¶
Index ¶
- func BuildInsecureHandlerChain(apiHandler http.Handler, c *server.Config) http.Handler
- func NewCommandStartResourceMetadataServer(defaults *ResourceMetadataServerOptions, stopCh <-chan struct{}) *cobra.Command
- func NewInsecureServingOptions() *genericoptions.DeprecatedInsecureServingOptionsWithLoopback
- type ResourceMetadataServerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInsecureHandlerChain ¶
BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
func NewCommandStartResourceMetadataServer ¶
func NewCommandStartResourceMetadataServer(defaults *ResourceMetadataServerOptions, stopCh <-chan struct{}) *cobra.Command
NewCommandStartResourceMetadataServer provides a CLI handler for 'start master' command with a default ResourceMetadataServerOptions.
func NewInsecureServingOptions ¶
func NewInsecureServingOptions() *genericoptions.DeprecatedInsecureServingOptionsWithLoopback
NewInsecureServingOptions gives default values for the kube-apiserver. TODO: switch insecure serving off by default
Types ¶
type ResourceMetadataServerOptions ¶
type ResourceMetadataServerOptions struct { GenericServerRunOptions *genericoptions.ServerRunOptions InsecureServing *genericoptions.DeprecatedInsecureServingOptionsWithLoopback Audit *genericoptions.AuditOptions Features *genericoptions.FeatureOptions ProcessInfo *genericoptions.ProcessInfo Webhook *genericoptions.WebhookOptions StdOut io.Writer StdErr io.Writer }
ResourceMetadataServerOptions contains state for master/api server
func NewResourceMetadataServerOptions ¶
func NewResourceMetadataServerOptions(out, errOut io.Writer) *ResourceMetadataServerOptions
NewResourceMetadataServerOptions returns a new ResourceMetadataServerOptions
func (*ResourceMetadataServerOptions) Complete ¶
func (o *ResourceMetadataServerOptions) Complete() error
Complete fills in fields required to have valid data
func (*ResourceMetadataServerOptions) Config ¶
func (o *ResourceMetadataServerOptions) Config() (*apiserver.Config, error)
Config returns config for the api server given ResourceMetadataServerOptions
func (ResourceMetadataServerOptions) RunResourceMetadataServer ¶
func (o ResourceMetadataServerOptions) RunResourceMetadataServer(stopCh <-chan struct{}) error
RunResourceMetadataServer starts a new ResourceMetadataServer given ResourceMetadataServerOptions
func (ResourceMetadataServerOptions) Validate ¶
func (o ResourceMetadataServerOptions) Validate(args []string) error
Validate validates ResourceMetadataServerOptions