| OLD | NEW |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. | 1 // Copyright 2017 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 provides access to the . | 5 // Package swarming provides access to the . |
| 6 // | 6 // |
| 7 // Usage example: | 7 // Usage example: |
| 8 // | 8 // |
| 9 // import "github.com/luci/luci-go/common/api/swarming/swarming/v1" | 9 // import "github.com/luci/luci-go/common/api/swarming/swarming/v1" |
| 10 // ... | 10 // ... |
| (...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 return err | 939 return err |
| 940 } | 940 } |
| 941 s.BotOverhead = float64(s1.BotOverhead) | 941 s.BotOverhead = float64(s1.BotOverhead) |
| 942 return nil | 942 return nil |
| 943 } | 943 } |
| 944 | 944 |
| 945 // SwarmingRpcsServerDetails: Reports details about the server. | 945 // SwarmingRpcsServerDetails: Reports details about the server. |
| 946 type SwarmingRpcsServerDetails struct { | 946 type SwarmingRpcsServerDetails struct { |
| 947 BotVersion string `json:"bot_version,omitempty"` | 947 BotVersion string `json:"bot_version,omitempty"` |
| 948 | 948 |
| 949 DefaultIsolateNamespace string `json:"default_isolate_namespace,omitempt
y"` |
| 950 |
| 951 DefaultIsolateServer string `json:"default_isolate_server,omitempty"` |
| 952 |
| 949 DisplayServerUrlTemplate string `json:"display_server_url_template,omite
mpty"` | 953 DisplayServerUrlTemplate string `json:"display_server_url_template,omite
mpty"` |
| 950 | 954 |
| 951 LuciConfig string `json:"luci_config,omitempty"` | 955 LuciConfig string `json:"luci_config,omitempty"` |
| 952 | 956 |
| 953 MachineProviderTemplate string `json:"machine_provider_template,omitempt
y"` | 957 MachineProviderTemplate string `json:"machine_provider_template,omitempt
y"` |
| 954 | 958 |
| 955 ServerVersion string `json:"server_version,omitempty"` | 959 ServerVersion string `json:"server_version,omitempty"` |
| 956 | 960 |
| 957 // ServerResponse contains the HTTP response code and headers from the | 961 // ServerResponse contains the HTTP response code and headers from the |
| 958 // server. | 962 // server. |
| (...skipping 4455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5414 // "path": "tasks/tags", | 5418 // "path": "tasks/tags", |
| 5415 // "response": { | 5419 // "response": { |
| 5416 // "$ref": "SwarmingRpcsTasksTags" | 5420 // "$ref": "SwarmingRpcsTasksTags" |
| 5417 // }, | 5421 // }, |
| 5418 // "scopes": [ | 5422 // "scopes": [ |
| 5419 // "https://www.googleapis.com/auth/userinfo.email" | 5423 // "https://www.googleapis.com/auth/userinfo.email" |
| 5420 // ] | 5424 // ] |
| 5421 // } | 5425 // } |
| 5422 | 5426 |
| 5423 } | 5427 } |
| OLD | NEW |