Documentation ¶
Overview ¶
Package storagecapabilities provides the capabilities (or features) for some well known storage provisioners.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageCapabilities ¶
type StorageCapabilities struct { AccessMode v1.PersistentVolumeAccessMode VolumeMode v1.PersistentVolumeMode }
StorageCapabilities is a simple holder of storage capabilities (accessMode etc.)
func Get ¶
func Get(sc *storagev1.StorageClass) (StorageCapabilities, bool)
Get finds and returns a predefined StorageCapabilities for a given StorageClass
Click to show internal directories.
Click to hide internal directories.