rest

package
v1.52.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 23 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
	CredentialsRotationInterval  time.Duration
}

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 v1alpha1 core storage.

Jump to

Keyboard shortcuts

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