builder

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL