|
38 | 38 | },
|
39 | 39 | "ttl": {
|
40 | 40 | "description": "cache expiration time of build folders. If the cache is hit by a compilation the corresponding build files lifetime is renewed. The value format must be a valid input for time.ParseDuration(), defaults to `720h` (30 days)",
|
41 | | - "oneOf": [ |
42 | | - { |
43 | | - "type": "integer", |
44 | | - "minimum": 0 |
45 | | - }, |
46 | | - { |
47 | | - "type": "string", |
48 | | - "pattern": "^\\+?([0-9]?\\.?[0-9]+(([nuμm]?s)|m|h))+$" |
49 | | - } |
50 | | - ] |
| 41 | + "type": "string", |
| 42 | + "pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|μs|μs|ms|s|m|h))+$" |
51 | 43 | }
|
52 | 44 | },
|
53 | 45 | "type": "object"
|
|
146 | 138 | },
|
147 | 139 | "type": "object"
|
148 | 140 | },
|
| 141 | + "network": { |
| 142 | + "description": "settings related to network connections.", |
| 143 | + "type": "object", |
| 144 | + "properties": { |
| 145 | + "proxy": { |
| 146 | + "description": "proxy settings for network connections.", |
| 147 | + "type": "string" |
| 148 | + }, |
| 149 | + "user_agent_ext": { |
| 150 | + "description": "extra string to append to the user agent string in HTTP requests.", |
| 151 | + "type": "string" |
| 152 | + }, |
| 153 | + "connection_timeout": { |
| 154 | + "description": "timeout for network connections, defaults to '30s'", |
| 155 | + "type": "string", |
| 156 | + "pattern": "^[+-]?(([0-9]+(\\.[0-9]*)?|(\\.[0-9]+))(ns|us|μs|μs|ms|s|m|h))+$" |
| 157 | + } |
| 158 | + } |
| 159 | + }, |
149 | 160 | "output": {
|
150 | 161 | "description": "settings related to text output.",
|
151 | 162 | "properties": {
|
|
0 commit comments