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

package factory

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

Index

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 20 packages (graph) and is imported by 11 packages. Updated 2019-10-31. Refresh now. Tools for package owners.