rest

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageProvider

type StorageProvider struct {
	LoopbackClientConfig *restclient.Config
	PrivilegedUsername   string
	MessageRequestTTL    time.Duration
	MessageTTL           time.Duration
}

StorageProvider is a REST type for core resources storage that implement RestStorageProvider interface

func (*StorageProvider) GroupName

func (*StorageProvider) GroupName() string

GroupName return the api group name

func (*StorageProvider) NewRESTStorage

func (s *StorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericserver.APIGroupInfo, bool)

NewRESTStorage is a factory constructor to creates and returns the APIGroupInfo

Jump to

Keyboard shortcuts

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