Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 1 | option name = "veg"; |
| 2 | option kind = "vEG"; |
| 3 | option verbose_name = "vEG Service"; |
Matteo Scandolo | eee840e | 2017-09-07 09:55:07 -0700 | [diff] [blame] | 4 | option app_label = "veg"; |
Sapan Bhatia | 51a804c | 2017-05-03 17:24:37 +0200 | [diff] [blame] | 5 | |
| 6 | message VEGService (Service){ |
| 7 | optional string url_filter_kind = 1 [choices = "((None, 'None'), ('safebrowsing', 'Safe Browsing'), ('answerx', 'AnswerX'))", max_length = 30, content_type = "stripped", |
| 8 | blank = True, null = True, db_index = False]; |
| 9 | required string dns_servers = 2 [default = "8.8.8.8", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 10 | optional string node_label = 3 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 11 | required string docker_image_name = 4 [default = "docker.io/xosproject/veg", max_length = 255, content_type = "stripped", blank = False, null = False, db_index = False]; |
| 12 | required bool docker_insecure_registry = 5 [default = False, null = False, db_index = False, blank = True]; |
| 13 | } |
| 14 | |
| 15 | |
| 16 | message VEGTenant (TenantWithContainer){ |
| 17 | } |