更新 types/etcd.go
This commit is contained in:
parent
ec2bf11981
commit
3b5719bc91
|
@ -2,11 +2,11 @@ package types
|
||||||
|
|
||||||
type Etcd struct {
|
type Etcd struct {
|
||||||
Endpoints []string `json:"Endpoints"`
|
Endpoints []string `json:"Endpoints"`
|
||||||
Tls EtcdTls `json:"Tls"`
|
Tls EtcdTls `json:"Tls,optional"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type EtcdTls struct {
|
type EtcdTls struct {
|
||||||
Ca string `json:"Ca"`
|
Ca string `json:"Ca,optional"`
|
||||||
Cert string `json:"Cert"`
|
Cert string `json:"Cert,optional"`
|
||||||
CertKey string `json:"CertKey" `
|
CertKey string `json:"CertKey,optional" `
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue