rest

package
v1.101.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageProvider

type StorageProvider struct {
	AdminKubeconfigMaxExpiration  time.Duration
	ViewerKubeconfigMaxExpiration time.Duration
	CredentialsRotationInterval   time.Duration
	KubeInformerFactory           kubeinformers.SharedInformerFactory
	CoreInformerFactory           gardencoreinformers.SharedInformerFactory
}

StorageProvider contains configurations related to the core resources.

func (StorageProvider) GroupName

func (p StorageProvider) GroupName() string

GroupName returns the core group name.

func (StorageProvider) NewRESTStorage

func (p StorageProvider) NewRESTStorage(restOptionsGetter generic.RESTOptionsGetter) genericapiserver.APIGroupInfo

NewRESTStorage creates a new API group info object and registers the v1beta1 core storage.

Jump to

Keyboard shortcuts

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