rest

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 16 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
	MetricStorage        monitorstorage.MetricStorage
	Cacher               cache.Cacher
	PlatformClient       platformversionedclient.PlatformV1Interface
	BusinessClient       businessversionedclient.BusinessV1Interface
}

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