Customize service help for Windows/Linux users (#2908)
This commit is contained in:
@@ -39,7 +39,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get server configuration of a MinIO server/cluster.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Set server configuration of a MinIO server/cluster.
|
||||
$ cat myconfig | {{.HelpName}} myminio/
|
||||
{{.Prompt}} cat myconfig | {{.HelpName}} myminio/
|
||||
`,
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ func (u configSetMessage) String() (msg string) {
|
||||
return
|
||||
}
|
||||
|
||||
// JSON jsonified service status Message message.
|
||||
// JSON jsonified service status message.
|
||||
func (u configSetMessage) JSON() string {
|
||||
if u.setConfigStatus {
|
||||
u.Status = "success"
|
||||
|
||||
@@ -57,10 +57,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Show console logs for a MinIO server with alias 'play'
|
||||
$ {{.HelpName}} play
|
||||
{{.Prompt}} {{.HelpName}} play
|
||||
|
||||
2. Show last 5 log entries for node 'node1' on MinIO server with alias 'cluster1'
|
||||
$ {{.HelpName}} --limit 5 cluster1 node1
|
||||
{{.Prompt}} {{.HelpName}} --limit 5 cluster1 node1
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -45,9 +45,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Add users 'fivecent' and 'tencent' to the group 'allcents':
|
||||
$ set +o history
|
||||
$ {{.HelpName}} myminio allcents fivecent tencent
|
||||
$ set -o history
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents fivecent tencent
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,6 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Disable group 'allcents'.
|
||||
$ {{.HelpName}} myminio allcents
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents
|
||||
`,
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Enable group 'allcents'.
|
||||
$ {{.HelpName}} myminio allcents
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get info on group 'allcents'.
|
||||
$ {{.HelpName}} myminio allcents
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List all groups.
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,10 +41,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove members 'tencent' and 'fivecent' from group 'allcents'.
|
||||
$ {{.HelpName}} myminio allcents tencent fivecent
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents tencent fivecent
|
||||
|
||||
2. Remove group 'allcents'.
|
||||
$ {{.HelpName}} myminio allcents
|
||||
{{.Prompt}} {{.HelpName}} myminio allcents
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+8
-8
@@ -85,28 +85,28 @@ SCAN MODES:
|
||||
|
||||
EXAMPLES:
|
||||
1. To format newly replaced disks in a MinIO server with alias 'myminio'
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
|
||||
2. Heal 'testbucket' in a MinIO server with alias 'myminio'
|
||||
$ {{.HelpName}} myminio/testbucket/
|
||||
{{.Prompt}} {{.HelpName}} myminio/testbucket/
|
||||
|
||||
3. Heal all objects under 'dir' prefix
|
||||
$ {{.HelpName}} --recursive myminio/testbucket/dir/
|
||||
{{.Prompt}} {{.HelpName}} --recursive myminio/testbucket/dir/
|
||||
|
||||
4. Issue a dry-run heal operation to inspect objects health but not heal them
|
||||
$ {{.HelpName}} --dry-run myminio
|
||||
{{.Prompt}} {{.HelpName}} --dry-run myminio
|
||||
|
||||
5. Issue a dry-run heal operation to inspect objects health under 'dir' prefix
|
||||
$ {{.HelpName}} --recursive --dry-run myminio/testbucket/dir/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --dry-run myminio/testbucket/dir/
|
||||
|
||||
6. Force start a running heal sequence (meaning it will force kill the running heal sequence and start a new one)
|
||||
$ {{.HelpName}} --force-start myminio/testbucket/dir/
|
||||
{{.Prompt}} {{.HelpName}} --force-start myminio/testbucket/dir/
|
||||
|
||||
7. Force stop a running heal sequence (meaning it will force kill the running heal sequence)
|
||||
$ {{.HelpName}} --force-stop myminio/testbucket/dir/
|
||||
{{.Prompt}} {{.HelpName}} --force-stop myminio/testbucket/dir/
|
||||
|
||||
8. Issue a dry-run heal operation to inspect objects health under 'dir' prefix
|
||||
$ {{.HelpName}} --dry-run myminio/testbucket/dir/
|
||||
{{.Prompt}} {{.HelpName}} --dry-run myminio/testbucket/dir/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get server CPU information of the 'play' MinIO server.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get server CPU information of the 'play' MinIO server.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get server information of the 'play' MinIO server.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Add a new canned policy 'writeonly'.
|
||||
$ {{.HelpName}} myminio writeonly /tmp/writeonly.json
|
||||
{{.Prompt}} {{.HelpName}} myminio writeonly /tmp/writeonly.json
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Show information on a given policy.
|
||||
$ {{.HelpName}} myminio writeonly
|
||||
{{.Prompt}} {{.HelpName}} myminio writeonly
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List all policies on MinIO server.
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove 'writeonly' policy on MinIO server.
|
||||
$ {{.HelpName}} myminio writeonly
|
||||
{{.Prompt}} {{.HelpName}} myminio writeonly
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Set the "readwrite" policy for user "james".
|
||||
$ {{.HelpName}} myminio readwrite user=james
|
||||
{{.Prompt}} {{.HelpName}} myminio readwrite user=james
|
||||
|
||||
2. Set the "readonly" policy for group "auditors".
|
||||
$ {{.HelpName}} myminio readonly group=auditors
|
||||
{{.Prompt}} {{.HelpName}} myminio readonly group=auditors
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Start CPU profile
|
||||
$ {{.HelpName}} --type cpu myminio/
|
||||
{{.Prompt}} {{.HelpName}} --type cpu myminio/
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
2. Download latest profile data in the current directory
|
||||
$ {{.HelpName}} myminio/
|
||||
{{.Prompt}} {{.HelpName}} myminio/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Generate a default prometheus config.
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Restart MinIO server represented by its alias 'play'.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Stop MinIO server represented by its alias 'play'.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Get a list of the 10 oldest locks on a MinIO cluster.
|
||||
$ {{.HelpName}} myminio/
|
||||
{{.Prompt}} {{.HelpName}} myminio/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -66,10 +66,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Show console trace for a MinIO server with alias 'play'
|
||||
$ {{.HelpName}} -v -a play
|
||||
{{.Prompt}} {{.HelpName}} -v -a play
|
||||
|
||||
2. Show trace only for failed requests for a MinIO server with alias 'myminio'
|
||||
$ {{.HelpName}} -v -e myminio
|
||||
{{.Prompt}} {{.HelpName}} -v -e myminio
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -43,10 +43,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Update MinIO server represented by its alias 'play'.
|
||||
$ {{.HelpName}} play/
|
||||
{{.Prompt}} {{.HelpName}} play/
|
||||
|
||||
2. Update all MinIO servers in a distributed setup, represented by its alias 'mydist'.
|
||||
$ {{.HelpName}} mydist/
|
||||
{{.Prompt}} {{.HelpName}} mydist/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -50,9 +50,9 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Add a new user 'foobar' to MinIO server.
|
||||
$ set +o history
|
||||
$ {{.HelpName}} myminio foobar foo12345
|
||||
$ set -o history
|
||||
{{.DisableHistory}}
|
||||
{{.Prompt}} {{.HelpName}} myminio foobar foo12345
|
||||
{{.EnableHistory}}
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Disable a user 'foobar' on MinIO server.
|
||||
$ {{.HelpName}} myminio foobar
|
||||
{{.Prompt}} {{.HelpName}} myminio foobar
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Enable a disabled user 'foobar' on MinIO server.
|
||||
$ {{.HelpName}} myminio foobar
|
||||
{{.Prompt}} {{.HelpName}} myminio foobar
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Display the info of a user "foobar".
|
||||
$ {{.HelpName}} myminio foobar foo12345
|
||||
{{.Prompt}} {{.HelpName}} myminio foobar
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List all users on MinIO server.
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove a user 'foobar' on MinIO server.
|
||||
$ {{.HelpName}} myminio foobar
|
||||
{{.Prompt}} {{.HelpName}} myminio foobar
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -59,20 +59,20 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
1. Stream an object from Amazon S3 cloud storage to mplayer standard input.
|
||||
$ {{.HelpName}} s3/mysql-backups/kubecon-mysql-operator.mpv | mplayer -
|
||||
{{.Prompt}} {{.HelpName}} s3/mysql-backups/kubecon-mysql-operator.mpv | mplayer -
|
||||
|
||||
2. Concatenate contents of file1.txt and stdin to standard output.
|
||||
$ {{.HelpName}} file1.txt - > file.txt
|
||||
{{.Prompt}} {{.HelpName}} file1.txt - > file.txt
|
||||
|
||||
3. Concatenate multiple files to one.
|
||||
$ {{.HelpName}} part.* > complete.img
|
||||
{{.Prompt}} {{.HelpName}} part.* > complete.img
|
||||
|
||||
4. Save an encrypted object from Amazon S3 cloud storage to a local file.
|
||||
$ {{.HelpName}} --encrypt-key 's3/mysql-backups=32byteslongsecretkeymustbegiven1' s3/mysql-backups/backups-201810.gz > /mnt/data/recent.gz
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key 's3/mysql-backups=32byteslongsecretkeymustbegiven1' s3/mysql-backups/backups-201810.gz > /mnt/data/recent.gz
|
||||
|
||||
5. Display the content of encrypted object. In case the encryption key contains non-printable character like tab, pass the
|
||||
base64 encoded string as key.
|
||||
$ {{.HelpName}} --encrypt-key "play/my-bucket/=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" play/my-bucket/my-object
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "play/my-bucket/=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" play/my-bucket/my-object
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -56,21 +56,21 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Add MinIO service under "myminio" alias. For security reasons turn off bash history momentarily.
|
||||
$ set +o history
|
||||
$ {{.HelpName}} myminio http://localhost:9000 minio minio123
|
||||
$ set -o history
|
||||
{{.DisableHistory}}
|
||||
{{.Prompt}} {{.HelpName}} myminio http://localhost:9000 minio minio123
|
||||
{{.EnableHistory}}
|
||||
|
||||
2. Add MinIO service under "myminio" alias, to use dns style bucket lookup. For security reasons
|
||||
turn off bash history momentarily.
|
||||
$ set +o history
|
||||
$ {{.HelpName}} myminio http://localhost:9000 minio minio123 --api "s3v4" --lookup "dns"
|
||||
$ set -o history
|
||||
{{.DisableHistory}}
|
||||
{{.Prompt}} {{.HelpName}} myminio http://localhost:9000 minio minio123 --api "s3v4" --lookup "dns"
|
||||
{{.EnableHistory}}
|
||||
|
||||
3. Add Amazon S3 storage service under "mys3" alias. For security reasons turn off bash history momentarily.
|
||||
$ set +o history
|
||||
$ {{.HelpName}} mys3 https://s3.amazonaws.com \
|
||||
{{.DisableHistory}}
|
||||
{{.Prompt}} {{.HelpName}} mys3 https://s3.amazonaws.com \
|
||||
BKIKJAA5BMMU2RHO6IBB V8f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12
|
||||
$ set -o history
|
||||
{{.EnableHistory}}
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List all hosts.
|
||||
$ {{.HelpName}}
|
||||
{{.Prompt}} {{.HelpName}}
|
||||
|
||||
2. List a specific host.
|
||||
$ {{.HelpName}} s3
|
||||
{{.Prompt}} {{.HelpName}} s3
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove "goodisk" from config.
|
||||
$ {{.HelpName}} goodisk
|
||||
{{.Prompt}} {{.HelpName}} goodisk
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
+13
-13
@@ -89,44 +89,44 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
01. Copy a list of objects from local file system to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} Music/*.ogg s3/jukebox/
|
||||
{{.Prompt}} {{.HelpName}} Music/*.ogg s3/jukebox/
|
||||
|
||||
02. Copy a folder recursively from MinIO cloud storage to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --recursive play/mybucket/burningman2011/ s3/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --recursive play/mybucket/burningman2011/ s3/mybucket/
|
||||
|
||||
03. Copy multiple local folders recursively to MinIO cloud storage.
|
||||
$ {{.HelpName}} --recursive backup/2014/ backup/2015/ play/archive/
|
||||
{{.Prompt}} {{.HelpName}} --recursive backup/2014/ backup/2015/ play/archive/
|
||||
|
||||
04. Copy a bucket recursively from aliased Amazon S3 cloud storage to local filesystem on Windows.
|
||||
$ {{.HelpName}} --recursive s3\documents\2014\ C:\Backups\2014
|
||||
{{.Prompt}} {{.HelpName}} --recursive s3\documents\2014\ C:\Backups\2014
|
||||
|
||||
05. Copy files older than 7 days and 10 hours from MinIO cloud storage to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --older-than 7d10h play/mybucket/burningman2011/ s3/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --older-than 7d10h play/mybucket/burningman2011/ s3/mybucket/
|
||||
|
||||
06. Copy files newer than 7 days and 10 hours from MinIO cloud storage to a local path.
|
||||
$ {{.HelpName}} --newer-than 7d10h play/mybucket/burningman2011/ ~/latest/
|
||||
{{.Prompt}} {{.HelpName}} --newer-than 7d10h play/mybucket/burningman2011/ ~/latest/
|
||||
|
||||
07. Copy an object with name containing unicode characters to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} 本語 s3/andoria/
|
||||
{{.Prompt}} {{.HelpName}} 本語 s3/andoria/
|
||||
|
||||
08. Copy a local folder with space separated characters to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --recursive 'workdir/documents/May 2014/' s3/miniocloud
|
||||
{{.Prompt}} {{.HelpName}} --recursive 'workdir/documents/May 2014/' s3/miniocloud
|
||||
|
||||
09. Copy a folder with encrypted objects recursively from Amazon S3 to MinIO cloud storage.
|
||||
$ {{.HelpName}} --recursive --encrypt-key "s3/documents/=32byteslongsecretkeymustbegiven1,myminio/documents/=32byteslongsecretkeymustbegiven2" s3/documents/ myminio/documents/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --encrypt-key "s3/documents/=32byteslongsecretkeymustbegiven1,myminio/documents/=32byteslongsecretkeymustbegiven2" s3/documents/ myminio/documents/
|
||||
|
||||
10. Copy a folder with encrypted objects recursively from Amazon S3 to MinIO cloud storage. In case the encryption key contains non-printable character like tab, pass the
|
||||
base64 encoded string as key.
|
||||
$ {{.HelpName}} --recursive --encrypt-key "s3/documents/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=,myminio/documents/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=" s3/documents/ myminio/documents/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --encrypt-key "s3/documents/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=,myminio/documents/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=" s3/documents/ myminio/documents/
|
||||
|
||||
11. Copy a list of objects from local file system to MinIO cloud storage with specified metadata.
|
||||
$ {{.HelpName}} --attr key1=value1,key2=value2 Music/*.mp4 play/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --attr key1=value1,key2=value2 Music/*.mp4 play/mybucket/
|
||||
|
||||
12. Copy a folder recursively from MinIO cloud storage to Amazon S3 cloud storage with specified metadata.
|
||||
$ {{.HelpName}} --attr Cache-Control=max-age=90000,min-fresh=9000\;key1=value1\;key2=value2 --recursive play/mybucket/burningman2011/ s3/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --attr Cache-Control=max-age=90000,min-fresh=9000\;key1=value1\;key2=value2 --recursive play/mybucket/burningman2011/ s3/mybucket/
|
||||
|
||||
13. Copy a text file to an object storage and assign REDUCED_REDUNDANCY storage-class to the uploaded object.
|
||||
$ {{.HelpName}} --storage-class REDUCED_REDUNDANCY myobject.txt play/mybucket
|
||||
{{.Prompt}} {{.HelpName}} --storage-class REDUCED_REDUNDANCY myobject.txt play/mybucket
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -58,10 +58,10 @@ LEGEND:
|
||||
|
||||
EXAMPLES:
|
||||
1. Compare a local folder with a folder on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} ~/Photos s3/mybucket/Photos
|
||||
{{.Prompt}} {{.HelpName}} ~/Photos s3/mybucket/Photos
|
||||
|
||||
2. Compare two folders on a local filesystem.
|
||||
$ {{.HelpName}} ~/Photos /Media/Backup/Photos
|
||||
{{.Prompt}} {{.HelpName}} ~/Photos /Media/Backup/Photos
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -60,10 +60,10 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
1. Summarize disk usage of 'jazz-songs' bucket recursively.
|
||||
$ {{.HelpName}} s3/jazz-songs
|
||||
{{.Prompt}} {{.HelpName}} s3/jazz-songs
|
||||
|
||||
2. Summarize disk usage of 'louis' prefix in 'jazz-songs' bucket upto two levels.
|
||||
$ {{.HelpName}} --depth=2 s3/jazz-songs/louis/
|
||||
{{.Prompt}} {{.HelpName}} --depth=2 s3/jazz-songs/louis/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -65,13 +65,13 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Enable bucket notification with a specific arn
|
||||
$ {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
{{.Prompt}} {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
|
||||
2. Enable bucket notification with filters parameters
|
||||
$ {{.HelpName}} s3/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue --event put,delete,get --prefix photos/ --suffix .jpg
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue --event put,delete,get --prefix photos/ --suffix .jpg
|
||||
|
||||
3. Ignore duplicate bucket notification with -p flag
|
||||
$ {{.HelpName}} s3/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue -p --event put,delete,get --prefix photos/ --suffix .jpg
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue -p --event put,delete,get --prefix photos/ --suffix .jpg
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -47,10 +47,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List notification configurations associated to a specific arn
|
||||
$ {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
{{.Prompt}} {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
|
||||
2. List all notification configurations
|
||||
$ {{.HelpName}} s3/mybucket
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -52,10 +52,10 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove bucket notification associated to a specific arn
|
||||
$ {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
{{.Prompt}} {{.HelpName}} myminio/mybucket arn:aws:sqs:us-west-2:444455556666:your-queue
|
||||
|
||||
2. Remove all bucket notifications. --force flag is mandatory here
|
||||
$ {{.HelpName}} myminio/mybucket --force
|
||||
{{.Prompt}} {{.HelpName}} myminio/mybucket --force
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+10
-10
@@ -121,35 +121,35 @@ FORMAT
|
||||
|
||||
EXAMPLES:
|
||||
01. Find all "foo.jpg" in all buckets under "s3" account.
|
||||
$ {{.HelpName}} s3 --name "foo.jpg"
|
||||
{{.Prompt}} {{.HelpName}} s3 --name "foo.jpg"
|
||||
|
||||
02. Find all objects with ".txt" extension under "s3/mybucket".
|
||||
$ {{.HelpName}} s3/mybucket --name "*.txt"
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket --name "*.txt"
|
||||
|
||||
03. Find only the object names without the directory component under "s3/mybucket".
|
||||
$ {{.HelpName}} s3/mybucket --name "*" -print {base}
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket --name "*" -print {base}
|
||||
|
||||
04. Find all images with ".jpg" extension under "s3/photos", prefixed with "album".
|
||||
$ {{.HelpName}} s3/photos --name "*.jpg" --path "*/album*/*"
|
||||
{{.Prompt}} {{.HelpName}} s3/photos --name "*.jpg" --path "*/album*/*"
|
||||
|
||||
05. Find all images with ".jpg", ".png", and ".gif" extensions, using regex under "s3/photos".
|
||||
$ {{.HelpName}} s3/photos --regex "(?i)\.(jpg|png|gif)$"
|
||||
{{.Prompt}} {{.HelpName}} s3/photos --regex "(?i)\.(jpg|png|gif)$"
|
||||
|
||||
06. Find all images with ".jpg" extension under "s3/bucket" and copy to "play/bucket" *continuously*.
|
||||
$ {{.HelpName}} s3/bucket --name "*.jpg" --watch --exec "mc cp {} play/bucket"
|
||||
{{.Prompt}} {{.HelpName}} s3/bucket --name "*.jpg" --watch --exec "mc cp {} play/bucket"
|
||||
|
||||
07. Find and generate public URLs valid for 7 days, for all objects between 64 MB, and 1 GB in size under "s3" account.
|
||||
$ {{.HelpName}} s3 --larger 64MB --smaller 1GB --print {url}
|
||||
{{.Prompt}} {{.HelpName}} s3 --larger 64MB --smaller 1GB --print {url}
|
||||
|
||||
08. Find all objects created in the last week under "s3/bucket".
|
||||
$ {{.HelpName}} s3/bucket --newer-than 7d
|
||||
{{.Prompt}} {{.HelpName}} s3/bucket --newer-than 7d
|
||||
|
||||
09. Find all objects which were created are older than 2 days, 5 hours and 10 minutes and exclude the ones with ".jpg"
|
||||
extension under "s3".
|
||||
$ {{.HelpName}} s3 --older-than 2d5h10m --ignore "*.jpg"
|
||||
{{.Prompt}} {{.HelpName}} s3 --older-than 2d5h10m --ignore "*.jpg"
|
||||
|
||||
10. List all objects up to 3 levels sub-directory deep under "s3/bucket".
|
||||
$ {{.HelpName}} s3/bucket --maxdepth 3
|
||||
{{.Prompt}} {{.HelpName}} s3/bucket --maxdepth 3
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -64,14 +64,14 @@ NOTE:
|
||||
|
||||
EXAMPLES:
|
||||
1. Display only first line from a 'gzip' compressed object on Amazon S3.
|
||||
$ {{.HelpName}} -n 1 s3/csv-data/population.csv.gz
|
||||
{{.Prompt}} {{.HelpName}} -n 1 s3/csv-data/population.csv.gz
|
||||
|
||||
2. Display only first line from server encrypted object on Amazon S3.
|
||||
$ {{.HelpName}} -n 1 --encrypt-key 's3/csv-data=32byteslongsecretkeymustbegiven1' s3/csv-data/population.csv
|
||||
{{.Prompt}} {{.HelpName}} -n 1 --encrypt-key 's3/csv-data=32byteslongsecretkeymustbegiven1' s3/csv-data/population.csv
|
||||
|
||||
3. Display only first line from server encrypted object on Amazon S3. In case the encryption key contains non-printable character like tab, pass the
|
||||
base64 encoded string as key.
|
||||
$ {{.HelpName}} --encrypt-key "s3/json-data=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" s3/json-data/population.json
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/json-data=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" s3/json-data/population.json
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -56,22 +56,22 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List buckets on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} s3
|
||||
{{.Prompt}} {{.HelpName}} s3
|
||||
|
||||
2. List buckets and all its contents from Amazon S3 cloud storage recursively.
|
||||
$ {{.HelpName}} --recursive s3
|
||||
{{.Prompt}} {{.HelpName}} --recursive s3
|
||||
|
||||
3. List all contents of mybucket on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} s3/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket/
|
||||
|
||||
4. List all contents of mybucket on Amazon S3 cloud storage on Microsoft Windows.
|
||||
$ {{.HelpName}} s3\mybucket\
|
||||
{{.Prompt}} {{.HelpName}} s3\mybucket\
|
||||
|
||||
5. List files recursively on a local filesystem on Microsoft Windows.
|
||||
$ {{.HelpName}} --recursive C:\Users\Worf\
|
||||
{{.Prompt}} {{.HelpName}} --recursive C:\Users\Worf\
|
||||
|
||||
6. List incomplete (previously failed) uploads of objects on Amazon S3.
|
||||
$ {{.HelpName}} --incomplete s3/mybucket
|
||||
{{.Prompt}} {{.HelpName}} --incomplete s3/mybucket
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -56,22 +56,22 @@ FLAGS:
|
||||
{{end}}{{end}}
|
||||
EXAMPLES:
|
||||
1. Create a bucket on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} s3/mynewbucket
|
||||
{{.Prompt}} {{.HelpName}} s3/mynewbucket
|
||||
|
||||
2. Create a new bucket on Google Cloud Storage.
|
||||
$ {{.HelpName}} gcs/miniocloud
|
||||
{{.Prompt}} {{.HelpName}} gcs/miniocloud
|
||||
|
||||
3. Create a new bucket on Amazon S3 cloud storage in region 'us-west-2'.
|
||||
$ {{.HelpName}} --region=us-west-2 s3/myregionbucket
|
||||
{{.Prompt}} {{.HelpName}} --region=us-west-2 s3/myregionbucket
|
||||
|
||||
4. Create a new directory including its missing parents (equivalent to 'mkdir -p').
|
||||
$ {{.HelpName}} /tmp/this/new/dir1
|
||||
{{.Prompt}} {{.HelpName}} /tmp/this/new/dir1
|
||||
|
||||
5. Create multiple directories including its missing parents (behavior similar to 'mkdir -p').
|
||||
$ {{.HelpName}} /mnt/sdb/mydisk /mnt/sdc/mydisk /mnt/sdd/mydisk
|
||||
{{.Prompt}} {{.HelpName}} /mnt/sdb/mydisk /mnt/sdc/mydisk /mnt/sdd/mydisk
|
||||
|
||||
6. Ignore if bucket/directory already exists.
|
||||
$ {{.HelpName}} --ignore-existing myminio/mynewbucket
|
||||
{{.Prompt}} {{.HelpName}} --ignore-existing myminio/mynewbucket
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+13
-13
@@ -116,47 +116,47 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
01. Mirror a bucket recursively from MinIO cloud storage to a bucket on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} play/photos/2014 s3/backup-photos
|
||||
{{.Prompt}} {{.HelpName}} play/photos/2014 s3/backup-photos
|
||||
|
||||
02. Mirror a local folder recursively to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} backup/ s3/archive
|
||||
{{.Prompt}} {{.HelpName}} backup/ s3/archive
|
||||
|
||||
03. Only mirror files that are newer than 7 days, 10 hours and 30 minutes to Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --newer-than "7d10h30m" backup/ s3/archive
|
||||
{{.Prompt}} {{.HelpName}} --newer-than "7d10h30m" backup/ s3/archive
|
||||
|
||||
04. Mirror a bucket from aliased Amazon S3 cloud storage to a folder on Windows.
|
||||
$ {{.HelpName}} s3\documents\2014\ C:\backup\2014
|
||||
{{.Prompt}} {{.HelpName}} s3\documents\2014\ C:\backup\2014
|
||||
|
||||
05. Mirror a bucket from aliased Amazon S3 cloud storage to a local folder use '--overwrite' to overwrite destination.
|
||||
$ {{.HelpName}} --overwrite s3/miniocloud miniocloud-backup
|
||||
{{.Prompt}} {{.HelpName}} --overwrite s3/miniocloud miniocloud-backup
|
||||
|
||||
06. Mirror a bucket from MinIO cloud storage to a bucket on Amazon S3 cloud storage and remove any extraneous
|
||||
files on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --remove play/photos/2014 s3/backup-photos/2014
|
||||
{{.Prompt}} {{.HelpName}} --remove play/photos/2014 s3/backup-photos/2014
|
||||
|
||||
07. Continuously mirror a local folder recursively to MinIO cloud storage. '--watch' continuously watches for
|
||||
new objects, uploads and removes extraneous files on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --remove --watch /var/lib/backups play/backups
|
||||
{{.Prompt}} {{.HelpName}} --remove --watch /var/lib/backups play/backups
|
||||
|
||||
08. Mirror a bucket from aliased Amazon S3 cloud storage to a local folder.
|
||||
Exclude all .* files and *.temp files when mirroring.
|
||||
$ {{.HelpName}} --exclude ".*" --exclude "*.temp" s3/test ~/test
|
||||
{{.Prompt}} {{.HelpName}} --exclude ".*" --exclude "*.temp" s3/test ~/test
|
||||
|
||||
09. Mirror objects newer than 10 days from bucket test to a local folder.
|
||||
$ {{.HelpName}} --newer-than 10d s3/test ~/localfolder
|
||||
{{.Prompt}} {{.HelpName}} --newer-than 10d s3/test ~/localfolder
|
||||
|
||||
10. Mirror objects older than 30 days from Amazon S3 bucket test to a local folder.
|
||||
$ {{.HelpName}} --older-than 30d s3/test ~/test
|
||||
{{.Prompt}} {{.HelpName}} --older-than 30d s3/test ~/test
|
||||
|
||||
11. Mirror server encrypted objects from MinIO cloud storage to a bucket on Amazon S3 cloud storage
|
||||
$ {{.HelpName}} --encrypt-key "minio/photos=32byteslongsecretkeymustbegiven1,s3/archive=32byteslongsecretkeymustbegiven2" minio/photos/ s3/archive/
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "minio/photos=32byteslongsecretkeymustbegiven1,s3/archive=32byteslongsecretkeymustbegiven2" minio/photos/ s3/archive/
|
||||
|
||||
12. Mirror server encrypted objects from MinIO cloud storage to a bucket on Amazon S3 cloud storage. In case the encryption key contains
|
||||
non-printable character like tab, pass the base64 encoded string as key.
|
||||
$ {{.HelpName}} --encrypt-key "s3/photos/=32byteslongsecretkeymustbegiven1,play/archive/=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" s3/photos/ play/archive/
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/photos/=32byteslongsecretkeymustbegiven1,play/archive/=MzJieXRlc2xvbmdzZWNyZXRrZQltdXN0YmVnaXZlbjE=" s3/photos/ play/archive/
|
||||
|
||||
13. Update 'Cache-Control' header on existing objects.
|
||||
$ {{.HelpName}} --attr Cache-Control=max-age=90000,min-fresh=9000 myminio/video-files myminio/video-files
|
||||
{{.Prompt}} {{.HelpName}} --attr Cache-Control=max-age=90000,min-fresh=9000 myminio/video-files myminio/video-files
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -55,16 +55,16 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
1. Write contents of stdin to a file on local filesystem.
|
||||
$ {{.HelpName}} /tmp/hello-world.go
|
||||
{{.Prompt}} {{.HelpName}} /tmp/hello-world.go
|
||||
|
||||
2. Write contents of stdin to an object on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} s3/personalbuck/meeting-notes.txt
|
||||
{{.Prompt}} {{.HelpName}} s3/personalbuck/meeting-notes.txt
|
||||
|
||||
3. Copy an ISO image to an object on Amazon S3 cloud storage.
|
||||
$ cat debian-8.2.iso | {{.HelpName}} s3/opensource-isos/gnuos.iso
|
||||
{{.Prompt}} cat debian-8.2.iso | {{.HelpName}} s3/opensource-isos/gnuos.iso
|
||||
|
||||
4. Stream MySQL database dump to Amazon S3 directly.
|
||||
$ mysqldump -u root -p ******* accountsdb | {{.HelpName}} s3/sql-backups/backups/accountsdb-oct-9-2015.sql
|
||||
{{.Prompt}} mysqldump -u root -p ******* accountsdb | {{.HelpName}} s3/sql-backups/backups/accountsdb-oct-9-2015.sql
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+9
-9
@@ -67,31 +67,31 @@ FILE:
|
||||
|
||||
EXAMPLES:
|
||||
1. Set bucket to "download" on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} set download s3/burningman2011
|
||||
{{.Prompt}} {{.HelpName}} set download s3/burningman2011
|
||||
|
||||
2. Set bucket to "public" on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} set public s3/shared
|
||||
{{.Prompt}} {{.HelpName}} set public s3/shared
|
||||
|
||||
3. Set bucket to "upload" on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} set upload s3/incoming
|
||||
{{.Prompt}} {{.HelpName}} set upload s3/incoming
|
||||
|
||||
4. Set policy to "public" for bucket with prefix on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} set public s3/public-commons/images
|
||||
{{.Prompt}} {{.HelpName}} set public s3/public-commons/images
|
||||
|
||||
5. Set a custom prefix based bucket policy on Amazon S3 cloud storage using a JSON file.
|
||||
$ {{.HelpName}} set-json /path/to/policy.json s3/public-commons/images
|
||||
{{.Prompt}} {{.HelpName}} set-json /path/to/policy.json s3/public-commons/images
|
||||
|
||||
6. Get bucket permissions.
|
||||
$ {{.HelpName}} get s3/shared
|
||||
{{.Prompt}} {{.HelpName}} get s3/shared
|
||||
|
||||
7. Get bucket permissions in JSON format.
|
||||
$ {{.HelpName}} get-json s3/shared
|
||||
{{.Prompt}} {{.HelpName}} get-json s3/shared
|
||||
|
||||
8. List policies set to a specified bucket.
|
||||
$ {{.HelpName}} list s3/shared
|
||||
{{.Prompt}} {{.HelpName}} list s3/shared
|
||||
|
||||
9. List public object URLs recursively.
|
||||
$ {{.HelpName}} --recursive links s3/shared/
|
||||
{{.Prompt}} {{.HelpName}} --recursive links s3/shared/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -59,16 +59,16 @@ FLAGS:
|
||||
{{end}}{{end}}
|
||||
EXAMPLES:
|
||||
1. Remove an empty bucket on Amazon S3 cloud storage
|
||||
$ {{.HelpName}} s3/mybucket
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket
|
||||
|
||||
2. Remove a directory hierarchy.
|
||||
$ {{.HelpName}} /tmp/this/new/dir1
|
||||
{{.Prompt}} {{.HelpName}} /tmp/this/new/dir1
|
||||
|
||||
3. Remove bucket 'jazz-songs' and all its contents
|
||||
$ {{.HelpName}} --force s3/jazz-songs
|
||||
{{.Prompt}} {{.HelpName}} --force s3/jazz-songs
|
||||
|
||||
4. Remove all buckets and objects recursively from S3 host
|
||||
$ {{.HelpName}} --force --dangerous s3
|
||||
{{.Prompt}} {{.HelpName}} --force --dangerous s3
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+10
-10
@@ -88,34 +88,34 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
01. Remove a file.
|
||||
$ {{.HelpName}} 1999/old-backup.tgz
|
||||
{{.Prompt}} {{.HelpName}} 1999/old-backup.tgz
|
||||
|
||||
02. Perform a fake remove operation.
|
||||
$ {{.HelpName}} --fake 1999/old-backup.tgz
|
||||
{{.Prompt}} {{.HelpName}} --fake 1999/old-backup.tgz
|
||||
|
||||
03. Remove all objects recursively from bucket 'jazz-songs' matching the prefix 'louis'.
|
||||
$ {{.HelpName}} --recursive --force s3/jazz-songs/louis/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --force s3/jazz-songs/louis/
|
||||
|
||||
04. Remove all objects older than '90' days recursively from bucket 'jazz-songs' matching the prefix 'louis'.
|
||||
$ {{.HelpName}} --recursive --force --older-than 90d s3/jazz-songs/louis/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --force --older-than 90d s3/jazz-songs/louis/
|
||||
|
||||
05. Remove all objects newer than 7 days and 10 hours recursively from bucket 'pop-songs'
|
||||
$ {{.HelpName}} --recursive --force --newer-than 7d10h s3/pop-songs/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --force --newer-than 7d10h s3/pop-songs/
|
||||
|
||||
06. Remove all objects read from STDIN.
|
||||
$ {{.HelpName}} --force --stdin
|
||||
{{.Prompt}} {{.HelpName}} --force --stdin
|
||||
|
||||
07. Remove all objects recursively from Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --recursive --force --dangerous s3
|
||||
{{.Prompt}} {{.HelpName}} --recursive --force --dangerous s3
|
||||
|
||||
08. Remove all buckets and objects older than '90' days recursively from host
|
||||
$ {{.HelpName}} --recursive --dangerous --force --older-than 90d s3
|
||||
{{.Prompt}} {{.HelpName}} --recursive --dangerous --force --older-than 90d s3
|
||||
|
||||
09. Drop all incomplete uploads on the bucket 'jazz-songs'.
|
||||
$ {{.HelpName}} --incomplete --recursive --force s3/jazz-songs/
|
||||
{{.Prompt}} {{.HelpName}} --incomplete --recursive --force s3/jazz-songs/
|
||||
|
||||
10. Remove an encrypted object from Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --encrypt-key "s3/sql-backups/=32byteslongsecretkeymustbegiven1" s3/sql-backups/1999/old-backup.tgz
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/sql-backups/=32byteslongsecretkeymustbegiven1" s3/sql-backups/1999/old-backup.tgz
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -52,13 +52,13 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Clear session.
|
||||
$ {{.HelpName}} ygVIpSJs
|
||||
{{.Prompt}} {{.HelpName}} ygVIpSJs
|
||||
|
||||
2. Clear all sessions.
|
||||
$ {{.HelpName}} all
|
||||
{{.Prompt}} {{.HelpName}} all
|
||||
|
||||
3. Forcefully clear an obsolete session.
|
||||
$ {{.HelpName}} ygVIpSJs --force
|
||||
{{.Prompt}} {{.HelpName}} ygVIpSJs --force
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List sessions.
|
||||
$ {{.HelpName}}
|
||||
{{.Prompt}} {{.HelpName}}
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Resume session.
|
||||
$ {{.HelpName}} ygVIpSJs
|
||||
{{.Prompt}} {{.HelpName}} ygVIpSJs
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -52,16 +52,16 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Share this object with 7 days default expiry.
|
||||
$ {{.HelpName}} s3/backup/2006-Mar-1/backup.tar.gz
|
||||
{{.Prompt}} {{.HelpName}} s3/backup/2006-Mar-1/backup.tar.gz
|
||||
|
||||
2. Share this object with 10 minutes expiry.
|
||||
$ {{.HelpName}} --expire=10m s3/backup/2006-Mar-1/backup.tar.gz
|
||||
{{.Prompt}} {{.HelpName}} --expire=10m s3/backup/2006-Mar-1/backup.tar.gz
|
||||
|
||||
3. Share all objects under this folder with 5 days expiry.
|
||||
$ {{.HelpName}} --expire=120h s3/backup/2006-Mar-1/
|
||||
{{.Prompt}} {{.HelpName}} --expire=120h s3/backup/2006-Mar-1/
|
||||
|
||||
4. Share all objects under this bucket and all its folders and sub-folders with 5 days expiry.
|
||||
$ {{.HelpName}} --recursive --expire=120h s3/backup/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --expire=120h s3/backup/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -47,10 +47,10 @@ COMMAND:
|
||||
|
||||
EXAMPLES:
|
||||
1. List previously shared downloads, that haven't expired yet.
|
||||
$ {{.HelpName}} download
|
||||
{{.Prompt}} {{.HelpName}} download
|
||||
|
||||
2. List previously shared uploads, that haven't expired yet.
|
||||
$ {{.HelpName}} upload
|
||||
{{.Prompt}} {{.HelpName}} upload
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -54,16 +54,16 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. Generate a curl command to allow upload access for a single object. Command expires in 7 days (default).
|
||||
$ {{.HelpName}} s3/backup/2006-Mar-1/backup.tar.gz
|
||||
{{.Prompt}} {{.HelpName}} s3/backup/2006-Mar-1/backup.tar.gz
|
||||
|
||||
2. Generate a curl command to allow upload access to a folder. Command expires in 120 hours.
|
||||
$ {{.HelpName}} --expire=120h s3/backup/2007-Mar-2/
|
||||
{{.Prompt}} {{.HelpName}} --expire=120h s3/backup/2007-Mar-2/
|
||||
|
||||
3. Generate a curl command to allow upload access of only '.png' images to a folder. Command expires in 2 hours.
|
||||
$ {{.HelpName}} --expire=2h --content-type=image/png s3/backup/2007-Mar-2/
|
||||
{{.Prompt}} {{.HelpName}} --expire=2h --content-type=image/png s3/backup/2007-Mar-2/
|
||||
|
||||
4. Generate a curl command to allow upload access to any objects matching the key prefix 'backup/'. Command expires in 2 hours.
|
||||
$ {{.HelpName}} --recursive --expire=2h s3/backup/2007-Mar-2/backup/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --expire=2h s3/backup/2007-Mar-2/backup/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+6
-6
@@ -95,28 +95,28 @@ SERIALIZATION OPTIONS:
|
||||
|
||||
EXAMPLES:
|
||||
1. Run a query on a set of objects recursively on AWS S3.
|
||||
$ {{.HelpName}} --recursive --query "select * from S3Object" s3/personalbucket/my-large-csvs/
|
||||
{{.Prompt}} {{.HelpName}} --recursive --query "select * from S3Object" s3/personalbucket/my-large-csvs/
|
||||
|
||||
2. Run a query on an object on MinIO.
|
||||
$ {{.HelpName}} --query "select count(s.power) from S3Object" myminio/iot-devices/power-ratio.csv
|
||||
{{.Prompt}} {{.HelpName}} --query "select count(s.power) from S3Object" myminio/iot-devices/power-ratio.csv
|
||||
|
||||
3. Run a query on an encrypted object with customer provided keys.
|
||||
$ {{.HelpName}} --encrypt-key "myminio/iot-devices=32byteslongsecretkeymustbegiven1" \
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "myminio/iot-devices=32byteslongsecretkeymustbegiven1" \
|
||||
--query "select count(s.power) from S3Object s" myminio/iot-devices/power-ratio-encrypted.csv
|
||||
|
||||
4. Run a query on an object on MinIO in gzip format using ; as field delimiter,
|
||||
newline as record delimiter and file header to be used
|
||||
$ {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
{{.Prompt}} {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
--query "select count(s.power) from S3Object" myminio/iot-devices/power-ratio.csv.gz
|
||||
|
||||
5. Run a query on an object on MinIO in gzip format using ; as field delimiter,
|
||||
newline as record delimiter and file header to be used
|
||||
$ {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
{{.Prompt}} {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
--json-output "rd=\n\n" --query "select * from S3Object" myminio/iot-devices/data.csv
|
||||
|
||||
6. Run same query as in 5., but specify csv output headers. If --csv-output-headers is
|
||||
specified as "", first row of csv is interpreted as header
|
||||
$ {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
{{.Prompt}} {{.HelpName}} --compression GZIP --csv-input "rd=\n,fh=USE,fd=;" \
|
||||
--csv-output "rd=\n" --csv-output-header "device_id,uptime,lat,lon" \
|
||||
--query "select * from S3Object" myminio/iot-devices/data.csv
|
||||
`,
|
||||
|
||||
+5
-5
@@ -55,20 +55,20 @@ ENVIRONMENT VARIABLES:
|
||||
|
||||
EXAMPLES:
|
||||
1. Stat all contents of mybucket on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} s3/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} s3/mybucket/
|
||||
|
||||
2. Stat all contents of mybucket on Amazon S3 cloud storage on Microsoft Windows.
|
||||
$ {{.HelpName}} s3\mybucket\
|
||||
{{.Prompt}} {{.HelpName}} s3\mybucket\
|
||||
|
||||
3. Stat files recursively on a local filesystem on Microsoft Windows.
|
||||
$ {{.HelpName}} --recursive C:\Users\Worf\
|
||||
{{.Prompt}} {{.HelpName}} --recursive C:\Users\Worf\
|
||||
|
||||
4. Stat encrypted files on Amazon S3 cloud storage.
|
||||
$ {{.HelpName}} --encrypt-key "s3/personal-docs/=32byteslongsecretkeymustbegiven1" s3/personal-docs/2018-account_report.docx
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/personal-docs/=32byteslongsecretkeymustbegiven1" s3/personal-docs/2018-account_report.docx
|
||||
|
||||
5. Stat encrypted files on Amazon S3 cloud storage. In case the encryption key contains non-printable character like tab, pass the
|
||||
base64 encoded string as key.
|
||||
$ {{.HelpName}} --encrypt-key "s3/personal-document/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=" s3/personal-document/2019-account_report.docx
|
||||
{{.Prompt}} {{.HelpName}} --encrypt-key "s3/personal-document/=MzJieXRlc2xvbmdzZWNyZWFiY2RlZmcJZ2l2ZW5uMjE=" s3/personal-document/2019-account_report.docx
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -88,19 +88,19 @@ FLAGS:
|
||||
{{end}}
|
||||
EXAMPLES:
|
||||
1. List all buckets and directories on MinIO object storage server in tree format.
|
||||
$ {{.HelpName}} myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
|
||||
2. List all directories in "mybucket" on MinIO object storage server in tree format.
|
||||
$ {{.HelpName}} myminio/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} myminio/mybucket/
|
||||
|
||||
3. List all directories in "mybucket" on MinIO object storage server hosted on Microsoft Windows in tree format.
|
||||
$ {{.HelpName}} myminio\mybucket\
|
||||
{{.Prompt}} {{.HelpName}} myminio\mybucket\
|
||||
|
||||
4. List all directories and objects in "mybucket" on MinIO object storage server in tree format.
|
||||
$ {{.HelpName}} --files myminio/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --files myminio/mybucket/
|
||||
|
||||
5. List all directories upto depth level '2' in tree format.
|
||||
$ {{.HelpName}} --depth 2 myminio/mybucket/
|
||||
{{.Prompt}} {{.HelpName}} --depth 2 myminio/mybucket/
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -64,7 +64,7 @@ EXIT STATUS:
|
||||
|
||||
EXAMPLES:
|
||||
1. Check and update mc:
|
||||
$ {{.HelpName}}
|
||||
{{.Prompt}} {{.HelpName}}
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -53,7 +53,7 @@ FLAGS:
|
||||
{{end}}{{end}}
|
||||
EXAMPLES:
|
||||
1. Prints the MinIO Client version:
|
||||
$ {{.HelpName}}
|
||||
{{.Prompt}} {{.HelpName}}
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -70,19 +70,19 @@ FLAGS:
|
||||
{{end}}{{end}}
|
||||
EXAMPLES:
|
||||
1. Watch new S3 operations on a MinIO server
|
||||
$ {{.HelpName}} play/testbucket
|
||||
{{.Prompt}} {{.HelpName}} play/testbucket
|
||||
|
||||
2. Watch new events for a specific prefix "output/" on MinIO server.
|
||||
$ {{.HelpName}} --prefix "output/" play/testbucket
|
||||
{{.Prompt}} {{.HelpName}} --prefix "output/" play/testbucket
|
||||
|
||||
3. Watch new events for a specific suffix ".jpg" on MinIO server.
|
||||
$ {{.HelpName}} --suffix ".jpg" play/testbucket
|
||||
{{.Prompt}} {{.HelpName}} --suffix ".jpg" play/testbucket
|
||||
|
||||
4. Watch new events on a specific prefix and suffix on MinIO server.
|
||||
$ {{.HelpName}} --suffix ".jpg" --prefix "photos/" play/testbucket
|
||||
{{.Prompt}} {{.HelpName}} --suffix ".jpg" --prefix "photos/" play/testbucket
|
||||
|
||||
5. Watch for events on local directory.
|
||||
$ {{.HelpName}} /usr/share
|
||||
{{.Prompt}} {{.HelpName}} /usr/share
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ require (
|
||||
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
|
||||
github.com/mattn/go-colorable v0.1.1
|
||||
github.com/mattn/go-isatty v0.0.7
|
||||
github.com/minio/cli v1.21.0
|
||||
github.com/minio/minio v0.0.0-20190922180146-26985ac632b9
|
||||
github.com/minio/cli v1.22.0
|
||||
github.com/minio/minio v0.0.0-20190927193314-1c5b05c130fa
|
||||
github.com/minio/minio-go/v6 v6.0.37
|
||||
github.com/minio/sha256-simd v0.1.1
|
||||
github.com/mitchellh/go-homedir v1.1.0
|
||||
@@ -19,8 +19,7 @@ require (
|
||||
github.com/pkg/xattr v0.4.1
|
||||
github.com/posener/complete v1.2.2-0.20190702141536-6ffe496ea953
|
||||
github.com/rjeczalik/notify v0.9.2
|
||||
github.com/ugorji/go v1.1.5-pre // indirect
|
||||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297
|
||||
golang.org/x/net v0.0.0-20190923162816-aa69164e4478
|
||||
golang.org/x/text v0.3.2
|
||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
|
||||
gopkg.in/h2non/filetype.v1 v1.0.5
|
||||
|
||||
@@ -319,6 +319,7 @@ github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0
|
||||
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
|
||||
github.com/json-iterator/go v1.1.6 h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs=
|
||||
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
|
||||
github.com/json-iterator/go v1.1.7 h1:KfgG9LzI+pYjr4xvmz/5H4FXjokeP+rlHLhv3iH62Fo=
|
||||
github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
|
||||
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
|
||||
github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
|
||||
@@ -332,6 +333,8 @@ github.com/klauspost/compress v1.3.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0
|
||||
github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||
github.com/klauspost/compress v1.5.0 h1:iDac0ZKbmSA4PRrRuXXjZL8C7UoJan8oBYxXkMzEQrI=
|
||||
github.com/klauspost/compress v1.5.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||
github.com/klauspost/compress v1.8.3 h1:CkLseiEYMM/fRb0RIg9mXB+Iwgmle+U9KGFu+JCO4Ec=
|
||||
github.com/klauspost/compress v1.8.3/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||
github.com/klauspost/cpuid v0.0.0-20160106104451-349c67577817/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
|
||||
github.com/klauspost/cpuid v1.2.1 h1:vJi+O/nMdFt0vqm8NZBI6wzALWdA2X+egi0ogNyrC/w=
|
||||
@@ -388,7 +391,10 @@ github.com/minio/cli v1.20.0 h1:OVNIt8Rg5+mpYb8siWT2gBV5hvUyFbRvBikC+Ytvf5A=
|
||||
github.com/minio/cli v1.20.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY=
|
||||
github.com/minio/cli v1.21.0 h1:8gE8iZc0ONOhHy/T28tCsNew5f5VzWU558U9Myjfq50=
|
||||
github.com/minio/cli v1.21.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY=
|
||||
github.com/minio/cli v1.22.0 h1:VTQm7lmXm3quxO917X3p+el1l0Ca5X3S4PM2ruUYO68=
|
||||
github.com/minio/cli v1.22.0/go.mod h1:bYxnK0uS629N3Bq+AOZZ+6lwF77Sodk4+UL9vNuXhOY=
|
||||
github.com/minio/dsync v0.0.0-20190104003057-61c41ffdeea2/go.mod h1:eLQe3mXL0h02kNpPtBJiLr1fIEIJftgXRAjncjQbxJo=
|
||||
github.com/minio/dsync v1.0.0 h1:l6pQgUPBM41idlR0UOcpAP+EYim9MCwIAUh6sQQI1gk=
|
||||
github.com/minio/dsync v1.0.0/go.mod h1:eLQe3mXL0h02kNpPtBJiLr1fIEIJftgXRAjncjQbxJo=
|
||||
github.com/minio/dsync/v2 v2.0.0 h1:p353BZ9od4xgHSXHn5GQ9V3WcnsxqH6aaShy0jDSX54=
|
||||
github.com/minio/dsync/v2 v2.0.0/go.mod h1:kxZSSQoDZa5OAsfgM8JJ0iRQOkGsg0op9unAnQVMm7o=
|
||||
@@ -408,6 +414,7 @@ github.com/minio/mc v0.0.0-20190311071728-2e612b23d665/go.mod h1:7qLZXNjCD55DJ3i
|
||||
github.com/minio/mc v0.0.0-20190401030144-a1355e50e2e8/go.mod h1:rnJByweU1h98rGmAcWcKen1sCAlekF38kbSrq6OLmAg=
|
||||
github.com/minio/mc v0.0.0-20190529152718-f4bb0b8850cb/go.mod h1:GMIQKmYuGc7q10DsJJO8peBXCTRx5itwIHheVo+bKso=
|
||||
github.com/minio/mc v0.0.0-20190908212443-54ee3a280031/go.mod h1:Uk010Mk1sFA0nHpppVSFXGGThXbZrhHje4XWhELP37U=
|
||||
github.com/minio/mc v0.0.0-20190924013003-643835013047/go.mod h1:/noLXTZkHPtHE7gvyL1J6GPeKkIe20AlFqfTWqRkapY=
|
||||
github.com/minio/minio v0.0.0-20190206103305-fd4e15c11641/go.mod h1:lXcp05uxYaW99ebgI6ZKIGYU7tqZkM5xSsG0xRt4VIU=
|
||||
github.com/minio/minio v0.0.0-20190325204105-0250f7de678b/go.mod h1:6ODmvb06uOpNy0IM+3pJRTHaauOMpLJ51jLhipbcifI=
|
||||
github.com/minio/minio v0.0.0-20190510004154-ac3b59645e92/go.mod h1:yFbQSwuA61mB/SDurPvsaSydqDyJdfAlBYpMiEe1lz8=
|
||||
@@ -415,6 +422,8 @@ github.com/minio/minio v0.0.0-20190903181048-8a71b0ec5a72 h1:TMytDyYdKnVxNJhkISF
|
||||
github.com/minio/minio v0.0.0-20190903181048-8a71b0ec5a72/go.mod h1:H8OUaOxwJIALXHlfMpk2ESvk81dW+F7tSnrZi7rln/k=
|
||||
github.com/minio/minio v0.0.0-20190922180146-26985ac632b9 h1:Z4sug96OUT1Wy5rDjteh62FO1w3sbasXMcUikD866BQ=
|
||||
github.com/minio/minio v0.0.0-20190922180146-26985ac632b9/go.mod h1:cobvJ19bHH97PyJQ7skqOXx2jIK4S9EAeRKC7wP4uv0=
|
||||
github.com/minio/minio v0.0.0-20190927193314-1c5b05c130fa h1:qESwVzJYhhVSeK2UasiiaIDlF6Zpj3jYH6isOZFWhkA=
|
||||
github.com/minio/minio v0.0.0-20190927193314-1c5b05c130fa/go.mod h1:47wx8w7yKTFAPw/hbmYPL4prsPivh6QuUqjTykftGgg=
|
||||
github.com/minio/minio-go v0.0.0-20190227180923-59af836a7e6d h1:gptD0/Hnam7h4Iq9D/33fscRpHfzOOUqUbH2nPw9HcU=
|
||||
github.com/minio/minio-go v0.0.0-20190227180923-59af836a7e6d/go.mod h1:/haSOWG8hQNx2+JOfLJ9GKp61EAmgPwRVw/Sac0NzaM=
|
||||
github.com/minio/minio-go v0.0.0-20190313212832-5d20267d970d/go.mod h1:/haSOWG8hQNx2+JOfLJ9GKp61EAmgPwRVw/Sac0NzaM=
|
||||
@@ -665,6 +674,8 @@ golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f h1:R423Cnkcp5JABoeemiGEPl
|
||||
golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586 h1:7KByu05hhLed2MO29w7p1XfZvZ13m8mub3shuVftRs0=
|
||||
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
|
||||
golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392 h1:ACG4HJsFiNMf47Y4PeRoebLNy/2lXT9EtprMuTFWt1M=
|
||||
golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
|
||||
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
|
||||
@@ -694,6 +705,8 @@ golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6/go.mod h1:t9HGtf8HONx5eT2rtn
|
||||
golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
|
||||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM=
|
||||
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/net v0.0.0-20190923162816-aa69164e4478 h1:l5EDrHhldLYb3ZRHDUhXF7Om7MvYXnkV9/iQNo1lX6g=
|
||||
golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
|
||||
golang.org/x/oauth2 v0.0.0-20180603041954-1e0a3fa8ba9a/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||
@@ -735,6 +748,8 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20190429190828-d89cdac9e872/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456 h1:ng0gs1AKnRRuEMZoTLLlbOd+C17zUDepwGQBb/n+JVg=
|
||||
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190922100055-0a153f010e69 h1:rOhMmluY6kLMhdnrivzec6lLgaVbMHMn2ISQXJeJ5EM=
|
||||
golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
|
||||
@@ -766,6 +781,7 @@ google.golang.org/appengine v1.0.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9Ywl
|
||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
|
||||
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
|
||||
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
|
||||
google.golang.org/genproto v0.0.0-20180601223552-81158efcc9f2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
|
||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
|
||||
@@ -790,6 +806,7 @@ gopkg.in/Shopify/sarama.v1 v1.20.0 h1:DrCuMOhmuaUwb5o4aL9JJnW+whbEnuuL6AZ99ySMoQ
|
||||
gopkg.in/Shopify/sarama.v1 v1.20.0/go.mod h1:AxnvoaevB2nBjNK17cG61A3LleFcWFwVBHBt+cot4Oc=
|
||||
gopkg.in/VividCortex/ewma.v1 v1.1.1/go.mod h1:TekXuFipeiHWiAlO1+wSS23vTcyFau5u3rxXUSXj710=
|
||||
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
|
||||
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d h1:TxyelI5cVkbREznMhfzycHdkp5cLA7DpE+GKjSslYhM=
|
||||
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d/go.mod h1:cuepJuh7vyXfUyUwEgHQXw849cJrilpS5NeIjOWESAw=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
|
||||
@@ -809,6 +826,8 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
|
||||
gopkg.in/ini.v1 v1.41.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.42.0 h1:7N3gPTt50s8GuLortA00n8AqRTk75qOP98+mTPpgzRk=
|
||||
gopkg.in/ini.v1 v1.42.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/ini.v1 v1.48.0 h1:URjZc+8ugRY5mL5uUeQH/a63JcHwdX9xZaWvmNWD7z8=
|
||||
gopkg.in/ini.v1 v1.48.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
|
||||
gopkg.in/jcmturner/aescts.v1 v1.0.1 h1:cVVZBK2b1zY26haWB4vbBiZrfFQnfbTVrE3xZq6hrEw=
|
||||
gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod h1:nsR8qBOg+OucoIW+WMhB3GspUQXq9XorLnQb9XtvcOo=
|
||||
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 h1:cIuC1OLRGZrld+16ZJvvZxVJeKPsvd5eUIvxfoN5hSM=
|
||||
@@ -822,6 +841,7 @@ gopkg.in/jcmturner/rpc.v0 v0.0.2 h1:wBTgrbL1qmLBUPsYVCqdJiI5aJgQhexmK+JkTHPUNJI=
|
||||
gopkg.in/jcmturner/rpc.v0 v0.0.2/go.mod h1:NzMq6cRzR9lipgw7WxRBHNx5N8SifBuaCQsOT1kWY/E=
|
||||
gopkg.in/jcmturner/rpc.v1 v1.1.0 h1:QHIUxTX1ISuAv9dD2wJ9HWQVuWDX/Zc0PfeC2tjc4rU=
|
||||
gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8=
|
||||
gopkg.in/ldap.v3 v3.0.3 h1:YKRHW/2sIl05JsCtx/5ZuUueFuJyoj/6+DGXe3wp6ro=
|
||||
gopkg.in/ldap.v3 v3.0.3/go.mod h1:oxD7NyBuxchC+SgJDE1Q5Od05eGt29SDQVBmV+HYbzw=
|
||||
gopkg.in/mattn/go-colorable.v0 v0.1.0/go.mod h1:BVJlBXzARQxdi3nZo6f6bnl5yR20/tOL6p+V0KejgSY=
|
||||
gopkg.in/mattn/go-isatty.v0 v0.0.4/go.mod h1:wt691ab7g0X4ilKZNmMII3egK0bTxl37fEn/Fwbd8gc=
|
||||
|
||||
Reference in New Issue
Block a user