Documentation ¶
Index ¶
Constants ¶
View Source
const UseConfiguredCacheSize = -1
UseConfiguredCacheSize indicates that the configured cache size should be used
Variables ¶
This section is empty.
Functions ¶
func ApplyOptions ¶
func ApplyOptions(optsGetter Getter, store *genericetcd.Etcd, etcdPrefix string) error
ApplyOptions updates the given generic storage from the provided rest options TODO: remove need for etcdPrefix once Decorator interface is refactored upstream
Types ¶
type Getter ¶
type Getter interface {
GetRESTOptions(resource unversioned.GroupResource) (generic.RESTOptions, error)
}
func NewConfigGetter ¶
func NewConfigGetter(masterOptions configapi.MasterConfig) Getter
NewConfigGetter returns a restoptions.Getter implemented using information from the provided master config. By default, the etcd watch cache is enabled with a size of 1000 per resource type.
func NewSimpleGetter ¶
Click to show internal directories.
Click to hide internal directories.