rest

package
v0.0.0-...-a8c9c8d Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RESTStorageProvider

type RESTStorageProvider struct {
	StorageType server.StorageType
}

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

func (RESTStorageProvider) GroupName

func (p RESTStorageProvider) GroupName() string

GroupName returns the API group name.

func (RESTStorageProvider) NewV3Storage

func (p RESTStorageProvider) NewV3Storage(
	scheme *runtime.Scheme,
	restOptionsGetter generic.RESTOptionsGetter,
	authorizer authorizer.Authorizer,
) (map[string]rest.Storage, error)

NewV3Storage constructs v3 api storage.

Jump to

Keyboard shortcuts

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