atcctl

command
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Command "atcctl" is the admin CLI for "atc".

Usage:

atcctl [<flags>] <cmd> [<args>...]

Flags:

-V, --version        print version and exit
-s, --server=addr    Address of the ATC admin port
  [default: "unix:/var/opt/roxy/lib/atc.admin.socket"]
-J, --log-journald   log to journald
-l, --log-file=path  log JSON to file
-S, --log-stderr     log JSON to stderr
-v, --verbose        enable debug logging
-d, --debug          enable debug and trace logging

Commands:

	help                                     list available commands
	ping                                     check that ATC is running
	reload id [rev]                          tell ATC to rotate its log file and to pre-load its config
	flip id                                  tell ATC to activate a preloaded config
	commit id                                tell ATC to commit to an activated config
	shutdown                                 tell ATC to exit
	healthcheck [name]                       check the health of the named subsystem(*)
	healthwatch [name]                       watch the health of the named subsystem(*)
	set-health name y/n                      set the health of the named subsystem
	lookup service [shard]                   perform a /roxy.v0.AirTrafficControl/Lookup RPC
	lookup-clients service [shard] [unique]  perform a /roxy.v0.AirTrafficControl/LookupClients RPC
	lookup-servers service [shard] [unique]  perform a /roxy.v0.AirTrafficControl/LookupServers RPC
	find service [shard]                     perform a /roxy.v0.AirTrafficControl/Find RPC

	(*) At startup, the only available subsystem is the empty string, "".
         The "set-health" command can create new named subsystems.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL