Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Handlers = []apis.Handler{ { Version: apis.V1, Method: http.MethodGet, Path: "/triggers/materials", Func: listMaterials, }, { Version: apis.V1, Method: http.MethodPost, Path: "/triggers/materials/script/verify", Func: verifyMaterialScript, }, { Version: apis.V1, Method: http.MethodGet, Path: "/triggers", Func: listTriggers, }, { Version: apis.V1, Method: http.MethodGet, Path: "/triggers/:triggerName", Func: getTrigger, }, { Version: apis.V1, Method: http.MethodPatch, Path: "/triggers/:triggerName", Func: applyTrigger, }, { Version: apis.V1, Method: http.MethodPatch, Path: "/triggers/:triggerName/enable", Func: enableOrDisableTrigger, }, { Version: apis.V1, Method: http.MethodPatch, Path: "/triggers/tasks/:triggerName", Func: updateTriggerTask, }, } )
Functions ¶
This section is empty.
Types ¶
type Notifications ¶
type Response ¶
type Response struct { Script `json:"scriptTypes"` Notifications `json:"notifications"` }
Click to show internal directories.
Click to hide internal directories.