options

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthorizationCache added in v0.10.0

type AuthorizationCache struct {
	Period       time.Duration
	JitterFactor float64
	Sliding      bool
}

AuthorizationCache contains options for the authorization caches in the workspaces service.

func (*AuthorizationCache) AddFlags added in v0.10.0

func (o *AuthorizationCache) AddFlags(flags *pflag.FlagSet, prefix string)

func (*AuthorizationCache) Validate added in v0.10.0

func (o *AuthorizationCache) Validate(flagPrefix string) []error

type Workspaces

type Workspaces struct {
	AuthorizationCache AuthorizationCache
}

func New added in v0.8.0

func New() *Workspaces

func (*Workspaces) AddFlags

func (o *Workspaces) AddFlags(flags *pflag.FlagSet, prefix string)

func (*Workspaces) NewVirtualWorkspaces

func (o *Workspaces) NewVirtualWorkspaces(
	rootPathPrefix string,
	config *rest.Config,
	wildcardKubeInformers kcpkubernetesinformers.SharedInformerFactory,
	wildcardKcpInformers kcpinformers.SharedInformerFactory,
) (workspaces []rootapiserver.NamedVirtualWorkspace, err error)

func (*Workspaces) Validate

func (o *Workspaces) Validate(flagPrefix string) []error

Jump to

Keyboard shortcuts

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