rest

package
v0.1.42 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 12 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 {
	DefaultNamespace string
	RESTClient       restclient.Interface
}

StorageProvider provides a factory method to create a new APIGroupInfo for the servicecatalog API group. It implements (./pkg/apiserver).RESTStorageProvider

func (StorageProvider) GroupName

func (p StorageProvider) GroupName() string

GroupName returns the API group name.

func (StorageProvider) NewRESTStorage

func (p StorageProvider) NewRESTStorage(
	apiResourceConfigSource serverstorage.APIResourceConfigSource,
	restOptionsGetter generic.RESTOptionsGetter,
) (*genericapiserver.APIGroupInfo, error)

NewRESTStorage is a factory method to make a new APIGroupInfo for the settings API group.

Jump to

Keyboard shortcuts

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