internal/

directory
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package browserx shows a sign-in page in a browser window and reads the address the sign-in ends on.
Package browserx shows a sign-in page in a browser window and reads the address the sign-in ends on.
Package cachex talks to Redis-compatible caches (Redis, Valkey, KeyDB, Dragonfly) and memcached, and classifies their commands by risk.
Package cachex talks to Redis-compatible caches (Redis, Valkey, KeyDB, Dragonfly) and memcached, and classifies their commands by risk.
Package cli wires every komando command.
Package cli wires every komando command.
Package cloud holds komando's own clients for cloud and secret-manager APIs, so no vendor CLI (aws, gcloud, vault) has to be installed (docs/design/built-in.md).
Package cloud holds komando's own clients for cloud and secret-manager APIs, so no vendor CLI (aws, gcloud, vault) has to be installed (docs/design/built-in.md).
Package dbx runs classified SQL against a conn and turns the result into plain JSON values.
Package dbx runs classified SQL against a conn and turns the result into plain JSON values.
Package driver describes the kinds of non-SSH resources komando can talk to (databases, caches, queues, object storage) and the risk levels its safety checks work with.
Package driver describes the kinds of non-SSH resources komando can talk to (databases, caches, queues, object storage) and the risk levels its safety checks work with.
Package ipsec holds komando's own IPsec clients: IKEv1 (for L2TP/IPsec and Cisco-style IPsec with XAUTH) and IKEv2, with ESP carried in UDP (RFC 3948), so they run as an ordinary program without admin rights and without changing the computer's network: komando always tells the server it is behind NAT, so ESP never needs a raw socket.
Package ipsec holds komando's own IPsec clients: IKEv1 (for L2TP/IPsec and Cisco-style IPsec with XAUTH) and IKEv2, with ESP carried in UDP (RFC 3948), so they run as an ordinary program without admin rights and without changing the computer's network: komando always tells the server it is behind NAT, so ESP never needs a raw socket.
Package kube talks to the Kubernetes API directly over HTTPS, from one kubeconfig context, without client-go.
Package kube talks to the Kubernetes API directly over HTTPS, from one kubeconfig context, without client-go.
Package l2tp is komando's own L2TP client (RFC 2661): one tunnel with one session carrying PPP, which logs in and brings up IPv4.
Package l2tp is komando's own L2TP client (RFC 2661): one tunnel with one session carrying PPP, which logs in and brings up IPv4.
Package netx opens the networks komando reaches targets through (docs/design/network.md).
Package netx opens the networks komando reaches targets through (docs/design/network.md).
Package openvpn is komando's own OpenVPN client: the control channel (TLS over OpenVPN's reliable transport, with tls-auth or tls-crypt), the key exchange (key-method 2, TLS-EKM or the OpenVPN PRF), the data channel (AES-GCM, ChaCha20-Poly1305, or AES-CBC with HMAC) and the pushed options.
Package openvpn is komando's own OpenVPN client: the control channel (TLS over OpenVPN's reliable transport, with tls-auth or tls-crypt), the key exchange (key-method 2, TLS-EKM or the OpenVPN PRF), the data channel (AES-GCM, ChaCha20-Poly1305, or AES-CBC with HMAC) and the pushed options.
Package out renders every command result as a stable, machine-readable envelope.
Package out renders every command result as a stable, machine-readable envelope.
Package policy detects destructive commands so an agent cannot wreck a server by accident.
Package policy detects destructive commands so an agent cannot wreck a server by accident.
Package ppp is a minimal PPP peer for the VPNs that carry PPP (L2TP): LCP (RFC 1661), IPCP with DNS (RFC 1332, RFC 1877) and the logins the server asks for: CHAP-MD5 (RFC 1994), MS-CHAPv2 (RFC 2759, with the server's proof checked) and, only when the VPN allows it, PAP (RFC 1334), which sends the password itself.
Package ppp is a minimal PPP peer for the VPNs that carry PPP (L2TP): LCP (RFC 1661), IPCP with DNS (RFC 1332, RFC 1877) and the logins the server asks for: CHAP-MD5 (RFC 1994), MS-CHAPv2 (RFC 2759, with the server's proof checked) and, only when the VPN allows it, PAP (RFC 1334), which sends the password itself.
Package proxyx sends komando's HTTPS clients through the company proxy that the environment names (HTTPS_PROXY, HTTP_PROXY, NO_PROXY), as curl, kubectl and docker do.
Package proxyx sends komando's HTTPS clients through the company proxy that the environment names (HTTPS_PROXY, HTTP_PROXY, NO_PROXY), as curl, kubectl and docker do.
proxytest
Package proxytest is a small HTTP CONNECT proxy for tests.
Package proxytest is a small HTTP CONNECT proxy for tests.
Package queuex talks to message queues for `komando queue`: Apache Kafka (and what speaks its protocol: Redpanda, MSK, Confluent Cloud) through franz-go, and the engines that register themselves from its subfolders (RabbitMQ, NATS JetStream, Amazon SQS, Google Cloud Pub/Sub).
Package queuex talks to message queues for `komando queue`: Apache Kafka (and what speaks its protocol: Redpanda, MSK, Confluent Cloud) through franz-go, and the engines that register themselves from its subfolders (RabbitMQ, NATS JetStream, Amazon SQS, Google Cloud Pub/Sub).
nats
Package nats is the NATS JetStream engine of `komando queue`, through github.com/nats-io/nats.go.
Package nats is the NATS JetStream engine of `komando queue`, through github.com/nats-io/nats.go.
pubsub
Package pubsub is the Google Cloud Pub/Sub engine of `komando queue`.
Package pubsub is the Google Cloud Pub/Sub engine of `komando queue`.
rabbitmq
Package rabbitmq is the RabbitMQ engine of `komando queue` (AMQP 0-9-1, through github.com/rabbitmq/amqp091-go).
Package rabbitmq is the RabbitMQ engine of `komando queue` (AMQP 0-9-1, through github.com/rabbitmq/amqp091-go).
sqs
Package sqs is the Amazon SQS engine of `komando queue`.
Package sqs is the Amazon SQS engine of `komando queue`.
Package registry talks to container registries (Docker Hub, GHCR, GitLab, Harbor, ECR, ACR, Artifact Registry, registry:2) over the OCI Distribution API, with basic or bearer-token auth.
Package registry talks to container registries (Docker Hub, GHCR, GitLab, Harbor, ECR, ACR, Artifact Registry, registry:2) over the OCI Distribution API, with basic or bearer-token auth.
Package sshx dials hosts from the inventory (with jump-host chains, keychain/agent/password auth and TOFU host-key checking) and runs commands.
Package sshx dials hosts from the inventory (with jump-host chains, keychain/agent/password auth and TOFU host-key checking) and runs commands.
Package sslvpn holds komando's own clients for corporate SSL VPNs: Cisco AnyConnect / ocserv, Fortinet, Palo Alto GlobalProtect, F5 BIG-IP and Pulse/Ivanti.
Package sslvpn holds komando's own clients for corporate SSL VPNs: Cisco AnyConnect / ocserv, Fortinet, Palo Alto GlobalProtect, F5 BIG-IP and Pulse/Ivanti.
Package store persists komando state (inventory, conns, keys, snippets, jobs, tunnels, settings) as JSON files under $KOMANDO_HOME (default ~/.komando).
Package store persists komando state (inventory, conns, keys, snippets, jobs, tunnels, settings) as JSON files under $KOMANDO_HOME (default ~/.komando).
Package storex gives `komando storage` one interface over S3-compatible object storage (AWS S3, MinIO, R2, Wasabi, Spaces, B2), Google Cloud Storage, Azure Blob, FTP/FTPS, SFTP, WebDAV and SMB shares.
Package storex gives `komando storage` one interface over S3-compatible object storage (AWS S3, MinIO, R2, Wasabi, Spaces, B2), Google Cloud Storage, Azure Blob, FTP/FTPS, SFTP, WebDAV and SMB shares.
Package vault stores secrets (passwords, key passphrases, tokens) encrypted with AES-256-GCM, each bound to its name.
Package vault stores secrets (passwords, key passphrases, tokens) encrypted with AES-256-GCM, each bound to its name.
Package winrm is komando's own WinRM client: it runs one command on a Windows server through WS-Management (the Windows Remote Shell protocol, MS-WSMV), over HTTPS or HTTP, with NTLM or Basic login.
Package winrm is komando's own WinRM client: it runs one command on a Windows server through WS-Management (the Windows Remote Shell protocol, MS-WSMV), over HTTPS or HTTP, with NTLM or Basic login.

Jump to

Keyboard shortcuts

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