Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

//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 interface{}, value interface{}) (interface{}, error)

// Delete the given resource by using its Add instruction at a given level and type, return the new handle
func (rtc *RunTimeContext) RtcDeleteResourceRtcAddInstruction(handle interface{}, level string, insttype string, value interface{}) (interface{}, error)

// Return the list of handles for the given leveldelete the key value pair using given handle
func (rtc *RunTimeContext) RtcGetHandles(level string) ([]RtcDeletePair(cname interface{}, ) (error)

// Get the value for a delete all handles underneath the given handle

func (rtc *RunTimeContext) RtcGetValueRtcDeletePrefix(handle cname interface{}) (interface{}, error)

// Add instruction at a given level and type, return the new Return the list of handles under the given handle
func (rtc *RunTimeContext) RtcAddInstructionRtcGetHandles(handle interface{}, level string, insttype string, value interface{}) ([]interface{}, error)

// Delete instruction Get the value for a given handle
func (rtc *RunTimeContext) RtcDeleteInstructionRtcGetValue(handle interface{}) (interface{}, error)