OLD | NEW |
1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package swarming | 5 package swarming |
6 | 6 |
7 import ( | 7 import ( |
8 "encoding/json" | 8 "encoding/json" |
9 "fmt" | 9 "fmt" |
10 "io/ioutil" | 10 "io/ioutil" |
(...skipping 10 matching lines...) Expand all Loading... |
21 swarming "github.com/luci/luci-go/common/api/swarming/swarming/v1" | 21 swarming "github.com/luci/luci-go/common/api/swarming/swarming/v1" |
22 "github.com/luci/luci-go/common/clock/testclock" | 22 "github.com/luci/luci-go/common/clock/testclock" |
23 memcfg "github.com/luci/luci-go/common/config/impl/memory" | 23 memcfg "github.com/luci/luci-go/common/config/impl/memory" |
24 "github.com/luci/luci-go/common/errors" | 24 "github.com/luci/luci-go/common/errors" |
25 miloProto "github.com/luci/luci-go/common/proto/milo" | 25 miloProto "github.com/luci/luci-go/common/proto/milo" |
26 "github.com/luci/luci-go/logdog/api/endpoints/coordinator/logs/v1" | 26 "github.com/luci/luci-go/logdog/api/endpoints/coordinator/logs/v1" |
27 "github.com/luci/luci-go/logdog/api/logpb" | 27 "github.com/luci/luci-go/logdog/api/logpb" |
28 "github.com/luci/luci-go/logdog/client/coordinator" | 28 "github.com/luci/luci-go/logdog/client/coordinator" |
29 "github.com/luci/luci-go/luci_config/server/cfgclient/backend/testconfig
" | 29 "github.com/luci/luci-go/luci_config/server/cfgclient/backend/testconfig
" |
30 "github.com/luci/luci-go/milo/api/resp" | 30 "github.com/luci/luci-go/milo/api/resp" |
31 » "github.com/luci/luci-go/milo/appengine/common" | 31 » "github.com/luci/luci-go/milo/common" |
32 » "github.com/luci/luci-go/milo/appengine/common/model" | 32 » "github.com/luci/luci-go/milo/common/model" |
33 "github.com/luci/luci-go/server/auth" | 33 "github.com/luci/luci-go/server/auth" |
34 "github.com/luci/luci-go/server/auth/authtest" | 34 "github.com/luci/luci-go/server/auth/authtest" |
35 "github.com/luci/luci-go/server/templates" | 35 "github.com/luci/luci-go/server/templates" |
36 ) | 36 ) |
37 | 37 |
38 type testCase struct { | 38 type testCase struct { |
39 name string | 39 name string |
40 | 40 |
41 swarmingRelDir string | 41 swarmingRelDir string |
42 | 42 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 ` | 290 ` |
291 | 291 |
292 var aclConfgs = map[string]memcfg.ConfigSet{ | 292 var aclConfgs = map[string]memcfg.ConfigSet{ |
293 "projects/secret": { | 293 "projects/secret": { |
294 "project.cfg": secretProjectCfg, | 294 "project.cfg": secretProjectCfg, |
295 }, | 295 }, |
296 "projects/opensource": { | 296 "projects/opensource": { |
297 "project.cfg": publicProjectCfg, | 297 "project.cfg": publicProjectCfg, |
298 }, | 298 }, |
299 } | 299 } |
OLD | NEW |