Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HiveHandlerChain ¶
HiveHandlerChain is the chain of http handlers for the Hive aggregated API server.
func NewRESTOptionsGetter ¶
func NewRESTOptionsGetter(etcdOptions *options.EtcdOptions) (genericregistry.RESTOptionsGetter, error)
NewRESTOptionsGetter returns a restoptions.Getter implemented using information from the provided master config.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct { GenericConfig genericapiserver.CompletedConfig ExtraConfig *HiveAPIExtraConfig }
CompletedConfig if the result of completing the HiveAPIConfig
func (CompletedConfig) New ¶
func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*HiveAPIServer, error)
New creates a new Hive aggregated API server.
type HiveAPIConfig ¶
type HiveAPIConfig struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig HiveAPIExtraConfig }
HiveAPIConfig is the config for the Hive aggregated API server
func NewHiveAPIConfig ¶
func NewHiveAPIConfig(options *genericapiserveroptions.RecommendedOptions) (*HiveAPIConfig, error)
NewHiveAPIConfig creates new config for the Hive aggregated API server.
func (*HiveAPIConfig) Complete ¶
func (c *HiveAPIConfig) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
type HiveAPIExtraConfig ¶
type HiveAPIExtraConfig struct { // we phrase it like this so we can build the post-start-hook, but no one can take more indirect dependencies on informers InformerStart func(stopCh <-chan struct{}) KubeAPIServerClientConfig *rest.Config KubeInformers kubeinformers.SharedInformerFactory }
HiveAPIExtraConfig is extra config for the Hive aggregated API server
func (*HiveAPIExtraConfig) Validate ¶
func (c *HiveAPIExtraConfig) Validate() error
Validate helps ensure that we build this config correctly, because there are lots of bits to remember for now
type HiveAPIServer ¶
type HiveAPIServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
HiveAPIServer is only responsible for serving the Hive v1alpha1 API