Documentation ¶
Index ¶
- func AddOneRecord(userInfo proto.ApulisHeader, content *nodemodule.CreateNodeOfBatchReq) error
- func AnalyzeCSV(batchID int, filePath string) error
- func CreateBatchTask(userInfo proto.ApulisHeader) (int, error)
- func CreateEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.CreateEdgeNodeReq) (*nodeentity.NodeBasicInfo, error)
- func CreateInstallScripts(nodeInfo nodeentity.NodeBasicInfo, targetArch string) (string, error)
- func CreateNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.CreateEdgeNodeReq) (*nodeentity.NodeGroupInfo, error)
- func DeleteEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.DeleteEdgeNodeReq) error
- func DeleteNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.DeleteEdgeNodeReq) error
- func DeleteNodeOfBatch(userInfo proto.ApulisHeader, req *nodemodule.DeleteNodeOfBatchReq) error
- func DescribeEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.DescribeEdgeNodesReq) (*nodeentity.NodeBasicInfo, error)
- func DescribeNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.DescribeEdgeNodesReq) (*nodeentity.NodeBasicInfo, error)
- func GetInstallScripts(userInfo proto.ApulisHeader, req *nodemodule.GetInstallScriptReq) (string, error)
- func ListArchType(userInfo proto.ApulisHeader, req *nodemodule.ListArchTypeReq) ([]string, error)
- func ListBatchList(userInfo *proto.ApulisHeader, batchID int, pageSize int, pageNum int) (*nodeentity.BatchTaskRecord, *[]nodeentity.NodeOfBatchInfo, error)
- func ListEdgeNodeType(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodeTypeReq) ([]string, error)
- func ListEdgeNodes(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodesReq) (*[]nodeentity.NodeBasicInfo, int, error)
- func ListNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodesReq) (*[]nodeentity.NodeGroupInfo, int, error)
- func UpdateBatch(userInfo proto.ApulisHeader, id int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddOneRecord ¶
func AddOneRecord(userInfo proto.ApulisHeader, content *nodemodule.CreateNodeOfBatchReq) error
func AnalyzeCSV ¶
func CreateBatchTask ¶
func CreateBatchTask(userInfo proto.ApulisHeader) (int, error)
func CreateEdgeNode ¶
func CreateEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.CreateEdgeNodeReq) (*nodeentity.NodeBasicInfo, error)
func CreateInstallScripts ¶
func CreateInstallScripts(nodeInfo nodeentity.NodeBasicInfo, targetArch string) (string, error)
func CreateNodeGroup ¶
func CreateNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.CreateEdgeNodeReq) (*nodeentity.NodeGroupInfo, error)
func DeleteEdgeNode ¶
func DeleteEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.DeleteEdgeNodeReq) error
delete edge node
func DeleteNodeGroup ¶
func DeleteNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.DeleteEdgeNodeReq) error
delete edge group
func DeleteNodeOfBatch ¶
func DeleteNodeOfBatch(userInfo proto.ApulisHeader, req *nodemodule.DeleteNodeOfBatchReq) error
func DescribeEdgeNode ¶
func DescribeEdgeNode(userInfo proto.ApulisHeader, req *nodemodule.DescribeEdgeNodesReq) (*nodeentity.NodeBasicInfo, error)
func DescribeNodeGroup ¶
func DescribeNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.DescribeEdgeNodesReq) (*nodeentity.NodeBasicInfo, error)
func GetInstallScripts ¶
func GetInstallScripts(userInfo proto.ApulisHeader, req *nodemodule.GetInstallScriptReq) (string, error)
GetInstallScripts generate install script
func ListArchType ¶
func ListArchType(userInfo proto.ApulisHeader, req *nodemodule.ListArchTypeReq) ([]string, error)
////// arch type ////////
func ListBatchList ¶
func ListBatchList(userInfo *proto.ApulisHeader, batchID int, pageSize int, pageNum int) (*nodeentity.BatchTaskRecord, *[]nodeentity.NodeOfBatchInfo, error)
func ListEdgeNodeType ¶
func ListEdgeNodeType(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodeTypeReq) ([]string, error)
////// node type ////////
func ListEdgeNodes ¶
func ListEdgeNodes(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodesReq) (*[]nodeentity.NodeBasicInfo, int, error)
func ListNodeGroup ¶
func ListNodeGroup(userInfo proto.ApulisHeader, req *nodemodule.ListEdgeNodesReq) (*[]nodeentity.NodeGroupInfo, int, error)
func UpdateBatch ¶
func UpdateBatch(userInfo proto.ApulisHeader, id int) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.