Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
func (CompletedConfig) WithOpenAPIAggregationController ¶
func (c CompletedConfig) WithOpenAPIAggregationController(delegatedAPIServer *genericapiserver.GenericAPIServer) error
type Config ¶
type Config struct {
Generic *genericapiserver.Config
Extra ExtraConfig
}
func NewConfig ¶
func NewConfig( cfg *genericapiserver.Config, vwClientConfig *rest.Config, dynamicClusterClient kcpdynamic.ClusterInterface, shardVirtualWorkspaceURLGetter func() string, crdLister kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer, apiBindingInformer apisv1alpha2informers.APIBindingClusterInformer, localAPIExportInformer apisv1alpha2informers.APIExportClusterInformer, globalAPIExportInformer apisv1alpha2informers.APIExportClusterInformer, ) (*Config, error)
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.
type ExtraConfig ¶
type ExtraConfig struct {
VWClientConfig *rest.Config
DynamicClusterClient kcpdynamic.ClusterInterface
ShardVirtualWorkspaceURLGetter func() string
CRDLister kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer
APIBindingInformer apisv1alpha2informers.APIBindingClusterInformer
LocalAPIExportInformer apisv1alpha2informers.APIExportClusterInformer
GlobalAPIExportInformer apisv1alpha2informers.APIExportClusterInformer
}
type Server ¶
type Server struct {
GenericAPIServer *genericapiserver.GenericAPIServer
Extra *ExtraConfig
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(c CompletedConfig, delegationTarget genericapiserver.DelegationTarget, drm *dynamicrestmapper.DynamicRESTMapper) (*Server, error)
Click to show internal directories.
Click to hide internal directories.