Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHealthCheck ¶
func CreateHealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error)
CreateHealthCheck creates a healthcheck function based on given config.
func CreateMonitor ¶ added in v0.28.0
func CreateMonitor(c storagebackend.Config) (metrics.Monitor, error)
func CreateReadyCheck ¶ added in v0.25.0
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, newListFunc func() runtime.Object, resourcePrefix string) (storage.Interface, DestroyFunc, error)
Create creates a storage backend based on given config.
Click to show internal directories.
Click to hide internal directories.