Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme is a new scheme Scheme = runtime.NewScheme() // Codecs is a new CodecFactory Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
GenericConfig *genericapiserver.Config
}
Config contains a configuration for the api server
func (*Config) Complete ¶
func (c *Config) Complete() completedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
func (*Config) SkipComplete ¶
func (c *Config) SkipComplete() completedConfig
SkipComplete provides a way to construct a server instance without config completion.
type EventsAdapterServer ¶
type EventsAdapterServer struct { GenericAPIServer *genericapiserver.GenericAPIServer Provider provider.EventsProvider }
EventsAdapterServer contains state for a Kubernetes cluster master/api server.
func (*EventsAdapterServer) InstallEventsAPI ¶
func (s *EventsAdapterServer) InstallEventsAPI() error
InstallEventsAPI registers the api server in Kube Aggregator
Click to show internal directories.
Click to hide internal directories.