rest

package
v0.0.1-RC1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: Apache-2.0 Imports: 14 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 genericapiserver.APIResourceConfigSource,
	restOptionsGetter registry.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