rest

package
v1.89.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 24 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