Documentation ¶
Index ¶
- Constants
- type ApiServer
- func (as *ApiServer) CntlrAddInstanceReq(epId string, objs []*object) ([]*Instance, error)
- func (as *ApiServer) CntlrDeleteInstanceReq(epId string, objPath string) error
- func (as *ApiServer) CntlrGetAgentMsgs(epId string) error
- func (as *ApiServer) CntlrGetDatamodelReq(epId string, path string) error
- func (as *ApiServer) CntlrGetInstancesReq(epId string, objPath string, firstLevelOnly bool) error
- func (as *ApiServer) CntlrGetParamReq(epId string, path string) error
- func (as *ApiServer) CntlrOperateReq(epId string, cmd string, cmdKey string, resp bool, inputs map[string]string) error
- func (as *ApiServer) CntlrSetParamReq(epId string, path string, params map[string]string) error
- func (as *ApiServer) GetCntlrInfo() (*CntlrInfo, error)
- func (as *ApiServer) Init() error
- func (as *ApiServer) IsConnectedToCntlr() bool
- func (as *ApiServer) IsConnectedToDb() bool
- func (as *ApiServer) Server() error
- type CntlrInfo
- type DmObject
- type Instance
- type NotifyType
- type ObjParam
- type Param
Constants ¶
View Source
const ( GET_DM = "/get/dm/" UPDATE_DM = "/update/dm/" GET_PARAMS = "/get/params/" SET_PARAMS = "/set/params/" UPDATE_PARAMS = "/update/params/" GET_INSTANCES = "/get/instances/" ADD_INSTANCES = "/add/instances/" DELETE_INSTANCES = "/delete/instances/" UPDATE_INSTANCES = "/update/instances/" OPERATE_CMD = "/operate/cmd/" RECONNECT_MTP = "/reconnect/mtp/" RECONNECT_DB = "/reconnect/db/" DELETE_DBCOLL = "/delete/dbcoll/" GET_AGENTS = "/get/agents/" GET_MTPINFO = "/get/mtpinfo/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func (*ApiServer) CntlrAddInstanceReq ¶
func (*ApiServer) CntlrDeleteInstanceReq ¶
func (*ApiServer) CntlrGetAgentMsgs ¶
func (*ApiServer) CntlrGetDatamodelReq ¶
func (*ApiServer) CntlrGetInstancesReq ¶
func (*ApiServer) CntlrGetParamReq ¶
func (*ApiServer) CntlrOperateReq ¶
func (*ApiServer) CntlrSetParamReq ¶
func (*ApiServer) GetCntlrInfo ¶
func (*ApiServer) IsConnectedToCntlr ¶
func (*ApiServer) IsConnectedToDb ¶
type NotifyType ¶
type NotifyType byte
const ( NotifyEvent NotifyType = iota NotifyValueChange NotifyObjCreation NotifyObjDeletion NotifyOpComplete NotifyOnBoardReq )
Click to show internal directories.
Click to hide internal directories.