proxystore.endpoint.cli¶
proxystore-endpoint command-line interface.
See the CLI Reference for the
proxystore-endpoint usage instructions.
The results of commands are printed to stdout and errors are printed to
stderr. The --log-level option only controls the logs of ProxyStore (e.g.,
of an endpoint started with --no-detach).
cli
¶
cli(ctx: Context, log_level: str) -> None
Manage and start ProxyStore Endpoints.
Source code in proxystore/endpoint/cli.py
show_help
¶
version
¶
configure
¶
configure(
name: str,
host: str,
port: int | None,
peering: bool,
relays: str,
discovery: Literal['n0', 'none'],
persist: bool,
tls: bool,
) -> None
Configure a new endpoint.
Source code in proxystore/endpoint/cli.py
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | |
list_all
¶
List all user endpoints.
Source code in proxystore/endpoint/cli.py
endpoint_id
¶
endpoint_id(name: str) -> None
Print the ID of an endpoint.
Source code in proxystore/endpoint/cli.py
peers
¶
Manage the peers an endpoint can communicate with.
Two endpoints can only communicate if each endpoint has the other in its peers. Get the ID of an endpoint with "proxystore-endpoint id NAME".
Source code in proxystore/endpoint/cli.py
peers_add
¶
Allow endpoint NAME to communicate with peer PEER_ID.
Source code in proxystore/endpoint/cli.py
peers_remove
¶
Stop endpoint NAME from communicating with peer PEER_NAME.
Source code in proxystore/endpoint/cli.py
peers_list
¶
peers_list(name: str) -> None
List the peers of endpoint NAME.
Source code in proxystore/endpoint/cli.py
remove
¶
remove(name: str) -> None
Remove an endpoint.
Source code in proxystore/endpoint/cli.py
start
¶
Start an endpoint.
Source code in proxystore/endpoint/cli.py
stop
¶
stop(name: str) -> None
Stop an endpoint running on this host.
Source code in proxystore/endpoint/cli.py
client_group
¶
Run client operations on endpoint NAME.
Operations are performed on the endpoint or, with --target, forwarded to a peer endpoint. These are useful for testing and debugging endpoints.
Source code in proxystore/endpoint/cli.py
evict
¶
evict(ctx: Context, key: str) -> None
Evict object from an endpoint.
Source code in proxystore/endpoint/cli.py
exists
¶
exists(ctx: Context, key: str) -> None
Check if object exists in an endpoint.
Source code in proxystore/endpoint/cli.py
get
¶
get(ctx: Context, key: str) -> None
Get an object from an endpoint.
Source code in proxystore/endpoint/cli.py
ping
¶
Measure the latency of and path to a peer endpoint.
The endpoint sends each ping to the peer given by --target and reports the time until it received the response and if the connection is direct or relayed. The first ping includes the time to connect to the peer if the endpoint is not already connected. Without --target, the time is the round trip between this client and the endpoint.
Source code in proxystore/endpoint/cli.py
put
¶
put(ctx: Context, data: str) -> None
Put an object in an endpoint.