Add initial cut of auto expiry of objects

This commit is contained in:
Harshavardhana
2015-10-18 14:47:56 -07:00
parent c590acfc38
commit 179d2d7dac
4 changed files with 96 additions and 20 deletions
+4 -2
View File
@@ -22,6 +22,7 @@ import (
"os/user"
"runtime"
"strconv"
"time"
"github.com/dustin/go-humanize"
"github.com/minio/cli"
@@ -34,8 +35,9 @@ type serverConfig struct {
Anonymous bool // No signature turn off
/// FS options
Path string // Path to export for cloud storage
MinFreeDisk int64 // Minimum free disk space for filesystem
Path string // Path to export for cloud storage
MinFreeDisk int64 // Minimum free disk space for filesystem
Expiry time.Duration // Set auto expiry for filesystem
// TLS service
TLS bool // TLS on when certs are specified