mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bash completion for gelf-compression log driver settings
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
5f8a0ceeda
commit
854ceaaa9e
1 changed files with 9 additions and 1 deletions
|
@ -412,7 +412,7 @@ __docker_complete_log_options() {
|
|||
local awslogs_options="awslogs-region awslogs-group awslogs-stream"
|
||||
local fluentd_options="env fluentd-address labels tag"
|
||||
local gcplogs_options="env gcp-log-cmd gcp-project labels"
|
||||
local gelf_options="env gelf-address labels tag"
|
||||
local gelf_options="env gelf-address gelf-compression-level gelf-compression-type labels tag"
|
||||
local journald_options="env labels tag"
|
||||
local json_file_options="env labels max-file max-size"
|
||||
local syslog_options="syslog-address syslog-tls-ca-cert syslog-tls-cert syslog-tls-key syslog-tls-skip-verify syslog-facility tag"
|
||||
|
@ -464,6 +464,14 @@ __docker_complete_log_driver_options() {
|
|||
__docker_nospace
|
||||
return
|
||||
;;
|
||||
gelf-compression-level)
|
||||
COMPREPLY=( $( compgen -W "1 2 3 4 5 6 7 8 9" -- "${cur##*=}" ) )
|
||||
return
|
||||
;;
|
||||
gelf-compression-type)
|
||||
COMPREPLY=( $( compgen -W "gzip none zlib" -- "${cur##*=}" ) )
|
||||
return
|
||||
;;
|
||||
syslog-address)
|
||||
COMPREPLY=( $( compgen -W "tcp:// tcp+tls:// udp:// unix://" -- "${cur##*=}" ) )
|
||||
__docker_nospace
|
||||
|
|
Loading…
Reference in a new issue