Documentation
¶
Index ¶
- func CreatePatchOperation(app core.App, userID string, req types.PatchRequest) (*types.PatchResponse, error)
- func GetPatchOperation(app core.App, userID, operationID string) (*types.PatchResponse, error)
- func GetPatchOperations(app core.App, userID string) ([]*types.PatchResponse, error)
- func HandlePatchOperations(app core.App, c *core.RequestEvent) error
- func HandlePatchResult(app core.App, c *core.RequestEvent) error
- func HandleValidateScript(app core.App, c *core.RequestEvent) error
- func UpdatePatchStatus(app core.App, userID, operationID string, status types.PatchStatus, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePatchOperation ¶
func CreatePatchOperation(app core.App, userID string, req types.PatchRequest) (*types.PatchResponse, error)
CreatePatchOperation creates a new patch operation record
func GetPatchOperation ¶
GetPatchOperation retrieves a single patch operation by ID
func GetPatchOperations ¶
GetPatchOperations retrieves all patch operations for a user
func HandlePatchOperations ¶
func HandlePatchOperations(app core.App, c *core.RequestEvent) error
HandlePatchOperations handles patch operation API endpoints
func HandlePatchResult ¶
func HandlePatchResult(app core.App, c *core.RequestEvent) error
HandlePatchResult handles upload of patch execution results (stdout, stderr, exit code)
func HandleValidateScript ¶
func HandleValidateScript(app core.App, c *core.RequestEvent) error
HandleValidateScript validates script SHA256
func UpdatePatchStatus ¶
func UpdatePatchStatus( app core.App, userID, operationID string, status types.PatchStatus, outputPath string, errorMsg string, ) error
UpdatePatchStatus updates patch operation status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.