Documentation
¶
Overview ¶
Package storage implements storage for Storage resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StatusStrategy = volumeAttachmentStatusStrategy{Strategy}
StatusStrategy is the default logic that applies when creating and updating VolumeAttachmentStatus subresource via the REST API.
View Source
var Strategy = volumeAttachmentStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating VolumeAttachment objects via the REST API.
Functions ¶
func NewVolumeAttachmentREST ¶
func NewVolumeAttachmentREST(storageConfig storagebackend.Config, _ runtime.Scheme) (rest.Storage, error)
NewVolumeAttachmentREST creates a REST interface for storagev1 VolumeAttachment resource.
Types ¶
type REST ¶
type REST struct {
*genericregistry.Store
}
REST wraps a Store and implements rest.Scoper.
Click to show internal directories.
Click to hide internal directories.