mirror of https://github.com/docker/cli.git
Update completions for syslog log driver options
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
77f90b24c9
commit
1f0b0b007c
|
@ -505,7 +505,7 @@ __docker_complete_log_options() {
|
||||||
local gelf_options="env gelf-address gelf-compression-level gelf-compression-type 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-format syslog-tls-ca-cert syslog-tls-cert syslog-tls-key syslog-tls-skip-verify syslog-facility tag"
|
local syslog_options="env labels syslog-address syslog-facility syslog-format syslog-tls-ca-cert syslog-tls-cert syslog-tls-key syslog-tls-skip-verify tag"
|
||||||
local splunk_options="env labels splunk-caname splunk-capath splunk-index splunk-insecureskipverify splunk-source splunk-sourcetype splunk-token splunk-url tag"
|
local splunk_options="env labels splunk-caname splunk-capath splunk-index splunk-insecureskipverify splunk-source splunk-sourcetype splunk-token splunk-url tag"
|
||||||
|
|
||||||
local all_options="$fluentd_options $gcplogs_options $gelf_options $journald_options $json_file_options $syslog_options $splunk_options"
|
local all_options="$fluentd_options $gcplogs_options $gelf_options $journald_options $json_file_options $syslog_options $splunk_options"
|
||||||
|
|
|
@ -227,7 +227,7 @@ __docker_get_log_options() {
|
||||||
gelf_options=("env" "gelf-address" "gelf-compression-level" "gelf-compression-type" "labels" "tag")
|
gelf_options=("env" "gelf-address" "gelf-compression-level" "gelf-compression-type" "labels" "tag")
|
||||||
journald_options=("env" "labels" "tag")
|
journald_options=("env" "labels" "tag")
|
||||||
json_file_options=("env" "labels" "max-file" "max-size")
|
json_file_options=("env" "labels" "max-file" "max-size")
|
||||||
syslog_options=("syslog-address" "syslog-format" "syslog-tls-ca-cert" "syslog-tls-cert" "syslog-tls-key" "syslog-tls-skip-verify" "syslog-facility" "tag")
|
syslog_options=("env" "labels" "syslog-address" "syslog-facility" "syslog-format" "syslog-tls-ca-cert" "syslog-tls-cert" "syslog-tls-key" "syslog-tls-skip-verify" "tag")
|
||||||
splunk_options=("env" "labels" "splunk-caname" "splunk-capath" "splunk-index" "splunk-insecureskipverify" "splunk-source" "splunk-sourcetype" "splunk-token" "splunk-url" "tag")
|
splunk_options=("env" "labels" "splunk-caname" "splunk-capath" "splunk-index" "splunk-insecureskipverify" "splunk-source" "splunk-sourcetype" "splunk-token" "splunk-url" "tag")
|
||||||
|
|
||||||
[[ $log_driver = (awslogs|all) ]] && _describe -t awslogs-options "awslogs options" awslogs_options "$@" && ret=0
|
[[ $log_driver = (awslogs|all) ]] && _describe -t awslogs-options "awslogs options" awslogs_options "$@" && ret=0
|
||||||
|
|
Loading…
Reference in New Issue