OLD | NEW |
1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
2 // source: github.com/luci/luci-go/milo/common/config/settings.proto | 2 // source: github.com/luci/luci-go/milo/common/config/settings.proto |
3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
4 | 4 |
5 package config | 5 package config |
6 | 6 |
7 import proto "github.com/golang/protobuf/proto" | 7 import proto "github.com/golang/protobuf/proto" |
8 import fmt "fmt" | 8 import fmt "fmt" |
9 import math "math" | 9 import math "math" |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 if m != nil { | 43 if m != nil { |
44 return m.Swarming | 44 return m.Swarming |
45 } | 45 } |
46 return nil | 46 return nil |
47 } | 47 } |
48 | 48 |
49 type Settings_Buildbot struct { | 49 type Settings_Buildbot struct { |
50 // internal_reader is the infra-auth group that is allowed to read inter
nal | 50 // internal_reader is the infra-auth group that is allowed to read inter
nal |
51 // buildbot data. | 51 // buildbot data. |
52 InternalReader string `protobuf:"bytes,1,opt,name=internal_reader,json=i
nternalReader" json:"internal_reader,omitempty"` | 52 InternalReader string `protobuf:"bytes,1,opt,name=internal_reader,json=i
nternalReader" json:"internal_reader,omitempty"` |
53 » // public_topic is the name of the pubsub topic where public builds come
in | 53 » // public_subscription is the name of the pubsub topic where public buil
ds come in |
54 // from | 54 // from |
55 » PublicTopic string `protobuf:"bytes,2,opt,name=public_topic,json=publicT
opic" json:"public_topic,omitempty"` | 55 » PublicSubscription string `protobuf:"bytes,2,opt,name=public_subscriptio
n,json=publicSubscription" json:"public_subscription,omitempty"` |
56 » // internal_topic is the name of the pubsub topic where internal builds | 56 » // internal_subscription is the name of the pubsub topic where internal
builds |
57 // come in from | 57 // come in from |
58 » InternalTopic string `protobuf:"bytes,3,opt,name=internal_topic,json=int
ernalTopic" json:"internal_topic,omitempty"` | 58 » InternalSubscription string `protobuf:"bytes,3,opt,name=internal_subscri
ption,json=internalSubscription" json:"internal_subscription,omitempty"` |
59 } | 59 } |
60 | 60 |
61 func (m *Settings_Buildbot) Reset() { *m = Settings_Buildbot{
} } | 61 func (m *Settings_Buildbot) Reset() { *m = Settings_Buildbot{
} } |
62 func (m *Settings_Buildbot) String() string { return proto.CompactTex
tString(m) } | 62 func (m *Settings_Buildbot) String() string { return proto.CompactTex
tString(m) } |
63 func (*Settings_Buildbot) ProtoMessage() {} | 63 func (*Settings_Buildbot) ProtoMessage() {} |
64 func (*Settings_Buildbot) Descriptor() ([]byte, []int) { return fileDescriptor1,
[]int{0, 0} } | 64 func (*Settings_Buildbot) Descriptor() ([]byte, []int) { return fileDescriptor1,
[]int{0, 0} } |
65 | 65 |
66 func (m *Settings_Buildbot) GetInternalReader() string { | 66 func (m *Settings_Buildbot) GetInternalReader() string { |
67 if m != nil { | 67 if m != nil { |
68 return m.InternalReader | 68 return m.InternalReader |
69 } | 69 } |
70 return "" | 70 return "" |
71 } | 71 } |
72 | 72 |
73 func (m *Settings_Buildbot) GetPublicTopic() string { | 73 func (m *Settings_Buildbot) GetPublicSubscription() string { |
74 if m != nil { | 74 if m != nil { |
75 » » return m.PublicTopic | 75 » » return m.PublicSubscription |
76 } | 76 } |
77 return "" | 77 return "" |
78 } | 78 } |
79 | 79 |
80 func (m *Settings_Buildbot) GetInternalTopic() string { | 80 func (m *Settings_Buildbot) GetInternalSubscription() string { |
81 if m != nil { | 81 if m != nil { |
82 » » return m.InternalTopic | 82 » » return m.InternalSubscription |
83 } | 83 } |
84 return "" | 84 return "" |
85 } | 85 } |
86 | 86 |
87 type Settings_Buildbucket struct { | 87 type Settings_Buildbucket struct { |
88 // name is the user friendly name of the Buildbucket instance we're poin
ting to. | 88 // name is the user friendly name of the Buildbucket instance we're poin
ting to. |
89 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` | 89 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
90 // host is the hostname of the buildbucket instance we're pointing to (s
ans schema). | 90 // host is the hostname of the buildbucket instance we're pointing to (s
ans schema). |
91 Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` | 91 Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"` |
92 } | 92 } |
(...skipping 14 matching lines...) Expand all Loading... |
107 if m != nil { | 107 if m != nil { |
108 return m.Host | 108 return m.Host |
109 } | 109 } |
110 return "" | 110 return "" |
111 } | 111 } |
112 | 112 |
113 type Settings_Swarming struct { | 113 type Settings_Swarming struct { |
114 // default_host is the hostname of the swarming host Milo defaults to, i
f | 114 // default_host is the hostname of the swarming host Milo defaults to, i
f |
115 // none is specified. Default host is implicitly an allowed host. | 115 // none is specified. Default host is implicitly an allowed host. |
116 DefaultHost string `protobuf:"bytes,1,opt,name=default_host,json=default
Host" json:"default_host,omitempty"` | 116 DefaultHost string `protobuf:"bytes,1,opt,name=default_host,json=default
Host" json:"default_host,omitempty"` |
117 » // allowed_hosts is a list of whitelist hostnames of swarming instances | 117 » // allowed_hosts is a whitelist of hostnames of swarming instances |
118 // that Milo is allowed to talk to. This is specified here for security | 118 // that Milo is allowed to talk to. This is specified here for security |
119 // reasons, because Milo will hand out its oauth2 token to a swarming ho
st. | 119 // reasons, because Milo will hand out its oauth2 token to a swarming ho
st. |
120 AllowedHosts []string `protobuf:"bytes,2,rep,name=allowed_hosts,json=all
owedHosts" json:"allowed_hosts,omitempty"` | 120 AllowedHosts []string `protobuf:"bytes,2,rep,name=allowed_hosts,json=all
owedHosts" json:"allowed_hosts,omitempty"` |
121 } | 121 } |
122 | 122 |
123 func (m *Settings_Swarming) Reset() { *m = Settings_Swarming{
} } | 123 func (m *Settings_Swarming) Reset() { *m = Settings_Swarming{
} } |
124 func (m *Settings_Swarming) String() string { return proto.CompactTex
tString(m) } | 124 func (m *Settings_Swarming) String() string { return proto.CompactTex
tString(m) } |
125 func (*Settings_Swarming) ProtoMessage() {} | 125 func (*Settings_Swarming) ProtoMessage() {} |
126 func (*Settings_Swarming) Descriptor() ([]byte, []int) { return fileDescriptor1,
[]int{0, 2} } | 126 func (*Settings_Swarming) Descriptor() ([]byte, []int) { return fileDescriptor1,
[]int{0, 2} } |
127 | 127 |
(...skipping 16 matching lines...) Expand all Loading... |
144 proto.RegisterType((*Settings_Buildbot)(nil), "config.Settings.Buildbot"
) | 144 proto.RegisterType((*Settings_Buildbot)(nil), "config.Settings.Buildbot"
) |
145 proto.RegisterType((*Settings_Buildbucket)(nil), "config.Settings.Buildb
ucket") | 145 proto.RegisterType((*Settings_Buildbucket)(nil), "config.Settings.Buildb
ucket") |
146 proto.RegisterType((*Settings_Swarming)(nil), "config.Settings.Swarming"
) | 146 proto.RegisterType((*Settings_Swarming)(nil), "config.Settings.Swarming"
) |
147 } | 147 } |
148 | 148 |
149 func init() { | 149 func init() { |
150 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/settings.
proto", fileDescriptor1) | 150 proto.RegisterFile("github.com/luci/luci-go/milo/common/config/settings.
proto", fileDescriptor1) |
151 } | 151 } |
152 | 152 |
153 var fileDescriptor1 = []byte{ | 153 var fileDescriptor1 = []byte{ |
154 » // 307 bytes of a gzipped FileDescriptorProto | 154 » // 319 bytes of a gzipped FileDescriptorProto |
155 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91,
0xb1, 0x4e, 0xc3, 0x30, | 155 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91,
0xbf, 0x4e, 0xc3, 0x30, |
156 » 0x10, 0x86, 0xd5, 0x06, 0x55, 0xe9, 0xa5, 0x05, 0xc9, 0x53, 0xa8, 0x18,
0x0a, 0x08, 0xd1, 0x85, | 156 » 0x10, 0x87, 0xd5, 0x06, 0x55, 0xe9, 0xa5, 0x80, 0x64, 0x40, 0x0a, 0x15,
0x43, 0x81, 0x81, 0x2e, |
157 » 0x44, 0x02, 0x75, 0x60, 0x61, 0x60, 0x62, 0x76, 0xd9, 0xab, 0xc4, 0x71,
0x53, 0x0b, 0xc7, 0x57, | 157 » 0x24, 0x12, 0x55, 0x07, 0x16, 0x06, 0x26, 0x66, 0xf7, 0x01, 0xaa, 0xc4,
0x71, 0x53, 0x0b, 0xc7, |
158 » 0xc5, 0xb6, 0x3a, 0xf1, 0x72, 0x3c, 0x19, 0xca, 0xc5, 0xa9, 0xba, 0x74,
0x89, 0x4e, 0x5f, 0xbe, | 158 » 0x57, 0xf9, 0x8f, 0xfa, 0x2c, 0x3c, 0x1d, 0xaf, 0x82, 0xea, 0x38, 0x51,
0x18, 0xba, 0x44, 0xa7, |
159 » 0x5f, 0xff, 0x9d, 0x0c, 0xef, 0xb5, 0x72, 0x7b, 0x5f, 0x66, 0x02, 0x9b,
0x5c, 0x7b, 0xa1, 0xe8, | 159 » 0xdf, 0x7d, 0x5f, 0xee, 0x4e, 0x86, 0xf7, 0x5a, 0xd8, 0xbd, 0x2b, 0x33,
0x86, 0x4d, 0x2e, 0x1d, |
160 » 0xf3, 0x52, 0x63, 0xde, 0x28, 0x8d, 0xb9, 0xc0, 0xa6, 0x41, 0x93, 0x0b,
0x34, 0x3b, 0x55, 0xe7, | 160 » 0x13, 0xfe, 0xf3, 0x5a, 0x63, 0xde, 0x08, 0x89, 0x39, 0xc3, 0xa6, 0x41,
0x95, 0x33, 0x54, 0x3b, |
161 » 0x56, 0x3a, 0xa7, 0x4c, 0x6d, 0xb3, 0x43, 0x8b, 0x0e, 0xd9, 0xa4, 0xc7,
0x0f, 0x7f, 0x11, 0xc4, | 161 » 0x51, 0xe7, 0x86, 0x5b, 0x2b, 0x54, 0x6d, 0xb2, 0x83, 0x46, 0x8b, 0x64,
0xd2, 0xc6, 0x4f, 0xbf, |
162 » 0x9b, 0xf0, 0x8b, 0xad, 0x21, 0x2e, 0xbd, 0xd2, 0x55, 0x89, 0x2e, 0x1d,
0x2d, 0x47, 0xab, 0xe4, | 162 » 0x11, 0xc4, 0x9b, 0xd0, 0x22, 0x6b, 0x88, 0x4b, 0x27, 0x64, 0x55, 0xa2,
0x4d, 0x47, 0x8b, 0xd1, |
163 » 0xf5, 0x36, 0xeb, 0xbd, 0x6c, 0x70, 0xb2, 0xcf, 0x20, 0xf0, 0x93, 0xca,
0x3e, 0x20, 0xe9, 0x67, | 163 » 0x32, 0x79, 0xbb, 0xcf, 0x5a, 0x2e, 0xeb, 0x98, 0xec, 0x33, 0x00, 0xb4,
0x47, 0xc9, 0x07, 0x24, |
164 » 0x2f, 0x7e, 0xa4, 0x4b, 0xc7, 0x94, 0xbc, 0xbb, 0x90, 0x24, 0x87, 0x9f,
0x07, 0xba, 0x5a, 0x7b, | 164 » 0x6d, 0xed, 0xd8, 0x37, 0xb7, 0xe9, 0xd8, 0x9b, 0x0f, 0x67, 0x4c, 0xcf,
0xd0, 0xa1, 0x70, 0x1a, |
165 » 0x2c, 0xda, 0x46, 0x99, 0x3a, 0x8d, 0x2e, 0xd4, 0x6e, 0x82, 0xc0, 0x4f,
0xea, 0xe2, 0x17, 0xe2, | 165 » 0x6b, 0x8e, 0x85, 0x6e, 0x84, 0xaa, 0xd3, 0xe8, 0xcc, 0xd8, 0x4d, 0x00,
0x68, 0x8f, 0xce, 0x7f, |
166 » 0x61, 0x19, 0xf6, 0x0c, 0x37, 0xca, 0x38, 0xd9, 0x9a, 0x42, 0x6f, 0x5b,
0x59, 0x54, 0xb2, 0xa5, | 166 » 0x46, 0x10, 0x77, 0xdb, 0x90, 0x17, 0xb8, 0x16, 0xca, 0x72, 0xad, 0x0a,
0xb9, 0xd5, 0xbc, 0xa8, |
167 » 0x03, 0xa6, 0xfc, 0x7a, 0xc0, 0x9c, 0x28, 0xbb, 0x87, 0xd9, 0xc1, 0x97,
0x5a, 0x89, 0xad, 0xc3, | 167 » 0xb8, 0xf6, 0x17, 0x4c, 0xe9, 0x55, 0x17, 0x53, 0x9f, 0x92, 0x1c, 0x6e,
0x0e, 0xae, 0x94, 0x82, |
168 » 0x83, 0x12, 0xb4, 0xec, 0x94, 0x27, 0x3d, 0xfb, 0xee, 0x10, 0x7b, 0x82,
0x53, 0x28, 0x48, 0x11, | 168 » 0x6d, 0x8d, 0x2b, 0x0d, 0xd3, 0xe2, 0x60, 0x05, 0x2a, 0xbf, 0xf4, 0x94,
0x92, 0xb6, 0xb5, 0x19, |
169 » 0x49, 0xf3, 0x81, 0x92, 0xb6, 0x58, 0x43, 0x72, 0x76, 0x11, 0x63, 0x70,
0x65, 0x8a, 0x46, 0x86, | 169 » 0x74, 0xc8, 0x0a, 0xee, 0xfa, 0x3f, 0xff, 0x53, 0x22, 0xaf, 0xdc, 0x76,
0xcd, 0xa1, 0x34, 0x5f, |
170 » 0x5a, 0x9a, 0x3b, 0xb6, 0x47, 0xeb, 0x42, 0x09, 0xcd, 0x0b, 0x0e, 0xf1,
0x70, 0x4b, 0xb7, 0x4c, | 170 » 0x43, 0x32, 0x38, 0x97, 0x10, 0xb8, 0x50, 0x45, 0xc3, 0xc3, 0x4a, 0xbe,
0x3e, 0x65, 0x7b, 0x34, |
171 » 0x25, 0x77, 0x85, 0xd7, 0x6e, 0x4b, 0x5e, 0x9f, 0x4d, 0x02, 0xfb, 0x42,
0xeb, 0xd8, 0x23, 0xcc, | 171 » 0x36, 0x4c, 0xf6, 0xf5, 0x9c, 0x42, 0xdc, 0x1d, 0x4a, 0x1e, 0x61, 0x56,
0xf1, 0x5d, 0xe1, 0xa4, |
172 » 0x0b, 0xad, 0xf1, 0x28, 0x2b, 0x52, 0x6c, 0x3a, 0x5e, 0x46, 0xab, 0x29,
0x9f, 0x05, 0xd8, 0x39, | 172 » 0xdd, 0x7a, 0xae, 0x75, 0x93, 0x90, 0x7d, 0xa1, 0xb1, 0xe4, 0x19, 0x2e,
0x0b, 0x29, 0xf1, 0xc8, |
173 » 0xb6, 0x9c, 0xd0, 0x9b, 0xbe, 0xfd, 0x07, 0x00, 0x00, 0xff, 0xff, 0x64,
0x80, 0xe8, 0x07, 0x10, | 173 » 0x2b, 0x8f, 0x98, 0x74, 0xbc, 0x88, 0x96, 0x53, 0x3a, 0x0b, 0xe1, 0x89,
0x31, 0xe5, 0xc4, 0x3f, |
174 » 0x02, 0x00, 0x00, | 174 » 0xf8, 0xea, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xb5, 0x17, 0x4f, 0x2d,
0x02, 0x00, 0x00, |
175 } | 175 } |
OLD | NEW |