Documentation ¶
Index ¶
- func AddQuerySpecModelHandler(prefix, managerPluralKey string, handleFunc specQueryHandleFunc, ...)
- func AddSpecHandler(prefix string, app *appsrv.Application)
- func QueryObjects(manager models.ISpecModelManager, objs []models.ISpecModel, specKeys []string, ...) []models.ISpecModel
- func QueryObjectsToJson(manager models.ISpecModelManager, objs []models.ISpecModel, ...) (jsonutils.JSONObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddQuerySpecModelHandler ¶
func AddQuerySpecModelHandler(prefix, managerPluralKey string, handleFunc specQueryHandleFunc, app *appsrv.Application)
func AddSpecHandler ¶
func AddSpecHandler(prefix string, app *appsrv.Application)
func QueryObjects ¶
func QueryObjects( manager models.ISpecModelManager, objs []models.ISpecModel, specKeys []string, isOkF func(models.ISpecModel) bool, statusCheck bool, ) []models.ISpecModel
func QueryObjectsToJson ¶
func QueryObjectsToJson(manager models.ISpecModelManager, objs []models.ISpecModel, ctx context.Context, userCred mcclient.TokenCredential, query jsonutils.JSONObject) (jsonutils.JSONObject, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.