Versions Compared

Key

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

...

// Add a resource under the given level and return new handle
func (rtc *RunTimeContext) RtcAddResource(handle interface{}, key stringinterface{}, value []byteinterface{}) (interface{}, error)

// Delete the given resource by using its handle
func (rtc *RunTimeContext) RtcDeleteResource(handle interface{}) (error)

...

// Get the resource from a given handle
func (rtc *RunTimeContext) RtcGetResource(handle interface{}) ([]byteinterface{}, error)

// Add ordering instruction at a given level and return the new handle
func (rtc *RunTimeContext) RtcAddInstOrder(handle interface{}, value []byteinterface{}) (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 []byteinterface{}) (interface{}, error)

// Delete dependency instruction for a given handle
func (rtc *RunTimeContext) RtcDeleteInstDependency(handle interface{}) (error)

...