rest

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2018 License: Apache-2.0 Imports: 21 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
	StorageType      server.StorageType
	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 servicecatalog API group.

Jump to

Keyboard shortcuts

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