| OLD | NEW |
| 1 // Code generated by protoc-gen-go. DO NOT EDIT. | 1 // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 // source: github.com/luci/luci-go/milo/api/config/settings.proto | 2 // source: github.com/luci/luci-go/milo/api/config/settings.proto |
| 3 | 3 |
| 4 package config | 4 package config |
| 5 | 5 |
| 6 import proto "github.com/golang/protobuf/proto" | 6 import proto "github.com/golang/protobuf/proto" |
| 7 import fmt "fmt" | 7 import fmt "fmt" |
| 8 import math "math" | 8 import math "math" |
| 9 | 9 |
| 10 // Reference imports to suppress errors if they are not otherwise used. | 10 // Reference imports to suppress errors if they are not otherwise used. |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 return m.InternalSubscription | 81 return m.InternalSubscription |
| 82 } | 82 } |
| 83 return "" | 83 return "" |
| 84 } | 84 } |
| 85 | 85 |
| 86 type Settings_Buildbucket struct { | 86 type Settings_Buildbucket struct { |
| 87 // name is the user friendly name of the Buildbucket instance we're poin
ting to. | 87 // name is the user friendly name of the Buildbucket instance we're poin
ting to. |
| 88 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` | 88 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 89 // host is the hostname of the buildbucket instance we're pointing to (s
ans schema). | 89 // host is the hostname of the buildbucket instance we're pointing to (s
ans schema). |
| 90 Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` | 90 Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` |
| 91 // project is the name of the Google Cloud project that the pubsub topic |
| 92 // belongs to. |
| 93 Project string `protobuf:"bytes,3,opt,name=project" json:"project,omitem
pty"` |
| 91 } | 94 } |
| 92 | 95 |
| 93 func (m *Settings_Buildbucket) Reset() { *m = Settings_Buildb
ucket{} } | 96 func (m *Settings_Buildbucket) Reset() { *m = Settings_Buildb
ucket{} } |
| 94 func (m *Settings_Buildbucket) String() string { return proto.Compact
TextString(m) } | 97 func (m *Settings_Buildbucket) String() string { return proto.Compact
TextString(m) } |
| 95 func (*Settings_Buildbucket) ProtoMessage() {} | 98 func (*Settings_Buildbucket) ProtoMessage() {} |
| 96 func (*Settings_Buildbucket) Descriptor() ([]byte, []int) { return fileDescripto
r1, []int{0, 1} } | 99 func (*Settings_Buildbucket) Descriptor() ([]byte, []int) { return fileDescripto
r1, []int{0, 1} } |
| 97 | 100 |
| 98 func (m *Settings_Buildbucket) GetName() string { | 101 func (m *Settings_Buildbucket) GetName() string { |
| 99 if m != nil { | 102 if m != nil { |
| 100 return m.Name | 103 return m.Name |
| 101 } | 104 } |
| 102 return "" | 105 return "" |
| 103 } | 106 } |
| 104 | 107 |
| 105 func (m *Settings_Buildbucket) GetHost() string { | 108 func (m *Settings_Buildbucket) GetHost() string { |
| 106 if m != nil { | 109 if m != nil { |
| 107 return m.Host | 110 return m.Host |
| 108 } | 111 } |
| 109 return "" | 112 return "" |
| 110 } | 113 } |
| 111 | 114 |
| 115 func (m *Settings_Buildbucket) GetProject() string { |
| 116 if m != nil { |
| 117 return m.Project |
| 118 } |
| 119 return "" |
| 120 } |
| 121 |
| 112 type Settings_Swarming struct { | 122 type Settings_Swarming struct { |
| 113 // default_host is the hostname of the swarming host Milo defaults to, i
f | 123 // default_host is the hostname of the swarming host Milo defaults to, i
f |
| 114 // none is specified. Default host is implicitly an allowed host. | 124 // none is specified. Default host is implicitly an allowed host. |
| 115 DefaultHost string `protobuf:"bytes,1,opt,name=default_host,json=default
Host" json:"default_host,omitempty"` | 125 DefaultHost string `protobuf:"bytes,1,opt,name=default_host,json=default
Host" json:"default_host,omitempty"` |
| 116 // allowed_hosts is a whitelist of hostnames of swarming instances | 126 // allowed_hosts is a whitelist of hostnames of swarming instances |
| 117 // that Milo is allowed to talk to. This is specified here for security | 127 // that Milo is allowed to talk to. This is specified here for security |
| 118 // reasons, because Milo will hand out its oauth2 token to a swarming ho
st. | 128 // reasons, because Milo will hand out its oauth2 token to a swarming ho
st. |
| 119 AllowedHosts []string `protobuf:"bytes,2,rep,name=allowed_hosts,json=all
owedHosts" json:"allowed_hosts,omitempty"` | 129 AllowedHosts []string `protobuf:"bytes,2,rep,name=allowed_hosts,json=all
owedHosts" json:"allowed_hosts,omitempty"` |
| 120 } | 130 } |
| 121 | 131 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 143 proto.RegisterType((*Settings_Buildbot)(nil), "config.Settings.Buildbot"
) | 153 proto.RegisterType((*Settings_Buildbot)(nil), "config.Settings.Buildbot"
) |
| 144 proto.RegisterType((*Settings_Buildbucket)(nil), "config.Settings.Buildb
ucket") | 154 proto.RegisterType((*Settings_Buildbucket)(nil), "config.Settings.Buildb
ucket") |
| 145 proto.RegisterType((*Settings_Swarming)(nil), "config.Settings.Swarming"
) | 155 proto.RegisterType((*Settings_Swarming)(nil), "config.Settings.Swarming"
) |
| 146 } | 156 } |
| 147 | 157 |
| 148 func init() { | 158 func init() { |
| 149 proto.RegisterFile("github.com/luci/luci-go/milo/api/config/settings.pro
to", fileDescriptor1) | 159 proto.RegisterFile("github.com/luci/luci-go/milo/api/config/settings.pro
to", fileDescriptor1) |
| 150 } | 160 } |
| 151 | 161 |
| 152 var fileDescriptor1 = []byte{ | 162 var fileDescriptor1 = []byte{ |
| 153 » // 317 bytes of a gzipped FileDescriptorProto | 163 » // 330 bytes of a gzipped FileDescriptorProto |
| 154 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91,
0xcf, 0x4a, 0xc3, 0x40, | 164 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92,
0xbf, 0x4e, 0xc3, 0x30, |
| 155 » 0x10, 0x87, 0x69, 0x23, 0x25, 0x9d, 0x54, 0x85, 0x55, 0x21, 0x16, 0x0f,
0x55, 0x0f, 0xf6, 0x62, | 165 » 0x10, 0xc6, 0xd5, 0x06, 0x95, 0xf4, 0x52, 0x40, 0x32, 0x20, 0x85, 0x8a,
0xa1, 0xc0, 0x40, 0x17, |
| 156 » 0x02, 0x96, 0x7a, 0xf4, 0xe0, 0xc9, 0xf3, 0xf6, 0x01, 0xca, 0x26, 0xd9,
0xa6, 0x8b, 0x9b, 0xdd, | 166 » 0x12, 0x89, 0x0a, 0x46, 0x06, 0x26, 0x36, 0x24, 0xf7, 0x01, 0x2a, 0xc7,
0x71, 0x53, 0x83, 0x63, |
| 157 » 0xb0, 0x7f, 0xe8, 0xb3, 0xf8, 0x74, 0xbe, 0x8a, 0x74, 0xb2, 0x29, 0xf1,
0xd0, 0x4b, 0x18, 0x7e, | 167 » 0x47, 0xfe, 0xa3, 0x3e, 0x0b, 0x8f, 0xca, 0x86, 0xe2, 0x38, 0x55, 0x18,
0xba, 0x44, 0x97, 0xef, |
| 158 » 0xf3, 0x7d, 0x99, 0x19, 0x16, 0xde, 0x6b, 0xe1, 0xf6, 0xbe, 0xc8, 0x4a,
0xdd, 0xe4, 0xd2, 0x97, | 168 » 0x7e, 0xdf, 0x77, 0x77, 0x51, 0xe0, 0xb5, 0xe2, 0x76, 0xe7, 0x8a, 0x8c,
0xaa, 0x3a, 0x17, 0x8e, |
| 159 » 0x02, 0x3f, 0xaf, 0xb5, 0xce, 0x1b, 0x21, 0x75, 0xce, 0x5a, 0x91, 0x97,
0x5a, 0xed, 0x44, 0x9d, | 169 » 0x72, 0xff, 0x78, 0xaa, 0x54, 0x5e, 0x73, 0xa1, 0x72, 0xd2, 0xf0, 0x9c,
0x2a, 0xb9, 0xe5, 0x55, |
| 160 » 0x5b, 0xee, 0x9c, 0x50, 0xb5, 0xcd, 0x5a, 0xa3, 0x9d, 0x26, 0x93, 0x2e,
0x7e, 0xfa, 0x8d, 0x20, | 170 » 0x6e, 0x98, 0xb5, 0x5c, 0x56, 0x26, 0x6b, 0xb4, 0xb2, 0x0a, 0x4d, 0x3a,
0xf9, 0xfe, 0x37, 0x82, |
| 161 » 0xde, 0x84, 0x16, 0x59, 0x43, 0x5c, 0x78, 0x21, 0xab, 0x42, 0xbb, 0x74,
0xb4, 0x18, 0x2d, 0x93, | 171 » 0x78, 0x1d, 0x5a, 0xe8, 0x05, 0xe2, 0xc2, 0x71, 0x51, 0x16, 0xca, 0xa6,
0xa3, 0xc5, 0x68, 0x99, |
| 162 » 0xb7, 0xfb, 0xac, 0xe3, 0xb2, 0x9e, 0xc9, 0x3e, 0x03, 0x40, 0x4f, 0x28,
0xf9, 0x80, 0xa4, 0xab, | 172 » 0x3c, 0xdf, 0x64, 0x1d, 0x97, 0xf5, 0x4c, 0xf6, 0x1e, 0x00, 0x7c, 0x40,
0xd1, 0x1b, 0x24, 0x5d, |
| 163 » 0x7d, 0xf9, 0xcd, 0x5d, 0x3a, 0x46, 0xf3, 0xe1, 0x8c, 0x89, 0x0c, 0x1d,
0x0a, 0xc7, 0xb1, 0xf6, | 173 » 0xed, 0xe8, 0x37, 0xb3, 0xe9, 0xd8, 0x3b, 0x6f, 0x8f, 0x38, 0x3d, 0x83,
0x87, 0x86, 0x76, 0xac, |
| 164 » 0xc0, 0x4c, 0x23, 0x54, 0x9d, 0x46, 0x67, 0xc6, 0x6e, 0x02, 0x40, 0x4f,
0xe8, 0xfc, 0x67, 0x04, | 174 » 0xd9, 0x13, 0x5d, 0x73, 0x59, 0xa5, 0xd1, 0x91, 0xb1, 0xeb, 0x00, 0xe0,
0x03, 0x3a, 0xff, 0x19, |
| 165 » 0x71, 0xbf, 0x0d, 0x79, 0x81, 0x6b, 0xa1, 0x1c, 0x37, 0x8a, 0xc9, 0xad,
0xe1, 0xac, 0xe2, 0x06, | 175 » 0x41, 0xdc, 0x6f, 0x83, 0x1e, 0xe1, 0x82, 0x4b, 0xcb, 0xb4, 0x24, 0x62,
0xa3, 0x19, 0x29, 0x99, |
| 166 » 0x2f, 0x98, 0xd2, 0xab, 0x3e, 0xa6, 0x98, 0x92, 0x1c, 0x6e, 0x5a, 0x5f,
0x48, 0x51, 0x6e, 0xad, | 176 » 0xf6, 0x17, 0x4c, 0xf1, 0x79, 0x2f, 0x63, 0xaf, 0xa2, 0x1c, 0x2e, 0x1b,
0x57, 0x08, 0x4e, 0x37, |
| 167 » 0x2f, 0x6c, 0x69, 0x44, 0xeb, 0x84, 0x56, 0xb8, 0xf4, 0x94, 0x92, 0xae,
0xb5, 0x19, 0x74, 0xc8, | 177 » 0xc6, 0x15, 0x86, 0x6a, 0xde, 0x58, 0xae, 0xa4, 0x5f, 0x7a, 0x8a, 0x51,
0xd7, 0x5a, 0x0f, 0x3a, |
| 168 » 0x0a, 0xee, 0x4e, 0x7f, 0xfe, 0xa7, 0x44, 0xa8, 0xdc, 0xf6, 0xcd, 0xa1,
0x34, 0x5f, 0x43, 0x32, | 178 » 0x68, 0x05, 0xd7, 0x87, 0xe4, 0x7f, 0x96, 0xc8, 0x5b, 0xae, 0xfa, 0xe6,
0xd0, 0x34, 0xff, 0x84, |
| 169 » 0x38, 0x97, 0x10, 0xb8, 0x50, 0xac, 0xe1, 0x61, 0x25, 0xac, 0x8f, 0xd9,
0x5e, 0x5b, 0x17, 0x26, | 179 » 0x64, 0x70, 0x2e, 0x42, 0x70, 0x22, 0x49, 0xcd, 0xc2, 0x4a, 0xbe, 0x6e,
0xb5, 0x9d, 0x32, 0x36, |
| 170 » 0x63, 0x3d, 0xa7, 0x10, 0xf7, 0x87, 0x92, 0x47, 0x98, 0x55, 0x7c, 0xc7,
0xbc, 0x74, 0x5b, 0xe4, | 180 » 0x4c, 0xf6, 0x35, 0x4a, 0xe1, 0xb4, 0xd1, 0xea, 0x8b, 0x51, 0x1b, 0xd2,
0xfb, 0xd7, 0x39, 0x86, |
| 171 » 0x3a, 0x37, 0x09, 0xd9, 0x97, 0xb6, 0x8e, 0x3c, 0xc3, 0x25, 0x93, 0x52,
0x1f, 0x78, 0x85, 0x88, | 181 » 0xb8, 0xff, 0x04, 0xe8, 0x0e, 0x66, 0x25, 0xdb, 0x12, 0x27, 0xec, 0xc6,
0x27, 0x74, 0xa9, 0x49, |
| 172 » 0x4d, 0xc7, 0x8b, 0x68, 0x39, 0xa5, 0xb3, 0x10, 0x1e, 0x19, 0x5b, 0x4c,
0xf0, 0xc1, 0x57, 0x7f, | 182 » 0xd0, 0x3e, 0xda, 0xa0, 0x07, 0x38, 0x23, 0x42, 0xa8, 0x3d, 0x2b, 0x3d,
0x62, 0xd2, 0xf1, 0x22, |
| 173 » 0x01, 0x00, 0x00, 0xff, 0xff, 0x3c, 0xf4, 0x90, 0x21, 0x2a, 0x02, 0x00,
0x00, | 183 » 0x5a, 0x4e, 0xf1, 0x2c, 0x88, 0x2d, 0x63, 0x8a, 0x89, 0xff, 0x15, 0x56,
0x7f, 0x01, 0x00, 0x00, |
| 184 » 0xff, 0xff, 0xc3, 0x51, 0xe7, 0x5a, 0x44, 0x02, 0x00, 0x00, |
| 174 } | 185 } |
| OLD | NEW |