Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct { GenericConfig genericapiserver.CompletedConfig ExtraConfig *ExtraConfig }
CompletedConfig is the completed config for the Hive API server.
func (CompletedConfig) New ¶
func (c CompletedConfig) New(delegationTarget genericapiserver.DelegationTarget) (*HiveAPIServer, error)
New returns a new instance of HiveAPIServer from the given config.
func (*CompletedConfig) V1Alpha1RESTStorage ¶
func (c *CompletedConfig) V1Alpha1RESTStorage() (map[string]rest.Storage, error)
V1Alpha1RESTStorage creates the storage to use for each of the Hive v1alpha1 kinds.
type ExtraConfig ¶
type ExtraConfig struct { KubeAPIServerClientConfig *restclient.Config KubeInformers kubeinformers.SharedInformerFactory // TODO these should all become local eventually Scheme *runtime.Scheme Codecs serializer.CodecFactory // contains filtered or unexported fields }
ExtraConfig is extra config for the Hive API server.
type HiveAPIServer ¶
type HiveAPIServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
HiveAPIServer is an aggregated API server serving v1alpha1 as a proxy to v1.
type HiveAPIServerConfig ¶
type HiveAPIServerConfig struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig ExtraConfig }
HiveAPIServerConfig is the config for the Hive API server.
func (*HiveAPIServerConfig) Complete ¶
func (c *HiveAPIServerConfig) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
Click to show internal directories.
Click to hide internal directories.