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