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) (storage.Interface, DestroyFunc, error)

Create creates a storage backend based on given config.

Package factory imports 22 packages (graph) and is imported by 13 packages. Updated 2020-05-27. Refresh now. Tools for package owners.