Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
APIServer contains state for karmada-search.
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig embeds a private pointer that cannot be instantiated outside this package.
type Config ¶
type Config struct {
GenericConfig *genericapiserver.RecommendedConfig
ExtraConfig ExtraConfig
}
Config defines the config for the APIServer.
func (*Config) Complete ¶
func (cfg *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
type Controller ¶
type Controller struct {
InformerManager genericmanager.MultiClusterInformerManager
// contains filtered or unexported fields
}
Controller ResourceRegistry controller
func NewController ¶
func NewController(restConfig *rest.Config, factory informerfactory.SharedInformerFactory, restMapper meta.RESTMapper) (*Controller, error)
NewController returns a new ResourceRegistry controller
type ExtraConfig ¶
type ExtraConfig struct {
Controller *Controller
ProxyController *proxy.Controller
}
ExtraConfig holds custom apiserver config
Click to show internal directories.
Click to hide internal directories.