package factory
import "k8s.io/apiserver/pkg/storage/storagebackend/factory"
Index ¶
Functions ¶
func CreateHealthCheck ¶
func CreateHealthCheck(c storagebackend.Config) (func() error, error)
CreateHealthCheck creates a healthcheck function based on given config.
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.Config) (storage.Interface, DestroyFunc, error)
Create creates a storage backend based on given config.
Source Files ¶
etcd3.go factory.go
- Version
- v0.17.6
- Published
- May 20, 2020
- Platform
- darwin/amd64
- Imports
- 20 packages
- Last checked
- 1 minute ago –
Tools for package owners.