}
func (s *azureVolumeAdder) Set(containerName string) error {
+ if trashLifetime <= 0 {
+ log.Print("Missing required configuration parameter: trash-lifetime")
+ return ErrNotImplemented
+ }
+
if containerName == "" {
return errors.New("no container name given")
}
}
}
-// Delete a Keep block.
-func (v *AzureBlobVolume) Delete(loc string) error {
+// Trash a Keep block.
+func (v *AzureBlobVolume) Trash(loc string) error {
if v.readonly {
return MethodDisabledError
}
})
}
+// Untrash a Keep block.
+// TBD
+func (v *AzureBlobVolume) Untrash(loc string) error {
+ return nil
+}
+
// Status returns a VolumeStatus struct with placeholder data.
func (v *AzureBlobVolume) Status() *VolumeStatus {
return &VolumeStatus{