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

Side by Side Diff: appengine/cmd/dm/distributor/config.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: work in progress Created 4 years, 11 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package distributor
6
7 import (
8 "github.com/golang/protobuf/proto"
9 )
10
11 // Config represents the configuration for a single instance of a given
12 // distributor implementation at a given point in time (e.g. version).
13 type Config struct {
14 // DMBaseURL is the base url for the DM API. This may be used by the
15 // distributor implementation to pass to jobs so that they can call back into
16 // DM's api.
17 DMBaseURL string
18
19 // TQHandlerURL is a TaskQueue "Path" that the distributor can use to ge t work
20 // done on its HandleTaskQueueTask callback. The callback will be invoke d on
21 // a different (but identically configured) instance of the distributor.
22 TQHandlerURL string
23
24 // CfgName is the name of this distributor configuration item. This is a lways
25 // the fully-resolved name of the configuration (e.g. aliases are
26 // dereferenced).
27 CfgName string
28
29 // Version is the version of the distributor configuration retrieved fro m
30 // luci-config
31 Version string
32
33 // ImplConfig is the actual parsed implementation configuration.
34 ImplConfig proto.Message
35 }
OLDNEW
« no previous file with comments | « no previous file | appengine/cmd/dm/distributor/distributor.go » ('j') | appengine/cmd/dm/distributor/distributor.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698