Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Snapshot ¶
func Snapshot(p *snapshotpb.SnapshotProgram) (*machinapb.SnapshotResponse, error)
Types ¶
type GoRuntimeTypeResolver ¶
type OutBuf ¶
type OutBuf interface { // Ptr returns a pointer to the memory at the given offset. Ptr(offset uint32) unsafe.Pointer // PrepareFrameData writes the frame header and queue entry to the outBuf and returns // the offset to the data location for the queue entry. PrepareFrameData(typeID uint32, progID uint32, dataLen uint32, depth uint32) (offset uint32, ok bool) // GetEntryLen assumes that the passed offset is immediately following a queue entry // and it extracts the length from that queue entry. GetEntryLen(entryOffset uint32) uint32 // Zero the memory at the given offset for the given length. Zero(offset uint32, len uint32) // Dereference the given memory range. Dereference(offset uint32, ptr uintptr, len uint32) bool // The length of the outBuf in bytes. Len() uint32 }
OutBuf is an interface for interacting with the output buffer.
type ResolvedAnyType ¶
type ResolvedAnyType struct {
// contains filtered or unexported fields
}
type ResolvedEmptyInterface ¶
type ResolvedEmptyInterface struct {
// contains filtered or unexported fields
}
type TypeIDResolver ¶
Click to show internal directories.
Click to hide internal directories.