更新 types/etcd.go
This commit is contained in:
parent
a8efe29c7f
commit
d645a49c97
|
@ -1,12 +1,12 @@
|
|||
package types
|
||||
|
||||
type Etcd struct {
|
||||
Endpoints []string `json:"endpoints"`
|
||||
Tls EtcdTls `json:",optional"`
|
||||
Endpoints []string `yaml:"Endpoints"`
|
||||
Tls EtcdTls `yaml:"Tls"`
|
||||
}
|
||||
|
||||
type EtcdTls struct {
|
||||
Ca string `json:"ca,optional"`
|
||||
Cert string `json:"cert,optional"`
|
||||
CertKey string `json:"cert_key,optional" `
|
||||
Ca string `yaml:"Ca"`
|
||||
Cert string `yaml:"Cert"`
|
||||
CertKey string `yaml:"CertKey" `
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue