Documentation ¶ Index ¶ func Lock(poolName string, volType string, volName string) func() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Lock ¶ func Lock(poolName string, volType string, volName string) func() Lock creates a lock for a specific storage volume to allow activities that require exclusive access to take place. Will block until the lock is established. On success, it returns an unlock function which needs to be called to unlock the lock. Types ¶ This section is empty. Source Files ¶ View all Source files lock.go Click to show internal directories. Click to hide internal directories.