Back to godoc.org

Package factory

v0.19.2
Latest Go to latest

The latest major version is .

Published: 5 days ago | License: Apache-2.0 | Module: k8s.io/apiserver

Index

func CreateHealthCheck

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

CreateHealthCheck creates a healthcheck function based on given config.

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.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier