|
|
@ -36,6 +36,9 @@ USAGE: |
|
|
|
FLAGS: |
|
|
|
FLAGS: |
|
|
|
{{range .VisibleFlags}}{{.}} |
|
|
|
{{range .VisibleFlags}}{{.}} |
|
|
|
{{end}}{{end}} |
|
|
|
{{end}}{{end}} |
|
|
|
|
|
|
|
BACKEND: |
|
|
|
|
|
|
|
azure: Microsoft Azure Blob Storage. Default ENDPOINT is https://core.windows.net
|
|
|
|
|
|
|
|
|
|
|
|
ENVIRONMENT VARIABLES: |
|
|
|
ENVIRONMENT VARIABLES: |
|
|
|
ACCESS: |
|
|
|
ACCESS: |
|
|
|
MINIO_ACCESS_KEY: Username or access key of your storage backend. |
|
|
|
MINIO_ACCESS_KEY: Username or access key of your storage backend. |
|
|
@ -43,29 +46,20 @@ ENVIRONMENT VARIABLES: |
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES: |
|
|
|
EXAMPLES: |
|
|
|
1. Start minio gateway server for Azure Blob Storage backend. |
|
|
|
1. Start minio gateway server for Azure Blob Storage backend. |
|
|
|
|
|
|
|
$ export MINIO_ACCESS_KEY=azureaccountname |
|
|
|
|
|
|
|
$ export MINIO_SECRET_KEY=azureaccountkey |
|
|
|
$ {{.HelpName}} azure |
|
|
|
$ {{.HelpName}} azure |
|
|
|
|
|
|
|
|
|
|
|
2. Start minio gateway server bound to a specific ADDRESS:PORT. |
|
|
|
|
|
|
|
$ {{.HelpName}} --address 192.168.1.101:9000 azure |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. Gateway server connecting to a custom Azure Blob Storage endpoint. |
|
|
|
|
|
|
|
$ {{.HelpName}} azure https://azure-stack.domain.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
` |
|
|
|
` |
|
|
|
|
|
|
|
|
|
|
|
var gatewayCmd = cli.Command{ |
|
|
|
var gatewayCmd = cli.Command{ |
|
|
|
Name: "gateway", |
|
|
|
Name: "gateway", |
|
|
|
Usage: "Start object storage gateway server.", |
|
|
|
Usage: "Start object storage gateway.", |
|
|
|
Action: gatewayMain, |
|
|
|
Action: gatewayMain, |
|
|
|
CustomHelpTemplate: gatewayTemplate, |
|
|
|
CustomHelpTemplate: gatewayTemplate, |
|
|
|
Flags: append(serverFlags, cli.BoolFlag{ |
|
|
|
Flags: append(serverFlags, |
|
|
|
Name: "quiet", |
|
|
|
cli.BoolFlag{ |
|
|
|
Usage: "Disable startup banner.", |
|
|
|
Name: "quiet", |
|
|
|
}, |
|
|
|
Usage: "Disable startup banner.", |
|
|
|
cli.StringFlag{ |
|
|
|
|
|
|
|
Name: "endpoint", |
|
|
|
|
|
|
|
Usage: "The endpoint.", |
|
|
|
|
|
|
|
Value: "https://s3.amazonaws.com/", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
), |
|
|
|
), |
|
|
|
HideHelpCommand: true, |
|
|
|
HideHelpCommand: true, |
|
|
|