type RunTimeContext struct {
cid interface{}
}
//Create context by assigning a new id
func (rtc *RunTimeContext) RtcCreate() (interface{}, error)
//delete the given context
func (rtc *RunTimeContext) RtcDelete(cname interface{}) (error)
//Add a new level at a given handle and return the new handle
func (rtc *RunTimeContext) RtcAddLevel(hname interface{}, level string, value string) (interface{}, error)
// Delete the given handle and all levels underneath
func (rtc *RunTimeContext) RtcDeleteLevel(hname interface{}) (error)
// Add a resource under the given level and return new handle
func (rtc *RunTimeContext) RtcAddResource(handle interface{}, key string, value []byte) (interface{}, error)
// Delete the given resource by using its handle
func (rtc *RunTimeContext) RtcDeleteResource(handle interface{}) (error)
// Return all the resource handles
func (rtc *RunTimeContext) RtcGetResourceHandles() ([]interface{}, error)
// Get the resource from a given handle
func (rtc *RunTimeContext) RtcGetResource(handle interface{}) ([]byte, error)
// Add ordering instruction at a given level and return the new handle
func (rtc *RunTimeContext) RtcAddInstOrder(handle interface{}, value []byte) (interface{}, error)
// Delete ordering instruction for a given handle
func (rtc *RunTimeContext) RtcDeleteInstOrder(handle interface{}) (error)
// Add dependency instruction at a given level and return the new handle
func (rtc *RunTimeContext) RtcAddInstDependency(handle interface{}, value []byte) (interface{}, error)
// Delete dependency instruction for a given handle
func (rtc *RunTimeContext) RtcDeleteInstDependency(handle interface{}) (error)
// Return the list of handles for the given level
func (rtc *RunTimeContext) RtcGetHandles(level string) ([]interface{}, error)