Skip to content

Commit 80972d0

Browse files
committed
Update golden files
1 parent 2187947 commit 80972d0

8 files changed

+262
-250
lines changed

cli/testdata/coder_--help.golden

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ Workspace Commands:
4747
stop Stop a workspace
4848
update Update a workspace
4949

50-
Flags:
50+
Auth Flags:
51+
--token string Specify an authentication token. For security reasons setting
52+
CODER_SESSION_TOKEN is preferred.
53+
Consumes $CODER_SESSION_TOKEN
54+
Other Flags:
5155
--global-config coder Path to the global coder config directory.
5256
Consumes $CODER_CONFIG_DIR (default "~/.config/coderv2")
5357
--header stringArray HTTP headers added to all requests. Provide as "Key=Value".
@@ -57,9 +61,6 @@ Flags:
5761
Consumes $CODER_NO_FEATURE_WARNING
5862
--no-version-warning Suppress warning when client and server versions do not match.
5963
Consumes $CODER_NO_VERSION_WARNING
60-
--token string Specify an authentication token. For security reasons setting
61-
CODER_SESSION_TOKEN is preferred.
62-
Consumes $CODER_SESSION_TOKEN
6364
--url string URL to a deployment.
6465
Consumes $CODER_URL
6566
-v, --verbose Enable verbose output.

cli/testdata/coder_agent_--help.golden

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
Usage:
22
coder agent [flags]
33

4-
Flags:
4+
Auth Flags:
55
--auth string Specify the authentication type to use for the agent.
66
Consumes $CODER_AGENT_AUTH (default "token")
7-
-h, --help help for agent
7+
Operability Flags:
88
--log-dir string Specify the location for the agent log files.
99
Consumes $CODER_AGENT_LOG_DIR (default "/tmp")
10-
--no-reap Do not start a process reaper.
1110
--pprof-address string The address to serve pprof.
1211
Consumes $CODER_AGENT_PPROF_ADDRESS (default "127.0.0.1:6060")
12+
Other Flags:
13+
-h, --help help for agent
14+
--no-reap Do not start a process reaper.
1315

1416
Global Flags:
1517
--global-config coder Path to the global coder config directory.

cli/testdata/coder_scaletest_create-workspaces_--help.golden

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,30 @@ It is recommended that all rate limits are disabled on the server before running
55
Usage:
66
coder scaletest create-workspaces [flags]
77

8-
Flags:
8+
Networking Flags:
9+
--connect-mode string Mode to use for connecting to the workspace. Can
10+
be 'derp' or 'direct'.
11+
Consumes $CODER_LOADTEST_CONNECT_MODE (default "derp")
12+
--trace Whether application tracing data is collected. It
13+
exports to a backend configured by environment
14+
variables. See:
15+
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md.
16+
Consumes $CODER_LOADTEST_TRACE
17+
--trace-coder Whether opentelemetry traces are sent to Coder.
18+
We recommend keeping this disabled unless we
19+
advise you to enable it.
20+
Consumes $CODER_LOADTEST_TRACE_CODER
21+
Operability Flags:
22+
--trace-honeycomb-api-key string Enables trace exporting to Honeycomb.io using the
23+
provided API key.
24+
Consumes $CODER_LOADTEST_TRACE_HONEYCOMB_API_KEY
25+
--trace-propagate Enables trace propagation to the Coder backend,
26+
which will be used to correlate server-side spans
27+
with client-side spans. Only enable this if the
28+
server is configured with the exact same tracing
29+
configuration as the client.
30+
Consumes $CODER_LOADTEST_TRACE_PROPAGATE
31+
Other Flags:
932
--cleanup-concurrency int Number of concurrent cleanup jobs to run. 0 means
1033
unlimited.
1134
Consumes $CODER_LOADTEST_CLEANUP_CONCURRENCY
@@ -27,9 +50,6 @@ Flags:
2750
--connect-interval duration How long to wait between making requests to the
2851
--connect-url once the connection is established.
2952
Consumes $CODER_LOADTEST_CONNECT_INTERVAL (default 1s)
30-
--connect-mode string Mode to use for connecting to the workspace. Can
31-
be 'derp' or 'direct'.
32-
Consumes $CODER_LOADTEST_CONNECT_MODE (default "derp")
3353
--connect-timeout duration Timeout for each request to the --connect-url.
3454
Consumes $CODER_LOADTEST_CONNECT_TIMEOUT (default 5s)
3555
--connect-url string URL to connect to inside the the workspace over
@@ -94,24 +114,6 @@ Flags:
94114
--timeout duration Timeout for the entire test run. 0 means
95115
unlimited.
96116
Consumes $CODER_LOADTEST_TIMEOUT (default 30m0s)
97-
--trace Whether application tracing data is collected. It
98-
exports to a backend configured by environment
99-
variables. See:
100-
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md.
101-
Consumes $CODER_LOADTEST_TRACE
102-
--trace-coder Whether opentelemetry traces are sent to Coder.
103-
We recommend keeping this disabled unless we
104-
advise you to enable it.
105-
Consumes $CODER_LOADTEST_TRACE_CODER
106-
--trace-honeycomb-api-key string Enables trace exporting to Honeycomb.io using the
107-
provided API key.
108-
Consumes $CODER_LOADTEST_TRACE_HONEYCOMB_API_KEY
109-
--trace-propagate Enables trace propagation to the Coder backend,
110-
which will be used to correlate server-side spans
111-
with client-side spans. Only enable this if the
112-
server is configured with the exact same tracing
113-
configuration as the client.
114-
Consumes $CODER_LOADTEST_TRACE_PROPAGATE
115117

116118
Global Flags:
117119
--global-config coder Path to the global coder config directory.

0 commit comments

Comments
 (0)