rest

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 11 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 {
	LoopbackClientConfig *restclient.Config
	PrivilegedUsername   string
	PlatformClient       platformversionedclient.PlatformV1Interface //used by structs like logfile tree to get cluster client and then communicate with clusters
}

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)

Jump to

Keyboard shortcuts

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