Documentation ¶
Index ¶
- type Chain
- func (c *Chain) Close()
- func (c *Chain) GetBootPeers() ([]types.P2PAddr, error)
- func (m *Chain) GetMetaApi(w gtypes.WorkId) (gtypes.ApiMeta, error)
- func (c *Chain) GetNodeList() ([][]byte, error)
- func (c *Chain) GetWorkerList() ([]*types.K8sCluster, error)
- func (m *Chain) ListTeeCalls(cid uint64, callId []types.U128) ([]*gtypes.TEECall, []types.U128, []types.StorageKey, error)
- func (c *Chain) RegisterNode(signer *core.Signer, pubkey []byte) error
- func (m *Chain) TeeCallback(cid uint64, callId []types.U128, callbacks []util.TeeCallBack) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { *chain.ChainClient // contains filtered or unexported fields }
Chain
func (*Chain) GetBootPeers ¶
获取worker的BootPeers Get BootPeers
func (*Chain) GetNodeList ¶
获取节点列表 GetNodeList get node list
func (*Chain) GetWorkerList ¶
func (c *Chain) GetWorkerList() ([]*types.K8sCluster, error)
查询worker列表 Get WorkerList
func (*Chain) ListTeeCalls ¶
func (m *Chain) ListTeeCalls(cid uint64, callId []types.U128) ([]*gtypes.TEECall, []types.U128, []types.StorageKey, error)
list tee calls
func (*Chain) RegisterNode ¶
RegisterNode register node 注册节点
func (*Chain) TeeCallback ¶
Click to show internal directories.
Click to hide internal directories.