Documentation ¶
Index ¶
- func CreateNewStorageBackend(ctx context.Context, storageDriver storage.Driver) (storage.Backend, error)
- func GetStorageDriver(driverName string) (storage.Driver, error)
- func NewStorageBackendForConfig(ctx context.Context, configJSON, configRef, backendUUID string, ...) (sb storage.Backend, err error)
- func SpecOnlyValidation(ctx context.Context, commonConfig *drivers.CommonStorageDriverConfig, ...) error
- func ValidateCommonSettings(ctx context.Context, configJSON string) (commonConfig *drivers.CommonStorageDriverConfig, configInJSON string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewStorageBackend ¶
func SpecOnlyValidation ¶
func SpecOnlyValidation( ctx context.Context, commonConfig *drivers.CommonStorageDriverConfig, configInJSON string, ) error
SpecOnlyValidation applies to values supplied through the CRD controller, this ensures that forbidden attributes are not in the spec, and contains the credentials field.
func ValidateCommonSettings ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.