mirror of https://github.com/docker/cli.git
bash completion for gelf-compression log driver settings
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
75bcb4f94a
commit
84b7025d28
|
@ -412,7 +412,7 @@ __docker_complete_log_options() {
|
||||||
local awslogs_options="awslogs-region awslogs-group awslogs-stream"
|
local awslogs_options="awslogs-region awslogs-group awslogs-stream"
|
||||||
local fluentd_options="env fluentd-address labels tag"
|
local fluentd_options="env fluentd-address labels tag"
|
||||||
local gcplogs_options="env gcp-log-cmd gcp-project labels"
|
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 journald_options="env labels tag"
|
||||||
local json_file_options="env labels max-file max-size"
|
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"
|
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
|
__docker_nospace
|
||||||
return
|
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)
|
syslog-address)
|
||||||
COMPREPLY=( $( compgen -W "tcp:// tcp+tls:// udp:// unix://" -- "${cur##*=}" ) )
|
COMPREPLY=( $( compgen -W "tcp:// tcp+tls:// udp:// unix://" -- "${cur##*=}" ) )
|
||||||
__docker_nospace
|
__docker_nospace
|
||||||
|
|
Loading…
Reference in New Issue