type AppContext struct {
// opaque to the caller
}
// Init app context
func (ac *AppContext) InitAppContext() (interface{}, error)
// Load app context that was previously created
func (ac *AppContext) LoadAppContext(cid interface{}) (interface{}, error)
// Create a new context and returns the handle
func (ac *AppContext) CreateCompositeApp() (interface{}, error)
...
//Delete cluster from the context and everything undernethunderneath
func (ac *AppContext) DeleteCluster(handle interface{}) (error)
...
//Update the resource value usign using the given handle
func (ac *AppContext) UpdateResourceValue(handle interface{}, value interface{}) (error)
...
//Delete instruction under gievn given handle
func (ac *AppContext) DeleteInstruction(handle interface{}) (error)
//Returns the app instruction for a given instruction type
func (ac *AppContext) GetAppInstruction(insttype string) (interface{}, error)
//Update the instruction usign using the given handle
func (ac *AppContext) UpdateInstructionValue(handle interface{}, value interface{}) (error)
//Returns the resource instruction for a given instruction type
func (ac *AppContext) GetResourceInstruction(appname string, clustername string, insttype string) (interface{}, error)
//Return all the handles under underneath the composite appgiven handle
func (ac *AppContext) GetAllHandles(handle interface{}) ([]interface{}, error)
...