зеркало из https://github.com/github/vitess-gh.git
ab54272186
* Add FQDN fields to tablets/gates/vtctlds
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Add discovery-consul options for gate/vtctld FQDN tmpls
staticfile disco doesn't need this, because it can just read this from
the config. **Note**: the main downside is that the json key is "FQDN"
rather than "fqdn" which 🤷 ?
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Add FQDN impls to gates/vtctld for consul-disco
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Propagate FQDN field through the api
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Move per-cluster gate fetching to .... the cluster struct
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* nit: cleanup double imports
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Extract repeated template=>buffer execution to a textutil function
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Add fqdn template support to clusters and `parseTablet`
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* fix typo (ugh)
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Ensure `New` parses the final tablet fqdn tmpl off the config
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Fix typos, update comments
Signed-off-by: Andrew Mason <amason@slack-corp.com>
* Cleanup TODOs
Signed-off-by: Andrew Mason <amason@slack-corp.com>
|
||
---|---|---|
.. | ||
hash.go | ||
strings.go | ||
strings_test.go | ||
template.go |