package etcd
import "k8s.io/kubernetes/pkg/registry/persistentvolume/etcd"
Index ¶
Functions ¶
func NewStorage ¶
func NewStorage(h tools.EtcdHelper) (*REST, *StatusREST)
NewREST returns a RESTStorage object that will work against PersistentVolume objects.
Types ¶
type REST ¶
type REST struct { *etcdgeneric.Etcd }
rest implements a RESTStorage for persistentvolumes against etcd
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a persistentvolume.
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
func (*StatusREST) Update ¶
Update alters the status subset of an object.
Source Files ¶
etcd.go
- Version
- v0.17.0
- Published
- May 12, 2015
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 1 minute ago –
Tools for package owners.