opscache.go 424 B

1234567891011121314151617181920
  1. package model
  2. // OpsCacheMemcache ops cache mc
  3. type OpsCacheMemcache struct {
  4. Labels struct {
  5. Name string `json:"name"`
  6. Project string `json:"project"`
  7. }
  8. Targets []string `json:"targets"`
  9. }
  10. // OpsCacheRedis ops cache redis
  11. type OpsCacheRedis struct {
  12. Labels struct {
  13. Name string `json:"name"`
  14. Project string `json:"project"`
  15. }
  16. Type string `json:"type"`
  17. Targets []string `json:"master_targets"`
  18. }