├── .dockerignore ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── Vagrantfile ├── action ├── acl.go ├── acl_clone.go ├── acl_create.go ├── acl_destroy.go ├── acl_info.go ├── acl_list.go ├── acl_replication.go ├── acl_update.go ├── action.go ├── agent_checks.go ├── agent_force_leave.go ├── agent_join.go ├── agent_leave.go ├── agent_maintenance.go ├── agent_members.go ├── agent_monitor.go ├── agent_reload.go ├── agent_self.go ├── agent_services.go ├── catalog_datacenters.go ├── catalog_deregister.go ├── catalog_node.go ├── catalog_nodes.go ├── catalog_register.go ├── catalog_service.go ├── catalog_services.go ├── check_deregister.go ├── check_fail.go ├── check_pass.go ├── check_register.go ├── check_update.go ├── check_warn.go ├── config.go ├── consul.go ├── coordinate_datacenters.go ├── coordinate_nodes.go ├── event_fire.go ├── event_list.go ├── health_checks.go ├── health_node.go ├── health_service.go ├── health_state.go ├── kv_bulkload.go ├── kv_delete.go ├── kv_keys.go ├── kv_lock.go ├── kv_read.go ├── kv_unlock.go ├── kv_watch.go ├── kv_write.go ├── map_slice.go ├── map_slice_test.go ├── operator_autopilot_get.go ├── operator_autopilot_set.go ├── operator_keyring_install.go ├── operator_keyring_list.go ├── operator_keyring_remove.go ├── operator_keyring_use.go ├── operator_raft_config.go ├── operator_raft_delete.go ├── output.go ├── raw.go ├── service_deregister.go ├── service_maintenance.go ├── service_register.go ├── session_create.go ├── session_destroy.go ├── session_info.go ├── session_list.go ├── session_node.go ├── session_renew.go ├── snapshot_restore.go ├── snapshot_save.go ├── status_leader.go ├── status_peers.go ├── string_slice.go └── txn.go ├── commands ├── acl.go ├── agent.go ├── catalog.go ├── check.go ├── check_test.go ├── coordinate.go ├── event.go ├── health.go ├── kv.go ├── operator.go ├── root.go ├── root_test.go ├── service.go ├── service_test.go ├── session.go ├── snapshot.go ├── status.go └── txn.go ├── go.mod ├── go.sum ├── main.go └── test ├── check-register.json ├── start_container.sh ├── stop_container.sh └── test.sh /.dockerignore: -------------------------------------------------------------------------------- 1 | bin 2 | build -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/Vagrantfile -------------------------------------------------------------------------------- /action/acl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl.go -------------------------------------------------------------------------------- /action/acl_clone.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_clone.go -------------------------------------------------------------------------------- /action/acl_create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_create.go -------------------------------------------------------------------------------- /action/acl_destroy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_destroy.go -------------------------------------------------------------------------------- /action/acl_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_info.go -------------------------------------------------------------------------------- /action/acl_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_list.go -------------------------------------------------------------------------------- /action/acl_replication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_replication.go -------------------------------------------------------------------------------- /action/acl_update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/acl_update.go -------------------------------------------------------------------------------- /action/action.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/action.go -------------------------------------------------------------------------------- /action/agent_checks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_checks.go -------------------------------------------------------------------------------- /action/agent_force_leave.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_force_leave.go -------------------------------------------------------------------------------- /action/agent_join.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_join.go -------------------------------------------------------------------------------- /action/agent_leave.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_leave.go -------------------------------------------------------------------------------- /action/agent_maintenance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_maintenance.go -------------------------------------------------------------------------------- /action/agent_members.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_members.go -------------------------------------------------------------------------------- /action/agent_monitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_monitor.go -------------------------------------------------------------------------------- /action/agent_reload.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_reload.go -------------------------------------------------------------------------------- /action/agent_self.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_self.go -------------------------------------------------------------------------------- /action/agent_services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/agent_services.go -------------------------------------------------------------------------------- /action/catalog_datacenters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_datacenters.go -------------------------------------------------------------------------------- /action/catalog_deregister.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_deregister.go -------------------------------------------------------------------------------- /action/catalog_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_node.go -------------------------------------------------------------------------------- /action/catalog_nodes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_nodes.go -------------------------------------------------------------------------------- /action/catalog_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_register.go -------------------------------------------------------------------------------- /action/catalog_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_service.go -------------------------------------------------------------------------------- /action/catalog_services.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/catalog_services.go -------------------------------------------------------------------------------- /action/check_deregister.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_deregister.go -------------------------------------------------------------------------------- /action/check_fail.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_fail.go -------------------------------------------------------------------------------- /action/check_pass.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_pass.go -------------------------------------------------------------------------------- /action/check_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_register.go -------------------------------------------------------------------------------- /action/check_update.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_update.go -------------------------------------------------------------------------------- /action/check_warn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/check_warn.go -------------------------------------------------------------------------------- /action/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/config.go -------------------------------------------------------------------------------- /action/consul.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/consul.go -------------------------------------------------------------------------------- /action/coordinate_datacenters.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/coordinate_datacenters.go -------------------------------------------------------------------------------- /action/coordinate_nodes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/coordinate_nodes.go -------------------------------------------------------------------------------- /action/event_fire.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/event_fire.go -------------------------------------------------------------------------------- /action/event_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/event_list.go -------------------------------------------------------------------------------- /action/health_checks.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/health_checks.go -------------------------------------------------------------------------------- /action/health_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/health_node.go -------------------------------------------------------------------------------- /action/health_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/health_service.go -------------------------------------------------------------------------------- /action/health_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/health_state.go -------------------------------------------------------------------------------- /action/kv_bulkload.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_bulkload.go -------------------------------------------------------------------------------- /action/kv_delete.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_delete.go -------------------------------------------------------------------------------- /action/kv_keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_keys.go -------------------------------------------------------------------------------- /action/kv_lock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_lock.go -------------------------------------------------------------------------------- /action/kv_read.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_read.go -------------------------------------------------------------------------------- /action/kv_unlock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_unlock.go -------------------------------------------------------------------------------- /action/kv_watch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_watch.go -------------------------------------------------------------------------------- /action/kv_write.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/kv_write.go -------------------------------------------------------------------------------- /action/map_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/map_slice.go -------------------------------------------------------------------------------- /action/map_slice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/map_slice_test.go -------------------------------------------------------------------------------- /action/operator_autopilot_get.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_autopilot_get.go -------------------------------------------------------------------------------- /action/operator_autopilot_set.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_autopilot_set.go -------------------------------------------------------------------------------- /action/operator_keyring_install.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_keyring_install.go -------------------------------------------------------------------------------- /action/operator_keyring_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_keyring_list.go -------------------------------------------------------------------------------- /action/operator_keyring_remove.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_keyring_remove.go -------------------------------------------------------------------------------- /action/operator_keyring_use.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_keyring_use.go -------------------------------------------------------------------------------- /action/operator_raft_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_raft_config.go -------------------------------------------------------------------------------- /action/operator_raft_delete.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/operator_raft_delete.go -------------------------------------------------------------------------------- /action/output.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/output.go -------------------------------------------------------------------------------- /action/raw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/raw.go -------------------------------------------------------------------------------- /action/service_deregister.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/service_deregister.go -------------------------------------------------------------------------------- /action/service_maintenance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/service_maintenance.go -------------------------------------------------------------------------------- /action/service_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/service_register.go -------------------------------------------------------------------------------- /action/session_create.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_create.go -------------------------------------------------------------------------------- /action/session_destroy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_destroy.go -------------------------------------------------------------------------------- /action/session_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_info.go -------------------------------------------------------------------------------- /action/session_list.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_list.go -------------------------------------------------------------------------------- /action/session_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_node.go -------------------------------------------------------------------------------- /action/session_renew.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/session_renew.go -------------------------------------------------------------------------------- /action/snapshot_restore.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/snapshot_restore.go -------------------------------------------------------------------------------- /action/snapshot_save.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/snapshot_save.go -------------------------------------------------------------------------------- /action/status_leader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/status_leader.go -------------------------------------------------------------------------------- /action/status_peers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/status_peers.go -------------------------------------------------------------------------------- /action/string_slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/string_slice.go -------------------------------------------------------------------------------- /action/txn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/action/txn.go -------------------------------------------------------------------------------- /commands/acl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/acl.go -------------------------------------------------------------------------------- /commands/agent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/agent.go -------------------------------------------------------------------------------- /commands/catalog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/catalog.go -------------------------------------------------------------------------------- /commands/check.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/check.go -------------------------------------------------------------------------------- /commands/check_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/check_test.go -------------------------------------------------------------------------------- /commands/coordinate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/coordinate.go -------------------------------------------------------------------------------- /commands/event.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/event.go -------------------------------------------------------------------------------- /commands/health.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/health.go -------------------------------------------------------------------------------- /commands/kv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/kv.go -------------------------------------------------------------------------------- /commands/operator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/operator.go -------------------------------------------------------------------------------- /commands/root.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/root.go -------------------------------------------------------------------------------- /commands/root_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/root_test.go -------------------------------------------------------------------------------- /commands/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/service.go -------------------------------------------------------------------------------- /commands/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/service_test.go -------------------------------------------------------------------------------- /commands/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/session.go -------------------------------------------------------------------------------- /commands/snapshot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/snapshot.go -------------------------------------------------------------------------------- /commands/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/status.go -------------------------------------------------------------------------------- /commands/txn.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/commands/txn.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/main.go -------------------------------------------------------------------------------- /test/check-register.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/test/check-register.json -------------------------------------------------------------------------------- /test/start_container.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/test/start_container.sh -------------------------------------------------------------------------------- /test/stop_container.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/test/stop_container.sh -------------------------------------------------------------------------------- /test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mantl/consul-cli/HEAD/test/test.sh --------------------------------------------------------------------------------