restoptions

package
v3.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultKeyFunctions added in v1.4.0

func DefaultKeyFunctions(store *registry.Store, prefix string, isNamespaced bool)

DefaultKeyFunctions sets the default behavior for storage key generation onto a Store.

Types

type Getter

type Getter interface {
	GetRESTOptions(resource schema.GroupResource) (generic.RESTOptions, error)
}

func NewConfigGetter

func NewConfigGetter(masterOptions configapi.MasterConfig, defaultResourceConfig *serverstorage.ResourceConfig, resourcePrefixOverrides map[schema.GroupResource]string, enforcedStorageVersions map[schema.GroupResource]schema.GroupVersion, quorumResources map[schema.GroupResource]struct{}) (Getter, error)

NewConfigGetter returns a restoptions.Getter implemented using information from the provided master config. TODO: this class should either not need to know about configapi.MasterConfig, or not be in pkg/util

func NewSimpleGetter

func NewSimpleGetter(storage *storagebackend.Config) Getter

Jump to

Keyboard shortcuts

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