Documentation ¶
Index ¶
- Constants
- Variables
- func BuildTargetSrc(path string) bool
- func CheckGit() bool
- func CheckPath(path string) bool
- func ConstructSendmsg(cmd string) ([]byte, uint, error)
- func ExecShell(cmdstring string) (retstr string, ret bool)
- func GetSrcCode(srcurl string, branch string, commitid string, localpath string) bool
- func ParseReceiveMsg(cmd string) (interface{}, error)
- type EnclaveInfo
- type GetEnclaveInfo
Constants ¶
View Source
const ( MRENCLAVE_HASH_SIZE = 32 MRSINGER_HASH_SIZE = 32 MANAGE_POOL_MAXSIZE = 2048 ManageCmd1 = "GETENCLAVEINFO" )
Variables ¶
View Source
var ReceiveMsg [MANAGE_POOL_MAXSIZE]byte
View Source
var ReceiveMsgLen uint = 0
Functions ¶
func BuildTargetSrc ¶
func GetSrcCode ¶
download target source code to local path
func ParseReceiveMsg ¶
Types ¶
type EnclaveInfo ¶
type GetEnclaveInfo ¶
type GetEnclaveInfo struct {
MsgType string `json:"type"`
}
Click to show internal directories.
Click to hide internal directories.