options

package
v0.33.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 12 Imported by: 4 modules, 6 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

func Merge added in v0.20.0

Types

type Options

func NewOptions

func NewOptions() *Options

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) NewVirtualWorkspaces

func (o *Options) NewVirtualWorkspaces(
	config *rest.Config,
	cacheConfig *rest.Config,
	externalLogicalClusterAdminConfig *rest.Config,
	rootPathPrefix string,
	wildcardKubeInformers kcpkubernetesinformers.SharedInformerFactory,
	wildcardKcpInformers, cachedKcpInformers kcpinformers.SharedInformerFactory,
) ([]rootapiserver.NamedVirtualWorkspace, error)

NewVirtualWorkspaces builds the configured virtual workspaces.

externalLogicalClusterAdminConfig is an optional client config that points at the front-proxy and is used by VWs that need to reach clusters hosted on other shards (e.g. for SubjectAccessReview against the workspacetype's cluster). When nil, all VW operations go through config (the local shard loopback), which is correct for non-sharded deployments.

func (*Options) Validate

func (o *Options) Validate() []error

Jump to

Keyboard shortcuts

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