aggregatingcrdversiondiscovery

package
v0.33.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 36 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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,

	dynamicRESTMapper *dynamicrestmapper.DynamicRESTMapper,

	dynamicClusterClient kcpdynamic.ClusterInterface,
	vwClientConfig *rest.Config,
	shardName string,
	shardVirtualWorkspaceURLGetter func() string,
	thisShardLabels func() labels.Set,

	crdLister kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer,
	apiBindingAwareCRDLister apiextensionsapiserverkcp.ClusterAwareCRDClusterLister,
	apiBindingInformer apisv1alpha2informers.APIBindingClusterInformer,
	localAPIExportInformer apisv1alpha2informers.APIExportClusterInformer,
	globalAPIExportInformer apisv1alpha2informers.APIExportClusterInformer,
	globalShardClusterInformer corev1alpha1informers.ShardClusterInformer,
) (*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 {
	DynamicRESTMapper *dynamicrestmapper.DynamicRESTMapper

	CRDLister                  kcpapiextensionsv1informers.CustomResourceDefinitionClusterInformer
	APIBindingAwareCRDLister   apiextensionsapiserverkcp.ClusterAwareCRDClusterLister
	APIBindingInformer         apisv1alpha2informers.APIBindingClusterInformer
	APIBindingLister           apisv1alpha2listers.APIBindingClusterLister
	LocalAPIExportInformer     apisv1alpha2informers.APIExportClusterInformer
	GlobalAPIExportInformer    apisv1alpha2informers.APIExportClusterInformer
	GlobalShardClusterInformer corev1alpha1informers.ShardClusterInformer

	DynamicClusterClient kcpdynamic.ClusterInterface
	VWClientConfig       *rest.Config

	ShardName                      string
	ShardVirtualWorkspaceURLGetter func() string
	ThisShardLabels                func() labels.Set
}

type Server

type Server struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
	Extra            *ExtraConfig
	// contains filtered or unexported fields
}

func NewServer

func NewServer(c CompletedConfig, delegationTarget genericapiserver.DelegationTarget) (*Server, error)

Jump to

Keyboard shortcuts

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