package factory
import "k8s.io/apiserver/pkg/storage/storagebackend/factory"
Index ¶
- func CreateHealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error)
- func CreateReadyCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error)
- type DestroyFunc
Functions ¶
func CreateHealthCheck ¶
func CreateHealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error)
CreateHealthCheck creates a healthcheck function based on given config.
func CreateReadyCheck ¶
func CreateReadyCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error)
Types ¶
type DestroyFunc ¶
type DestroyFunc func()
DestroyFunc is to destroy any resources used by the storage returned in Create() together.
func Create ¶
func Create(c storagebackend.ConfigForResource, newFunc func() runtime.Object) (storage.Interface, DestroyFunc, error)
Create creates a storage backend based on given config.
Source Files ¶
etcd3.go factory.go
- Version
- v0.25.6-rc.0
- Published
- Dec 8, 2022
- Platform
- js/wasm
- Imports
- 33 packages
- Last checked
- 4 seconds ago –
Tools for package owners.