|
|
@ -12,9 +12,9 @@ func main() { |
|
|
|
app.Usage = "minio - object storage" |
|
|
|
app.Usage = "minio - object storage" |
|
|
|
app.Commands = []cli.Command{ |
|
|
|
app.Commands = []cli.Command{ |
|
|
|
{ |
|
|
|
{ |
|
|
|
Name: "encode", |
|
|
|
Name: "commit", |
|
|
|
Usage: "erasure encode a byte stream", |
|
|
|
Usage: "provide higher protection for uploaded object", |
|
|
|
Action: encode, |
|
|
|
Action: commit, |
|
|
|
Flags: []cli.Flag{ |
|
|
|
Flags: []cli.Flag{ |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "root", |
|
|
|
Name: "root", |
|
|
@ -48,11 +48,6 @@ func main() { |
|
|
|
Value: getObjectdir(".minio/erasure"), |
|
|
|
Value: getObjectdir(".minio/erasure"), |
|
|
|
Usage: "", |
|
|
|
Usage: "", |
|
|
|
}, |
|
|
|
}, |
|
|
|
cli.StringFlag{ |
|
|
|
|
|
|
|
Name: "protection-level", |
|
|
|
|
|
|
|
Value: "10,6", |
|
|
|
|
|
|
|
Usage: "data,parity", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "block-size", |
|
|
|
Name: "block-size", |
|
|
|
Value: "1M", |
|
|
|
Value: "1M", |
|
|
@ -61,9 +56,9 @@ func main() { |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
Name: "put", |
|
|
|
Name: "add", |
|
|
|
Usage: "put an object", |
|
|
|
Usage: "add an object", |
|
|
|
Action: put, |
|
|
|
Action: add, |
|
|
|
Flags: []cli.Flag{ |
|
|
|
Flags: []cli.Flag{ |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "staging", |
|
|
|
Name: "staging", |
|
|
|