Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: dm/api/distributor/swarming/v1/config.pb.go

Issue 2267143002: Add additional validation to swarming v1 distributor. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@dump_all_stacks
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Code generated by protoc-gen-go. 1 // Code generated by protoc-gen-go.
2 // source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto 2 // source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto
3 // DO NOT EDIT! 3 // DO NOT EDIT!
4 4
5 /* 5 /*
6 Package swarmingV1 is a generated protocol buffer package. 6 Package swarmingV1 is a generated protocol buffer package.
7 7
8 It is generated from these files: 8 It is generated from these files:
9 github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto 9 github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto
10 github.com/luci/luci-go/dm/api/distributor/swarming/v1/isolate_ref.proto 10 github.com/luci/luci-go/dm/api/distributor/swarming/v1/isolate_ref.proto
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 func (m *Config) GetIsolate() *Config_Isolate { 55 func (m *Config) GetIsolate() *Config_Isolate {
56 if m != nil { 56 if m != nil {
57 return m.Isolate 57 return m.Isolate
58 } 58 }
59 return nil 59 return nil
60 } 60 }
61 61
62 type Config_Swarming struct { 62 type Config_Swarming struct {
63 » Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` 63 » Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
64 } 64 }
65 65
66 func (m *Config_Swarming) Reset() { *m = Config_Swarming{} } 66 func (m *Config_Swarming) Reset() { *m = Config_Swarming{} }
67 func (m *Config_Swarming) String() string { return proto.CompactTextS tring(m) } 67 func (m *Config_Swarming) String() string { return proto.CompactTextS tring(m) }
68 func (*Config_Swarming) ProtoMessage() {} 68 func (*Config_Swarming) ProtoMessage() {}
69 func (*Config_Swarming) Descriptor() ([]byte, []int) { return fileDescriptor0, [ ]int{0, 0} } 69 func (*Config_Swarming) Descriptor() ([]byte, []int) { return fileDescriptor0, [ ]int{0, 0} }
70 70
71 type Config_Isolate struct { 71 type Config_Isolate struct {
72 // The host of the isolate service, e.g. isolateserver.appspot.com. 72 // The host of the isolate service, e.g. isolateserver.appspot.com.
73 » Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"` 73 » Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
74 // The default assumed expiration period for execution results. 74 // The default assumed expiration period for execution results.
75 Expiration *google_protobuf.Duration `protobuf:"bytes,2,opt,name=expirat ion" json:"expiration,omitempty"` 75 Expiration *google_protobuf.Duration `protobuf:"bytes,2,opt,name=expirat ion" json:"expiration,omitempty"`
76 } 76 }
77 77
78 func (m *Config_Isolate) Reset() { *m = Config_Isolate{} } 78 func (m *Config_Isolate) Reset() { *m = Config_Isolate{} }
79 func (m *Config_Isolate) String() string { return proto.CompactTextSt ring(m) } 79 func (m *Config_Isolate) String() string { return proto.CompactTextSt ring(m) }
80 func (*Config_Isolate) ProtoMessage() {} 80 func (*Config_Isolate) ProtoMessage() {}
81 func (*Config_Isolate) Descriptor() ([]byte, []int) { return fileDescriptor0, [] int{0, 1} } 81 func (*Config_Isolate) Descriptor() ([]byte, []int) { return fileDescriptor0, [] int{0, 1} }
82 82
83 func (m *Config_Isolate) GetExpiration() *google_protobuf.Duration { 83 func (m *Config_Isolate) GetExpiration() *google_protobuf.Duration {
84 if m != nil { 84 if m != nil {
85 return m.Expiration 85 return m.Expiration
86 } 86 }
87 return nil 87 return nil
88 } 88 }
89 89
90 func init() { 90 func init() {
91 proto.RegisterType((*Config)(nil), "swarmingV1.Config") 91 proto.RegisterType((*Config)(nil), "swarmingV1.Config")
92 proto.RegisterType((*Config_Swarming)(nil), "swarmingV1.Config.Swarming" ) 92 proto.RegisterType((*Config_Swarming)(nil), "swarmingV1.Config.Swarming" )
93 proto.RegisterType((*Config_Isolate)(nil), "swarmingV1.Config.Isolate") 93 proto.RegisterType((*Config_Isolate)(nil), "swarmingV1.Config.Isolate")
94 } 94 }
95 95
96 func init() { 96 func init() {
97 proto.RegisterFile("github.com/luci/luci-go/dm/api/distributor/swarming/ v1/config.proto", fileDescriptor0) 97 proto.RegisterFile("github.com/luci/luci-go/dm/api/distributor/swarming/ v1/config.proto", fileDescriptor0)
98 } 98 }
99 99
100 var fileDescriptor0 = []byte{ 100 var fileDescriptor0 = []byte{
101 // 232 bytes of a gzipped FileDescriptorProto 101 // 232 bytes of a gzipped FileDescriptorProto
102 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0x3d, 0x4b, 0x03, 0x41, 102 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x8f, 0x3d, 0x4b, 0xc4, 0x40,
103 » 0x10, 0x86, 0x39, 0x91, 0x24, 0x8e, 0xdd, 0x56, 0xf1, 0x84, 0x20, 0x56, 0x36, 0xce, 0x10, 0x15, 103 » 0x10, 0x86, 0x89, 0xc2, 0xdd, 0x39, 0x36, 0xb2, 0xd5, 0x19, 0x45, 0xc4, 0xca, 0xc6, 0x19, 0x4e,
104 » 0xc4, 0x3a, 0x36, 0xb6, 0x27, 0x88, 0xed, 0x7d, 0x65, 0x33, 0x70, 0x77, 0x73, 0xec, 0x87, 0xfa, 104 » 0x05, 0xb1, 0x3e, 0x1b, 0xdb, 0x08, 0xd7, 0xe7, 0x73, 0x1d, 0x48, 0x32, 0x61, 0xb3, 0xab, 0xfe,
105 » 0xb7, 0xfd, 0x07, 0xc2, 0x7e, 0xa8, 0x45, 0x9a, 0x65, 0x99, 0xf7, 0x79, 0x66, 0x78, 0x61, 0xa7, 105 » 0x69, 0xff, 0x83, 0xb8, 0x1f, 0x2a, 0x78, 0xcd, 0xb2, 0xcc, 0xfb, 0x3c, 0x33, 0xbc, 0xb0, 0xd5,
106 » 0xd9, 0x1d, 0x7c, 0x83, 0xad, 0x8c, 0x34, 0xf8, 0x96, 0xc3, 0x73, 0xab, 0x85, 0xba, 0x91, 0xea, 106 » 0x6c, 0x5f, 0x5d, 0x85, 0xb5, 0x0c, 0xd4, 0xbb, 0x9a, 0xfd, 0x73, 0xa3, 0x85, 0x9a, 0x81, 0xca,
107 » 0x99, 0xa9, 0x63, 0xeb, 0x0c, 0x37, 0xde, 0x89, 0x21, 0xfb, 0x59, 0x9b, 0x91, 0x27, 0x4d, 0x1f, 107 » 0x89, 0xa9, 0xe1, 0xd9, 0x1a, 0xae, 0x9c, 0x15, 0x43, 0xf3, 0x7b, 0x69, 0x06, 0x1e, 0x35, 0xbd,
108 » 0x5b, 0x6a, 0x65, 0xda, 0xb3, 0xc6, 0xd9, 0x88, 0x13, 0x05, 0x39, 0x79, 0xdb, 0x96, 0x1b, 0x2d, 108 » 0x6d, 0xa8, 0x96, 0xb1, 0x63, 0x8d, 0x93, 0x11, 0x2b, 0x0a, 0x52, 0xb2, 0xdb, 0xe4, 0x17, 0x5a,
109 » 0xa2, 0x87, 0x9e, 0x42, 0xd2, 0xf8, 0x3d, 0x75, 0xde, 0xd4, 0x8e, 0x65, 0x8a, 0xec, 0xf5, 0x77, 109 » 0x44, 0xf7, 0x2d, 0xf9, 0xa4, 0x72, 0x1d, 0x35, 0xce, 0x94, 0x96, 0x65, 0x0c, 0xec, 0xd5, 0x67,
110 » 0x01, 0x8b, 0x5d, 0x90, 0xd5, 0x23, 0xac, 0xb2, 0xb8, 0x2e, 0xae, 0x8a, 0x9b, 0xf3, 0xbb, 0x4b, 110 » 0x06, 0x8b, 0xad, 0x97, 0xd5, 0x03, 0xac, 0x92, 0xb8, 0xce, 0x2e, 0xb3, 0xeb, 0xe3, 0xdb, 0x33,
111 » 0xfc, 0xdb, 0x84, 0x91, 0xc2, 0xd7, 0x34, 0xa9, 0x7e, 0x61, 0xf5, 0x00, 0x4b, 0xb6, 0x32, 0xd4, 111 » 0xfc, 0xdd, 0x84, 0x81, 0xc2, 0x97, 0x38, 0x29, 0x7e, 0x60, 0x75, 0x0f, 0x4b, 0x9e, 0xa5, 0x2f,
112 » 0xae, 0x5f, 0x9f, 0x04, 0xaf, 0x3c, 0xe2, 0xbd, 0x44, 0xa2, 0xca, 0x68, 0xb9, 0x81, 0x55, 0xde, 112 » 0x6d, 0xbb, 0x3e, 0xf0, 0x5e, 0xbe, 0xc7, 0x7b, 0x0e, 0x44, 0x91, 0xd0, 0xfc, 0x1c, 0x56, 0x69,
113 » 0xa5, 0x14, 0x9c, 0x1e, 0xc4, 0xba, 0x70, 0xf6, 0xac, 0x0a, 0xff, 0xf2, 0x1d, 0x96, 0xc9, 0x39, 113 » 0x97, 0x3a, 0x81, 0x43, 0x67, 0x7a, 0x7f, 0xf5, 0xa8, 0xf8, 0xfe, 0xe6, 0x3b, 0x58, 0x46, 0xe3,
114 » 0x16, 0xab, 0x27, 0x80, 0xfe, 0x6b, 0xe6, 0x58, 0x26, 0xdd, 0xbd, 0xc0, 0xd8, 0x16, 0x73, 0x5b, 114 » 0x7f, 0xa8, 0x1e, 0x01, 0xda, 0x8f, 0x89, 0x43, 0x91, 0x78, 0xf3, 0x14, 0x43, 0x53, 0x4c, 0x4d,
115 » 0x7c, 0x4e, 0x6d, 0xab, 0x7f, 0x70, 0xb3, 0x08, 0xf1, 0xfd, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 115 » 0xf1, 0x29, 0x36, 0x2d, 0xfe, 0xc0, 0xd5, 0xc2, 0xc7, 0x77, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff,
116 » 0x8a, 0xc8, 0xff, 0x58, 0x6d, 0x01, 0x00, 0x00, 116 » 0xe1, 0xd4, 0x8c, 0x80, 0x69, 0x01, 0x00, 0x00,
117 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698