Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildVirtualWorkspace ¶
func BuildVirtualWorkspace( rootPathPrefix string, kubeClusterClient kcpkubernetesclientset.ClusterInterface, cachedKcpInformers, wildcardKcpInformers kcpinformers.SharedInformerFactory, ) ([]rootapiserver.NamedVirtualWorkspace, error)
BuildVirtualWorkspace builds the apiresourceschema virtual workspace. URL pattern: /services/apiresourceschema/<consumer-cluster>/clusters/*/apis/apis.kcp.io/v1alpha1/apiresourceschemas.
func NewSchemaRestProvider ¶
func NewSchemaRestProvider( lister apisv1alpha1listers.APIResourceSchemaClusterLister, schemaClusterAndNames map[string]logicalcluster.Name, ) apiserver.RestProviderFunc
NewSchemaRestProvider creates a REST provider function that serves APIResourceSchemas from the lister, filtered to only include schemas in the schemaClusterAndNames map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.