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

Unified Diff: dm/api/distributor/swarming/v1/cipd.pb.go

Issue 2338153003: Add snapshotting for CIPD packages and dimensions to DM. (Closed)
Patch Set: Remove cleanup noise Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: dm/api/distributor/swarming/v1/cipd.pb.go
diff --git a/dm/api/distributor/swarming/v1/cipd.pb.go b/dm/api/distributor/swarming/v1/cipd.pb.go
new file mode 100644
index 0000000000000000000000000000000000000000..c7aeef0c66fd5357c2a24249134d028ac3bd3baa
--- /dev/null
+++ b/dm/api/distributor/swarming/v1/cipd.pb.go
@@ -0,0 +1,130 @@
+// Code generated by protoc-gen-go.
+// source: github.com/luci/luci-go/dm/api/distributor/swarming/v1/cipd.proto
+// DO NOT EDIT!
+
+/*
+Package swarmingV1 is a generated protocol buffer package.
+
+It is generated from these files:
+ github.com/luci/luci-go/dm/api/distributor/swarming/v1/cipd.proto
+ github.com/luci/luci-go/dm/api/distributor/swarming/v1/config.proto
+ github.com/luci/luci-go/dm/api/distributor/swarming/v1/isolate_ref.proto
+ github.com/luci/luci-go/dm/api/distributor/swarming/v1/params.proto
+ github.com/luci/luci-go/dm/api/distributor/swarming/v1/result.proto
+
+It has these top-level messages:
+ CipdPackage
+ CipdSpec
+ Config
+ IsolatedRef
+ Parameters
+ Result
+*/
+package swarmingV1
+
+import proto "github.com/golang/protobuf/proto"
+import fmt "fmt"
+import math "math"
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
+
+type CipdPackage struct {
+ Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
+ Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
+}
+
+func (m *CipdPackage) Reset() { *m = CipdPackage{} }
+func (m *CipdPackage) String() string { return proto.CompactTextString(m) }
+func (*CipdPackage) ProtoMessage() {}
+func (*CipdPackage) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
+
+type CipdSpec struct {
+ // Server to use for cipd packages. Required (though it may be specified
+ // by the quest's designated distributor config). This must be
+ // scheme://<hostname>, e.g. "https://example.appspot.com". The only
+ // supported schemes are http and https.
+ Server string `protobuf:"bytes,1,opt,name=server" json:"server,omitempty"`
+ // Specifies the CIPD package to use for the job to obtain the actual CIPD
+ // client binary. You usually want to omit this.
+ Client *CipdPackage `protobuf:"bytes,2,opt,name=client" json:"client,omitempty"`
+ // A mapping from path-to-install to a list of cipd packages to install at
+ // that location. To install packages in the root of the job, use the path
+ // ''.
+ ByPath map[string]*CipdSpec_CipdPackages `protobuf:"bytes,3,rep,name=by_path,json=byPath" json:"by_path,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
+}
+
+func (m *CipdSpec) Reset() { *m = CipdSpec{} }
+func (m *CipdSpec) String() string { return proto.CompactTextString(m) }
+func (*CipdSpec) ProtoMessage() {}
+func (*CipdSpec) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
+
+func (m *CipdSpec) GetClient() *CipdPackage {
+ if m != nil {
+ return m.Client
+ }
+ return nil
+}
+
+func (m *CipdSpec) GetByPath() map[string]*CipdSpec_CipdPackages {
+ if m != nil {
+ return m.ByPath
+ }
+ return nil
+}
+
+type CipdSpec_CipdPackages struct {
+ Pkg []*CipdPackage `protobuf:"bytes,1,rep,name=pkg" json:"pkg,omitempty"`
+}
+
+func (m *CipdSpec_CipdPackages) Reset() { *m = CipdSpec_CipdPackages{} }
+func (m *CipdSpec_CipdPackages) String() string { return proto.CompactTextString(m) }
+func (*CipdSpec_CipdPackages) ProtoMessage() {}
+func (*CipdSpec_CipdPackages) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
+
+func (m *CipdSpec_CipdPackages) GetPkg() []*CipdPackage {
+ if m != nil {
+ return m.Pkg
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterType((*CipdPackage)(nil), "swarmingV1.CipdPackage")
+ proto.RegisterType((*CipdSpec)(nil), "swarmingV1.CipdSpec")
+ proto.RegisterType((*CipdSpec_CipdPackages)(nil), "swarmingV1.CipdSpec.CipdPackages")
+}
+
+func init() {
+ proto.RegisterFile("github.com/luci/luci-go/dm/api/distributor/swarming/v1/cipd.proto", fileDescriptor0)
+}
+
+var fileDescriptor0 = []byte{
+ // 286 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0x4d, 0x4f, 0x84, 0x30,
+ 0x10, 0x86, 0xb3, 0xa0, 0xac, 0x0e, 0x1e, 0xcc, 0x1c, 0x94, 0xec, 0x09, 0xf7, 0xa4, 0x07, 0x69,
+ 0x56, 0x0f, 0xba, 0x7a, 0x52, 0xe3, 0x7d, 0x83, 0x89, 0x27, 0x13, 0x53, 0x4a, 0xc3, 0x36, 0x7c,
+ 0xb4, 0x29, 0x05, 0xc3, 0x2f, 0xf2, 0x6f, 0x0a, 0x95, 0x8d, 0xc4, 0x18, 0x2f, 0xcd, 0x7c, 0xbc,
+ 0xef, 0x3c, 0x33, 0x85, 0x87, 0x4c, 0x98, 0x6d, 0x93, 0x44, 0x4c, 0x96, 0xa4, 0x68, 0x98, 0xb0,
+ 0xcf, 0x65, 0x26, 0x49, 0x5a, 0x12, 0xaa, 0x04, 0x49, 0x45, 0x6d, 0xb4, 0x48, 0x1a, 0x23, 0x35,
+ 0xa9, 0x3f, 0xa8, 0x2e, 0x45, 0x95, 0x91, 0x76, 0x45, 0x98, 0x50, 0x69, 0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App Engine
This is Rietveld 408576698