Index: appengine/cmd/dm/distributor/impl/swarmingV1/distributor.go |
diff --git a/appengine/cmd/dm/distributor/impl/swarmingV1/distributor.go b/appengine/cmd/dm/distributor/impl/swarmingV1/distributor.go |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c49873e1facebe1b8b83e29a2bc5d32e2bf8d8d1 |
--- /dev/null |
+++ b/appengine/cmd/dm/distributor/impl/swarmingV1/distributor.go |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+package swarmingV1 |
+ |
+import ( |
+ "github.com/golang/protobuf/proto" |
+ "github.com/luci/luci-go/appengine/cmd/dm/distributor" |
+ sv1 "github.com/luci/luci-go/appengine/cmd/dm/distributor/protos/swarmingV1" |
+) |
+ |
+func factory(cfg *sv1.Config) (distributor.Interface, error) { |
+ panic("swarmingV1.factory not implemented") |
+} |
+ |
+// Register registers this distributor implementation with the distributor |
+// package registry. |
+func Register(reg distributor.Registry) { |
+ reg.Register(&sv1.Config{}, func(msg proto.Message) (distributor.Interface, error) { |
+ return factory(msg.(*sv1.Config)) |
+ }) |
+} |