Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
devserver
command
cmd/devserver/host.go
|
cmd/devserver/host.go |
|
opsctl
command
|
|
|
e2e
|
|
|
fixtures/ssh-mock
command
Minimal SSH server mock for the e2e harness — just enough for the app's SSH "Test Connection" (a TCP dial + SSH handshake, no command) to pass against a hermetic in-harness server.
|
Minimal SSH server mock for the e2e harness — just enough for the app's SSH "Test Connection" (a TCP dial + SSH handshake, no command) to pass against a hermetic in-harness server. |
|
internal
|
|
|
ai/aictx
Package aictx 提供 internal/ai 各子包共享的 context 键、决策原语与 slot 协议。
|
Package aictx 提供 internal/ai 各子包共享的 context 键、决策原语与 slot 协议。 |
|
ai/audit
Package audit 提供 AI/opsctl 工具调用的审计写入接口与默认实现。
|
Package audit 提供 AI/opsctl 工具调用的审计写入接口与默认实现。 |
|
app/ai
Package ai 实现 ai binder:会话管理、消息收发、provider 配置、AI 工具审批。
|
Package ai 实现 ai binder:会话管理、消息收发、provider 配置、AI 工具审批。 |
|
app/etcd
Package etcd 实现 etcd binder:KV 浏览、查询面板、连接测试。
|
Package etcd 实现 etcd binder:KV 浏览、查询面板、连接测试。 |
|
app/extension
Package extension 实现 extension binder:扩展安装/启停、tool 调用、snippet 管理。
|
Package extension 实现 extension binder:扩展安装/启停、tool 调用、snippet 管理。 |
|
app/external_edit
Package external_edit 实现远程文件外部编辑 binder: 仅做依赖装配和 IPC 转发,状态机/编码/审计等业务逻辑都下沉到 external_edit_svc。
|
Package external_edit 实现远程文件外部编辑 binder: 仅做依赖装配和 IPC 转发,状态机/编码/审计等业务逻辑都下沉到 external_edit_svc。 |
|
app/i18n
Package i18n 提供 binder 共用的语言上下文工具。
|
Package i18n 提供 binder 共用的语言上下文工具。 |
|
app/k8s
Package k8s 实现 k8s binder:集群/命名空间资源、Pod 详情与日志流。
|
Package k8s 实现 k8s binder:集群/命名空间资源、Pod 详情与日志流。 |
|
app/kafka
Package kafka 实现 kafka binder:Topic/Consumer Group/Schema/Connect/ACL 管理。
|
Package kafka 实现 kafka binder:Topic/Consumer Group/Schema/Connect/ACL 管理。 |
|
app/local
Package local 实现 local binder:本地终端连接、读写、尺寸调整。
|
Package local 实现 local binder:本地终端连接、读写、尺寸调整。 |
|
app/opsctl
Package opsctl 实现 opsctl binder:对 opsctl CLI 暴露的 Unix socket 桥(审批 + 资产 + SSH 池代理)。
|
Package opsctl 实现 opsctl binder:对 opsctl CLI 暴露的 Unix socket 桥(审批 + 资产 + SSH 池代理)。 |
|
app/oss
Package oss 实现 OSS(对象存储)binder:Bucket/对象浏览、连接测试。
|
Package oss 实现 OSS(对象存储)binder:Bucket/对象浏览、连接测试。 |
|
app/query
Package query 实现 query binder:SQL/Mongo/Redis 执行 + 三种面板连接缓存 + 表导出。
|
Package query 实现 query binder:SQL/Mongo/Redis 执行 + 三种面板连接缓存 + 表导出。 |
|
app/rdp
Package rdp implements the RDP binder.
|
Package rdp implements the RDP binder. |
|
app/redis
Package redis 实现 redis binder:Redis 浏览/编辑(key 扫描、读写、TTL、慢日志等)。
|
Package redis 实现 redis binder:Redis 浏览/编辑(key 扫描、读写、TTL、慢日志等)。 |
|
app/serial
Package serial 实现 serial binder:串口连接、读写、重置。
|
Package serial 实现 serial binder:串口连接、读写、重置。 |
|
app/ssh
Package ssh 实现 ssh binder:SSH 终端、SFTP、端口转发。
|
Package ssh 实现 ssh binder:SSH 终端、SFTP、端口转发。 |
|
app/sshadapt
Package sshadapt 收纳 binder 之间共用的 SSH 适配器类型,避免循环依赖。
|
Package sshadapt 收纳 binder 之间共用的 SSH 适配器类型,避免循环依赖。 |
|
app/system
Package system 实现 system binder:设置、凭证、资产 CRUD、状态、字体、重启等控制面方法。
|
Package system 实现 system binder:设置、凭证、资产 CRUD、状态、字体、重启等控制面方法。 |
|
assettype
internal/assettype/registry.go
|
internal/assettype/registry.go |
|
pkg/portable
Package portable 判定应用是否运行在便携模式。
|
Package portable 判定应用是否运行在便携模式。 |
|
pkg/socksdial
Package socksdial 提供基于 SOCKS5 代理的 TCP 拨号,供 SSH 与数据库连接共用。
|
Package socksdial 提供基于 SOCKS5 代理的 TCP 拨号,供 SSH 与数据库连接共用。 |
|
pkg/socksdial/socksdialtest
Package socksdialtest 提供测试用的极简 SOCKS5 服务器与 echo 服务,供 socksdial 与 connpool 测试共用。
|
Package socksdialtest 提供测试用的极简 SOCKS5 服务器与 echo 服务,供 socksdial 与 connpool 测试共用。 |
|
pkg/sshkeepalive
Package sshkeepalive runs an OpenSSH-style keepalive heartbeat over an ssh.Client (or any compatible Pinger), so long-lived SSH sessions don't get reaped by NAT/firewall idle timeouts.
|
Package sshkeepalive runs an OpenSSH-style keepalive heartbeat over an ssh.Client (or any compatible Pinger), so long-lived SSH sessions don't get reaped by NAT/firewall idle timeouts. |
|
pkg/sshtuning
Package sshtuning holds the process-wide SSH/TCP connection tuning that is applied to every outbound SSH connection — both interactive terminal sessions (internal/service/ssh_svc) and pooled connections (internal/sshpool).
|
Package sshtuning holds the process-wide SSH/TCP connection tuning that is applied to every outbound SSH connection — both interactive terminal sessions (internal/service/ssh_svc) and pooled connections (internal/sshpool). |
|
pkg/transfer
Package transfer 提供文件传输的通用进度原语:进度事件结构、唯一传输 ID 生成、 以及"节流 + 测速"的进度上报器。
|
Package transfer 提供文件传输的通用进度原语:进度事件结构、唯一传输 ID 生成、 以及"节流 + 测速"的进度上报器。 |
|
repository/asset_repo/mock_asset_repo
Package mock_asset_repo is a generated GoMock package.
|
Package mock_asset_repo is a generated GoMock package. |
|
repository/conversation_repo/mock_conversation_repo
Package mock_conversation_repo is a generated GoMock package.
|
Package mock_conversation_repo is a generated GoMock package. |
|
repository/extension_data_repo/mock_extension_data_repo
Package mock_extension_data_repo is a generated GoMock package.
|
Package mock_extension_data_repo is a generated GoMock package. |
|
repository/extension_state_repo/mock_extension_state_repo
Package mock_extension_state_repo is a generated GoMock package.
|
Package mock_extension_state_repo is a generated GoMock package. |
|
repository/group_repo/mock_group_repo
Package mock_group_repo is a generated GoMock package.
|
Package mock_group_repo is a generated GoMock package. |
|
repository/policy_group_repo/mock_policy_group_repo
Package mock_policy_group_repo is a generated GoMock package.
|
Package mock_policy_group_repo is a generated GoMock package. |
|
repository/snippet_repo/mock_snippet_repo
Package mock_snippet_repo is a generated GoMock package.
|
Package mock_snippet_repo is a generated GoMock package. |
|
service/conntest
Package conntest 维护资产「表单连接测试」的 runtime 分发注册表。
|
Package conntest 维护资产「表单连接测试」的 runtime 分发注册表。 |
|
service/etcd_svc/mock_kv
Package mock_kv is a generated GoMock package.
|
Package mock_kv is a generated GoMock package. |
|
service/localterm_svc
Package localterm_svc 管理本地 shell(PTY)终端会话。
|
Package localterm_svc 管理本地 shell(PTY)终端会话。 |
|
service/oss_svc/mock_ossclient
Package mock_ossclient is a generated GoMock package.
|
Package mock_ossclient is a generated GoMock package. |
|
service/sessionid
Package sessionid mints terminal session IDs with a random instance segment.
|
Package sessionid mints terminal session IDs with a random instance segment. |
|
service/testreg
Package testreg 维护资产「测试连接」操作的可取消上下文注册表。
|
Package testreg 维护资产「测试连接」操作的可取消上下文注册表。 |
|
service/zmodem_svc
Package zmodem_svc 提供 ZMODEM(lrzsz) 传输的本地文件 I/O 桥。
|
Package zmodem_svc 提供 ZMODEM(lrzsz) 传输的本地文件 I/O 桥。 |
|
pkg
|
|
|
client
Package client is the public Go API for embedding opskat capabilities into other binaries (mobile clients via gomobile, future SDK consumers, etc.).
|
Package client is the public Go API for embedding opskat capabilities into other binaries (mobile clients via gomobile, future SDK consumers, etc.). |
|
extension
Package extension provides the core extension framework for OpsKat.
|
Package extension provides the core extension framework for OpsKat. |
|
Package skillplugin provides embedded skill/plugin content for opsctl.
|
Package skillplugin provides embedded skill/plugin content for opsctl. |
Click to show internal directories.
Click to hide internal directories.