Documentation
¶
Overview ¶
Package etcd 实现 etcd binder:KV 浏览、查询面板、连接测试。
Index ¶
- type Etcd
- func (e *Etcd) Cleanup()
- func (e *Etcd) EtcdExec(req etcd_svc.ExecRequest) (*etcd_svc.ExecResult, error)
- func (e *Etcd) EtcdListPrefix(req etcd_svc.ListPrefixRequest) (*etcd_svc.ListPrefixResult, error)
- func (e *Etcd) EtcdTestConnection(assetID int64) error
- func (e *Etcd) Startup(ctx context.Context)
- type LangProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
Etcd binder。
func (*Etcd) EtcdExec ¶
func (e *Etcd) EtcdExec(req etcd_svc.ExecRequest) (*etcd_svc.ExecResult, error)
EtcdExec 执行 etcd 操作(get/put/del/lease/member/endpoint),来源标记为查询面板。
func (*Etcd) EtcdListPrefix ¶
func (e *Etcd) EtcdListPrefix(req etcd_svc.ListPrefixRequest) (*etcd_svc.ListPrefixResult, error)
EtcdListPrefix 按前缀分层列出 keys(用于 KV 树懒加载)。
func (*Etcd) EtcdTestConnection ¶
EtcdTestConnection 即时拨号验证 etcd 资产可达。
Click to show internal directories.
Click to hide internal directories.