Skip to main content

tailscale/README.md

1# tailscale
3Scripts specific to my work at Tailscale.
5## The individual scripts
7<!-- [[[cog
9# This adds the root of the repo to the PATH, which has cog_helpers.py
10from os.path import abspath, dirname
11import sys
13sys.path.append(abspath(dirname(dirname("."))))
15import cog_helpers
17folder_name = "tailscale"
19scripts = [
20 {
21 "usage": "ensure_on_tailnet.sh TAILNET_NAME",
22 "description": "ensure I'm connected to a particular tailnet on my work computer"
23 },
24 {
25 "usage": "gostress PACKAGE TEST_NAME",
26 "description": "run a test with Go’s stress utility",
27 },
28 {
29 "usage": "start_local_tailscaled.sh NAME",
30 "description": "start a local instance of tailscaled",
31 },
32 {
33 "usage": "login_local_tailscale.sh NAME",
34 "description": "log a local instance of tailscaled into a running version of devcontrol"
35 },
36 {
37 "usage": "lts NAME",
38 "description": "run a CLi command on a local instance of tailscaled"
39 },
42cog_helpers.create_description_table(folder_name=folder_name, scripts=scripts)
44]]]-->
45<dl>
46 <dt>
47 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/ensure_on_tailnet.sh">
48 <code>ensure_on_tailnet.sh TAILNET_NAME</code>
49 </a>
50 </dt>
51 <dd>
52 ensure I'm connected to a particular tailnet on my work computer
53 </dd>
55 <dt>
56 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/gostress">
57 <code>gostress PACKAGE TEST_NAME</code>
58 </a>
59 </dt>
60 <dd>
61 run a test with Go’s stress utility
62 </dd>
64 <dt>
65 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/start_local_tailscaled.sh">
66 <code>start_local_tailscaled.sh NAME</code>
67 </a>
68 </dt>
69 <dd>
70 start a local instance of tailscaled
71 </dd>
73 <dt>
74 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/login_local_tailscale.sh">
75 <code>login_local_tailscale.sh NAME</code>
76 </a>
77 </dt>
78 <dd>
79 log a local instance of tailscaled into a running version of devcontrol
80 </dd>
82 <dt>
83 <a href="https://github.com/alexwlchan/scripts/blob/main/tailscale/lts">
84 <code>lts NAME</code>
85 </a>
86 </dt>
87 <dd>
88 run a CLi command on a local instance of tailscaled
89 </dd>
90</dl>
91<!-- [[[end]]] (sum: 4hnXIiewO2) -->