package
10.0.96+incompatible
Repository: https://github.com/libopenstorage/openstorage.git
Documentation: pkg.go.dev

# Functions

IsBoolOptionSet checks if a boolean option key is set.
NewVolumeAttachOptions converts a map of options to api.SdkVolumeAttachOptions.
NewVolumeUnmountOptions converts a map of options to api.SdkVolumeUnmounOptions.

# Constants

OptionsAccessMode is an option provided to the following Openstorage Volume API - Mount It indicates the mode in which volume must be mounted.
OptionsDeleteAfterUnmount is an option provided to the following Openstorage Volume API - Unmount It indicates the Volume Driver to delete the mount path after a successful Unmount.
OptionsDetachDuringDelete is an option provided to the following Openstorage Volume API - Detach It indicates the Volume Driver that a Detach is being issued as a part of a Delete request.
OptionsDeviceFuseMount is an option provided to the following Openstorage Volume APIs - Mount - Unmount It is used for volume types which use FUSE mounts.
OptionsFastpath is an option to control IO path - Attach It indicates which IO path to use to complete user IO.
OptionsForceDetach is an option provided to the following Openstorage Volume API - Detach It indicates the Volume Driver to forcefully detach device from kernel.
OptionsRedirectDetach is an option provided to the following Openstorage Volume API - Detach It indicates the Volume Driver to redirect detach to the node where volume is attached.
OptionsSecret is an option provided to the following Openstorage Volume API - Attach It indicates the name of the secret stored in a secret store SECRET_NAME in case of hashicorp's Vault will be the key from the key-value pair stored in its kv backend.
OptionsSecretContext is an option provided to the following Openstorage Volume API - Attach It indicates the additional context which could be used to retrieve the secret SECRET_CONTEXT in case of kubernetes secret is the namespace in which the secret is created.
OptionsSecretKey is an option provided to the following Openstorage Volume API - Attach SECRET_KEY in case of kubernetes will be the key stored in the kubernetes secret with name SECRET_NAME.
OptionsUnmountBeforeDetach is an option provided to the following Openstorage Volume API - Detach It indicates the Volume Driver to issue an Unmount before trying the detach operation.
OptionsWaitBeforeDelete is an option provided to the following Openstorage Volume API - Unmount This option is used in conjunction with OptionsDeleteAfterUnmount.