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