package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/apiserver.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
EtcdHealthCheck decodes data returned from etcd /healthz handler.
New returns an etcd3 implementation of storage.Interface.
NewDefaultDecoder returns the default decoder for etcd3 store.
NewDefaultLeaseManagerConfig creates a LeaseManagerConfig with default values.
NewETCDLatencyTracker returns an implementation of clientv3.KV that times the calls from the specified 'delegate' KV instance in order to track latency incurred.
NewStoreWithUnsafeCorruptObjectDeletion wraps the given store implementation and adds support for unsafe deletion of corrupt objects.
StartCompactor starts a compactor in the background to compact old version of keys that's not needed.
TestOnlySetFatalOnDecodeError should only be used for cases where decode errors are expected and need to be tested.
WithCorruptObjErrorHandlingDecoder decorates the given decoder, it determines if the error returned by the given decoder represents a corrupt object (the object is undecodable), and then it wraps the error appropriately so the unsafe deleter can determine if the object is a candidate for unsafe deletion.
WithCorruptObjErrorHandlingTransformer decorates the given decoder, it determines if the error returned by the given transformer represents a corrupt object (the data from the storage is untransformable), and then it wraps the error appropriately so the unsafe deleter can determine if the object is a candidate for unsafe deletion.
# Structs
LeaseManagerConfig is configuration for creating a lease manager.
# Interfaces
Decoder is used by the etcd storage implementation to decode transformed data from the storage into an object.
ListErrorAggregator aggregates the error(s) that the LIST operation encounters while retrieving object(s) from the storage.