virtualresources

package
v0.29.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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