apiserver: k8s.io/apiserver/pkg/storage/storagebackend/factory Index | Files

package factory

import "k8s.io/apiserver/pkg/storage/storagebackend/factory"


Package Files

etcd3.go factory.go

func CreateHealthCheck Uses

func CreateHealthCheck(c storagebackend.Config) (func() error, error)

CreateHealthCheck creates a healthcheck function based on given config.

type DestroyFunc Uses

type DestroyFunc func()

DestroyFunc is to destroy any resources used by the storage returned in Create() together.

func Create Uses

func Create(c storagebackend.Config, newFunc func() runtime.Object) (storage.Interface, DestroyFunc, error)

Create creates a storage backend based on given config.

Package factory imports 23 packages (graph) and is imported by 11 packages. Updated 2020-11-07. Refresh now. Tools for package owners.