virtualresources

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: ? modules, 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,
	vwClientConfig *rest.Config,
	dynamicClusterClient kcpdynamic.ClusterInterface,
	shardName string,
	shardVirtualWorkspaceURLGetter func() string,
	thisShardLabels func() labels.Set,
	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

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

	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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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