Documentation
¶
Overview ¶
Package oapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- func GetSwagger() (swagger *openapi3.T, err error)
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func NewClickMouseRequest(server string, body ClickMouseJSONRequestBody) (*http.Request, error)
- func NewClickMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateDirectoryRequest(server string, body CreateDirectoryJSONRequestBody) (*http.Request, error)
- func NewCreateDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteDirectoryRequest(server string, body DeleteDirectoryJSONRequestBody) (*http.Request, error)
- func NewDeleteDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteFileRequest(server string, body DeleteFileJSONRequestBody) (*http.Request, error)
- func NewDeleteFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteRecordingRequest(server string, body DeleteRecordingJSONRequestBody) (*http.Request, error)
- func NewDeleteRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDownloadDirZipRequest(server string, params *DownloadDirZipParams) (*http.Request, error)
- func NewDownloadRecordingRequest(server string, params *DownloadRecordingParams) (*http.Request, error)
- func NewDragMouseRequest(server string, body DragMouseJSONRequestBody) (*http.Request, error)
- func NewDragMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewExecutePlaywrightCodeRequest(server string, body ExecutePlaywrightCodeJSONRequestBody) (*http.Request, error)
- func NewExecutePlaywrightCodeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewFileInfoRequest(server string, params *FileInfoParams) (*http.Request, error)
- func NewListFilesRequest(server string, params *ListFilesParams) (*http.Request, error)
- func NewListRecordersRequest(server string) (*http.Request, error)
- func NewLogsStreamRequest(server string, params *LogsStreamParams) (*http.Request, error)
- func NewMoveMouseRequest(server string, body MoveMouseJSONRequestBody) (*http.Request, error)
- func NewMoveMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMovePathRequest(server string, body MovePathJSONRequestBody) (*http.Request, error)
- func NewMovePathRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchChromiumFlagsRequest(server string, body PatchChromiumFlagsJSONRequestBody) (*http.Request, error)
- func NewPatchChromiumFlagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchDisplayRequest(server string, body PatchDisplayJSONRequestBody) (*http.Request, error)
- func NewPatchDisplayRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPressKeyRequest(server string, body PressKeyJSONRequestBody) (*http.Request, error)
- func NewPressKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProcessExecRequest(server string, body ProcessExecJSONRequestBody) (*http.Request, error)
- func NewProcessExecRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProcessKillRequest(server string, processId openapi_types.UUID, body ProcessKillJSONRequestBody) (*http.Request, error)
- func NewProcessKillRequestWithBody(server string, processId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewProcessResizeRequest(server string, processId openapi_types.UUID, body ProcessResizeJSONRequestBody) (*http.Request, error)
- func NewProcessResizeRequestWithBody(server string, processId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewProcessSpawnRequest(server string, body ProcessSpawnJSONRequestBody) (*http.Request, error)
- func NewProcessSpawnRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProcessStatusRequest(server string, processId openapi_types.UUID) (*http.Request, error)
- func NewProcessStdinRequest(server string, processId openapi_types.UUID, body ProcessStdinJSONRequestBody) (*http.Request, error)
- func NewProcessStdinRequestWithBody(server string, processId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewProcessStdoutStreamRequest(server string, processId openapi_types.UUID) (*http.Request, error)
- func NewReadFileRequest(server string, params *ReadFileParams) (*http.Request, error)
- func NewScrollRequest(server string, body ScrollJSONRequestBody) (*http.Request, error)
- func NewScrollRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetCursorRequest(server string, body SetCursorJSONRequestBody) (*http.Request, error)
- func NewSetCursorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetFilePermissionsRequest(server string, body SetFilePermissionsJSONRequestBody) (*http.Request, error)
- func NewSetFilePermissionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStartFsWatchRequest(server string, body StartFsWatchJSONRequestBody) (*http.Request, error)
- func NewStartFsWatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStartRecordingRequest(server string, body StartRecordingJSONRequestBody) (*http.Request, error)
- func NewStartRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStopFsWatchRequest(server string, watchId string) (*http.Request, error)
- func NewStopRecordingRequest(server string, body StopRecordingJSONRequestBody) (*http.Request, error)
- func NewStopRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewStreamFsEventsRequest(server string, watchId string) (*http.Request, error)
- func NewTakeScreenshotRequest(server string, body TakeScreenshotJSONRequestBody) (*http.Request, error)
- func NewTakeScreenshotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewTypeTextRequest(server string, body TypeTextJSONRequestBody) (*http.Request, error)
- func NewTypeTextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadExtensionsAndRestartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadFilesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadZipRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWriteFileRequestWithBody(server string, params *WriteFileParams, contentType string, body io.Reader) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type BadRequestError
- type BadRequestErrorJSONResponse
- type ChiServerOptions
- type ClickMouse200Response
- type ClickMouse400JSONResponse
- type ClickMouse500JSONResponse
- type ClickMouseJSONRequestBody
- type ClickMouseRequest
- type ClickMouseRequestButton
- type ClickMouseRequestClickType
- type ClickMouseRequestObject
- type ClickMouseResponse
- type ClickMouseResponseObject
- type Client
- func (c *Client) ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ClickMouseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteFileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteRecordingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, ...) (*http.Response, error)
- func (c *Client) DownloadRecording(ctx context.Context, params *DownloadRecordingParams, ...) (*http.Response, error)
- func (c *Client) DragMouse(ctx context.Context, body DragMouseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DragMouseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ExecutePlaywrightCodeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFiles(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRecorders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LogsStream(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MoveMouse(ctx context.Context, body MoveMouseJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MoveMouseWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MovePath(ctx context.Context, body MovePathJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MovePathWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchChromiumFlagsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchDisplayWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PressKey(ctx context.Context, body PressKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PressKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProcessExecWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProcessKill(ctx context.Context, processId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ProcessKillWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ProcessResize(ctx context.Context, processId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ProcessResizeWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProcessSpawnWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProcessStatus(ctx context.Context, processId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ProcessStdin(ctx context.Context, processId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ProcessStdinWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) ReadFile(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Scroll(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ScrollWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetCursor(ctx context.Context, body SetCursorJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetCursorWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetFilePermissionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartFsWatchWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StartRecordingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StopFsWatch(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) StopRecordingWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) StreamFsEvents(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TakeScreenshotWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TypeText(ctx context.Context, body TypeTextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TypeTextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadFilesWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadZipWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WriteFileWithBody(ctx context.Context, params *WriteFileParams, contentType string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ClickMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ClickMouseResponse, error)
- func (c *ClientWithResponses) ClickMouseWithResponse(ctx context.Context, body ClickMouseJSONRequestBody, ...) (*ClickMouseResponse, error)
- func (c *ClientWithResponses) CreateDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateDirectoryResponse, error)
- func (c *ClientWithResponses) CreateDirectoryWithResponse(ctx context.Context, body CreateDirectoryJSONRequestBody, ...) (*CreateDirectoryResponse, error)
- func (c *ClientWithResponses) DeleteDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteDirectoryResponse, error)
- func (c *ClientWithResponses) DeleteDirectoryWithResponse(ctx context.Context, body DeleteDirectoryJSONRequestBody, ...) (*DeleteDirectoryResponse, error)
- func (c *ClientWithResponses) DeleteFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteFileResponse, error)
- func (c *ClientWithResponses) DeleteFileWithResponse(ctx context.Context, body DeleteFileJSONRequestBody, ...) (*DeleteFileResponse, error)
- func (c *ClientWithResponses) DeleteRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteRecordingResponse, error)
- func (c *ClientWithResponses) DeleteRecordingWithResponse(ctx context.Context, body DeleteRecordingJSONRequestBody, ...) (*DeleteRecordingResponse, error)
- func (c *ClientWithResponses) DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, ...) (*DownloadDirZipResponse, error)
- func (c *ClientWithResponses) DownloadRecordingWithResponse(ctx context.Context, params *DownloadRecordingParams, ...) (*DownloadRecordingResponse, error)
- func (c *ClientWithResponses) DragMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DragMouseResponse, error)
- func (c *ClientWithResponses) DragMouseWithResponse(ctx context.Context, body DragMouseJSONRequestBody, ...) (*DragMouseResponse, error)
- func (c *ClientWithResponses) ExecutePlaywrightCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ExecutePlaywrightCodeResponse, error)
- func (c *ClientWithResponses) ExecutePlaywrightCodeWithResponse(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, ...) (*ExecutePlaywrightCodeResponse, error)
- func (c *ClientWithResponses) FileInfoWithResponse(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*FileInfoResponse, error)
- func (c *ClientWithResponses) ListFilesWithResponse(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResponse, error)
- func (c *ClientWithResponses) ListRecordersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecordersResponse, error)
- func (c *ClientWithResponses) LogsStreamWithResponse(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*LogsStreamResponse, error)
- func (c *ClientWithResponses) MoveMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MoveMouseResponse, error)
- func (c *ClientWithResponses) MoveMouseWithResponse(ctx context.Context, body MoveMouseJSONRequestBody, ...) (*MoveMouseResponse, error)
- func (c *ClientWithResponses) MovePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MovePathResponse, error)
- func (c *ClientWithResponses) MovePathWithResponse(ctx context.Context, body MovePathJSONRequestBody, ...) (*MovePathResponse, error)
- func (c *ClientWithResponses) PatchChromiumFlagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchChromiumFlagsResponse, error)
- func (c *ClientWithResponses) PatchChromiumFlagsWithResponse(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, ...) (*PatchChromiumFlagsResponse, error)
- func (c *ClientWithResponses) PatchDisplayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchDisplayResponse, error)
- func (c *ClientWithResponses) PatchDisplayWithResponse(ctx context.Context, body PatchDisplayJSONRequestBody, ...) (*PatchDisplayResponse, error)
- func (c *ClientWithResponses) PressKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PressKeyResponse, error)
- func (c *ClientWithResponses) PressKeyWithResponse(ctx context.Context, body PressKeyJSONRequestBody, ...) (*PressKeyResponse, error)
- func (c *ClientWithResponses) ProcessExecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProcessExecResponse, error)
- func (c *ClientWithResponses) ProcessExecWithResponse(ctx context.Context, body ProcessExecJSONRequestBody, ...) (*ProcessExecResponse, error)
- func (c *ClientWithResponses) ProcessKillWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*ProcessKillResponse, error)
- func (c *ClientWithResponses) ProcessKillWithResponse(ctx context.Context, processId openapi_types.UUID, ...) (*ProcessKillResponse, error)
- func (c *ClientWithResponses) ProcessResizeWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*ProcessResizeResponse, error)
- func (c *ClientWithResponses) ProcessResizeWithResponse(ctx context.Context, processId openapi_types.UUID, ...) (*ProcessResizeResponse, error)
- func (c *ClientWithResponses) ProcessSpawnWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProcessSpawnResponse, error)
- func (c *ClientWithResponses) ProcessSpawnWithResponse(ctx context.Context, body ProcessSpawnJSONRequestBody, ...) (*ProcessSpawnResponse, error)
- func (c *ClientWithResponses) ProcessStatusWithResponse(ctx context.Context, processId openapi_types.UUID, ...) (*ProcessStatusResponse, error)
- func (c *ClientWithResponses) ProcessStdinWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, ...) (*ProcessStdinResponse, error)
- func (c *ClientWithResponses) ProcessStdinWithResponse(ctx context.Context, processId openapi_types.UUID, ...) (*ProcessStdinResponse, error)
- func (c *ClientWithResponses) ProcessStdoutStreamWithResponse(ctx context.Context, processId openapi_types.UUID, ...) (*ProcessStdoutStreamResponse, error)
- func (c *ClientWithResponses) ReadFileWithResponse(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*ReadFileResponse, error)
- func (c *ClientWithResponses) ScrollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ScrollResponse, error)
- func (c *ClientWithResponses) ScrollWithResponse(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*ScrollResponse, error)
- func (c *ClientWithResponses) SetCursorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetCursorResponse, error)
- func (c *ClientWithResponses) SetCursorWithResponse(ctx context.Context, body SetCursorJSONRequestBody, ...) (*SetCursorResponse, error)
- func (c *ClientWithResponses) SetFilePermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SetFilePermissionsResponse, error)
- func (c *ClientWithResponses) SetFilePermissionsWithResponse(ctx context.Context, body SetFilePermissionsJSONRequestBody, ...) (*SetFilePermissionsResponse, error)
- func (c *ClientWithResponses) StartFsWatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartFsWatchResponse, error)
- func (c *ClientWithResponses) StartFsWatchWithResponse(ctx context.Context, body StartFsWatchJSONRequestBody, ...) (*StartFsWatchResponse, error)
- func (c *ClientWithResponses) StartRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StartRecordingResponse, error)
- func (c *ClientWithResponses) StartRecordingWithResponse(ctx context.Context, body StartRecordingJSONRequestBody, ...) (*StartRecordingResponse, error)
- func (c *ClientWithResponses) StopFsWatchWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StopFsWatchResponse, error)
- func (c *ClientWithResponses) StopRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*StopRecordingResponse, error)
- func (c *ClientWithResponses) StopRecordingWithResponse(ctx context.Context, body StopRecordingJSONRequestBody, ...) (*StopRecordingResponse, error)
- func (c *ClientWithResponses) StreamFsEventsWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StreamFsEventsResponse, error)
- func (c *ClientWithResponses) TakeScreenshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TakeScreenshotResponse, error)
- func (c *ClientWithResponses) TakeScreenshotWithResponse(ctx context.Context, body TakeScreenshotJSONRequestBody, ...) (*TakeScreenshotResponse, error)
- func (c *ClientWithResponses) TypeTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TypeTextResponse, error)
- func (c *ClientWithResponses) TypeTextWithResponse(ctx context.Context, body TypeTextJSONRequestBody, ...) (*TypeTextResponse, error)
- func (c *ClientWithResponses) UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadExtensionsAndRestartResponse, error)
- func (c *ClientWithResponses) UploadFilesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadFilesResponse, error)
- func (c *ClientWithResponses) UploadZipWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadZipResponse, error)
- func (c *ClientWithResponses) WriteFileWithBodyWithResponse(ctx context.Context, params *WriteFileParams, contentType string, ...) (*WriteFileResponse, error)
- type ClientWithResponsesInterface
- type ConflictError
- type ConflictErrorJSONResponse
- type CreateDirectory201Response
- type CreateDirectory400JSONResponse
- type CreateDirectory500JSONResponse
- type CreateDirectoryJSONRequestBody
- type CreateDirectoryRequest
- type CreateDirectoryRequestObject
- type CreateDirectoryResponse
- type CreateDirectoryResponseObject
- type DeleteDirectory200Response
- type DeleteDirectory400JSONResponse
- type DeleteDirectory404JSONResponse
- type DeleteDirectory500JSONResponse
- type DeleteDirectoryJSONRequestBody
- type DeleteDirectoryRequestObject
- type DeleteDirectoryResponse
- type DeleteDirectoryResponseObject
- type DeleteFile200Response
- type DeleteFile400JSONResponse
- type DeleteFile404JSONResponse
- type DeleteFile500JSONResponse
- type DeleteFileJSONRequestBody
- type DeleteFileRequestObject
- type DeleteFileResponse
- type DeleteFileResponseObject
- type DeletePathRequest
- type DeleteRecording200Response
- type DeleteRecording400JSONResponse
- type DeleteRecording404JSONResponse
- type DeleteRecording409JSONResponse
- type DeleteRecording500JSONResponse
- type DeleteRecordingJSONRequestBody
- type DeleteRecordingRequest
- type DeleteRecordingRequestObject
- type DeleteRecordingResponse
- type DeleteRecordingResponseObject
- type DisplayConfig
- type DownloadDirZip200ApplicationzipResponse
- type DownloadDirZip400JSONResponse
- type DownloadDirZip404JSONResponse
- type DownloadDirZip500JSONResponse
- type DownloadDirZipParams
- type DownloadDirZipRequestObject
- type DownloadDirZipResponse
- type DownloadDirZipResponseObject
- type DownloadRecording200ResponseHeaders
- type DownloadRecording200Videomp4Response
- type DownloadRecording202Response
- type DownloadRecording202ResponseHeaders
- type DownloadRecording400JSONResponse
- type DownloadRecording404JSONResponse
- type DownloadRecording500JSONResponse
- type DownloadRecordingParams
- type DownloadRecordingRequestObject
- type DownloadRecordingResponse
- type DownloadRecordingResponseObject
- type DragMouse200Response
- type DragMouse400JSONResponse
- type DragMouse500JSONResponse
- type DragMouseJSONRequestBody
- type DragMouseRequest
- type DragMouseRequestButton
- type DragMouseRequestObject
- type DragMouseResponse
- type DragMouseResponseObject
- type Error
- type ExecutePlaywrightCode200JSONResponse
- type ExecutePlaywrightCode400JSONResponse
- type ExecutePlaywrightCode500JSONResponse
- type ExecutePlaywrightCodeJSONRequestBody
- type ExecutePlaywrightCodeRequestObject
- type ExecutePlaywrightCodeResponse
- type ExecutePlaywrightCodeResponseObject
- type ExecutePlaywrightRequest
- type ExecutePlaywrightResult
- type FileInfo
- type FileInfo200JSONResponse
- type FileInfo400JSONResponse
- type FileInfo404JSONResponse
- type FileInfo500JSONResponse
- type FileInfoParams
- type FileInfoRequestObject
- type FileInfoResponse
- type FileInfoResponseObject
- type FileSystemEvent
- type FileSystemEventType
- type HttpRequestDoer
- type InternalError
- type InternalErrorJSONResponse
- type InvalidParamFormatError
- type ListFiles
- type ListFiles200JSONResponse
- type ListFiles400JSONResponse
- type ListFiles404JSONResponse
- type ListFiles500JSONResponse
- type ListFilesParams
- type ListFilesRequestObject
- type ListFilesResponse
- type ListFilesResponseObject
- type ListRecorders200JSONResponse
- type ListRecorders500JSONResponse
- type ListRecordersRequestObject
- type ListRecordersResponse
- type ListRecordersResponseObject
- type LogEvent
- type LogsStream200ResponseHeaders
- type LogsStream200TexteventStreamResponse
- type LogsStreamParams
- type LogsStreamParamsSource
- type LogsStreamRequestObject
- type LogsStreamResponse
- type LogsStreamResponseObject
- type MiddlewareFunc
- type MoveMouse200Response
- type MoveMouse400JSONResponse
- type MoveMouse500JSONResponse
- type MoveMouseJSONRequestBody
- type MoveMouseRequest
- type MoveMouseRequestObject
- type MoveMouseResponse
- type MoveMouseResponseObject
- type MovePath200Response
- type MovePath400JSONResponse
- type MovePath404JSONResponse
- type MovePath500JSONResponse
- type MovePathJSONRequestBody
- type MovePathRequest
- type MovePathRequestObject
- type MovePathResponse
- type MovePathResponseObject
- type NotFoundError
- type NotFoundErrorJSONResponse
- type OkResponse
- type PatchChromiumFlags200Response
- type PatchChromiumFlags400JSONResponse
- type PatchChromiumFlags500JSONResponse
- type PatchChromiumFlagsJSONBody
- type PatchChromiumFlagsJSONRequestBody
- type PatchChromiumFlagsRequestObject
- type PatchChromiumFlagsResponse
- type PatchChromiumFlagsResponseObject
- type PatchDisplay200JSONResponse
- type PatchDisplay400JSONResponse
- type PatchDisplay409JSONResponse
- type PatchDisplay500JSONResponse
- type PatchDisplayJSONRequestBody
- type PatchDisplayRequest
- type PatchDisplayRequestObject
- type PatchDisplayRequestRefreshRate
- type PatchDisplayResponse
- type PatchDisplayResponseObject
- type PressKey200Response
- type PressKey400JSONResponse
- type PressKey500JSONResponse
- type PressKeyJSONRequestBody
- type PressKeyRequest
- type PressKeyRequestObject
- type PressKeyResponse
- type PressKeyResponseObject
- type ProcessExec200JSONResponse
- type ProcessExec400JSONResponse
- type ProcessExec500JSONResponse
- type ProcessExecJSONRequestBody
- type ProcessExecRequest
- type ProcessExecRequestObject
- type ProcessExecResponse
- type ProcessExecResponseObject
- type ProcessExecResult
- type ProcessKill200JSONResponse
- type ProcessKill400JSONResponse
- type ProcessKill404JSONResponse
- type ProcessKill500JSONResponse
- type ProcessKillJSONRequestBody
- type ProcessKillRequest
- type ProcessKillRequestObject
- type ProcessKillRequestSignal
- type ProcessKillResponse
- type ProcessKillResponseObject
- type ProcessResize200JSONResponse
- type ProcessResize400JSONResponse
- type ProcessResize404JSONResponse
- type ProcessResize500JSONResponse
- type ProcessResizeJSONRequestBody
- type ProcessResizeRequest
- type ProcessResizeRequestObject
- type ProcessResizeResponse
- type ProcessResizeResponseObject
- type ProcessSpawn200JSONResponse
- type ProcessSpawn400JSONResponse
- type ProcessSpawn500JSONResponse
- type ProcessSpawnJSONRequestBody
- type ProcessSpawnRequest
- type ProcessSpawnRequestObject
- type ProcessSpawnResponse
- type ProcessSpawnResponseObject
- type ProcessSpawnResult
- type ProcessStatus
- type ProcessStatus200JSONResponse
- type ProcessStatus400JSONResponse
- type ProcessStatus404JSONResponse
- type ProcessStatus500JSONResponse
- type ProcessStatusRequestObject
- type ProcessStatusResponse
- type ProcessStatusResponseObject
- type ProcessStatusState
- type ProcessStdin200JSONResponse
- type ProcessStdin400JSONResponse
- type ProcessStdin404JSONResponse
- type ProcessStdin500JSONResponse
- type ProcessStdinJSONRequestBody
- type ProcessStdinRequest
- type ProcessStdinRequestObject
- type ProcessStdinResponse
- type ProcessStdinResponseObject
- type ProcessStdinResult
- type ProcessStdoutStream200ResponseHeaders
- type ProcessStdoutStream200TexteventStreamResponse
- type ProcessStdoutStream400JSONResponse
- type ProcessStdoutStream404JSONResponse
- type ProcessStdoutStream500JSONResponse
- type ProcessStdoutStreamRequestObject
- type ProcessStdoutStreamResponse
- type ProcessStdoutStreamResponseObject
- type ProcessStreamEvent
- type ProcessStreamEventEvent
- type ProcessStreamEventStream
- type ReadFile200ApplicationoctetStreamResponse
- type ReadFile400JSONResponse
- type ReadFile404JSONResponse
- type ReadFile500JSONResponse
- type ReadFileParams
- type ReadFileRequestObject
- type ReadFileResponse
- type ReadFileResponseObject
- type RecorderInfo
- type RequestEditorFn
- type RequiredHeaderError
- type RequiredParamError
- type ScreenshotRegion
- type ScreenshotRequest
- type Scroll200Response
- type Scroll400JSONResponse
- type Scroll500JSONResponse
- type ScrollJSONRequestBody
- type ScrollRequest
- type ScrollRequestObject
- type ScrollResponse
- type ScrollResponseObject
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) ClickMouse(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteDirectory(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteFile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRecording(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadDirZip(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadRecording(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DragMouse(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FileInfo(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListFiles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRecorders(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LogsStream(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MoveMouse(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MovePath(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PatchDisplay(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PressKey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessExec(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessKill(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessResize(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessSpawn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessStdin(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProcessStdoutStream(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadFile(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) Scroll(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetCursor(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetFilePermissions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartFsWatch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartRecording(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StopFsWatch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StopRecording(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StreamFsEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TakeScreenshot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TypeText(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UploadFiles(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UploadZip(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WriteFile(w http.ResponseWriter, r *http.Request)
- type SetCursor200JSONResponse
- type SetCursor400JSONResponse
- type SetCursor500JSONResponse
- type SetCursorJSONRequestBody
- type SetCursorRequest
- type SetCursorRequestObject
- type SetCursorResponse
- type SetCursorResponseObject
- type SetFilePermissions200Response
- type SetFilePermissions400JSONResponse
- type SetFilePermissions404JSONResponse
- type SetFilePermissions500JSONResponse
- type SetFilePermissionsJSONRequestBody
- type SetFilePermissionsRequest
- type SetFilePermissionsRequestObject
- type SetFilePermissionsResponse
- type SetFilePermissionsResponseObject
- type StartFsWatch201JSONResponse
- type StartFsWatch400JSONResponse
- type StartFsWatch404JSONResponse
- type StartFsWatch500JSONResponse
- type StartFsWatchJSONRequestBody
- type StartFsWatchRequest
- type StartFsWatchRequestObject
- type StartFsWatchResponse
- type StartFsWatchResponseObject
- type StartRecording201Response
- type StartRecording400JSONResponse
- type StartRecording409JSONResponse
- type StartRecording500JSONResponse
- type StartRecordingJSONRequestBody
- type StartRecordingRequest
- type StartRecordingRequestObject
- type StartRecordingResponse
- type StartRecordingResponseObject
- type StopFsWatch204Response
- type StopFsWatch400JSONResponse
- type StopFsWatch404JSONResponse
- type StopFsWatch500JSONResponse
- type StopFsWatchRequestObject
- type StopFsWatchResponse
- type StopFsWatchResponseObject
- type StopRecording200Response
- type StopRecording400JSONResponse
- type StopRecording500JSONResponse
- type StopRecordingJSONRequestBody
- type StopRecordingRequest
- type StopRecordingRequestObject
- type StopRecordingResponse
- type StopRecordingResponseObject
- type StreamFsEvents200ResponseHeaders
- type StreamFsEvents200TexteventStreamResponse
- type StreamFsEvents400JSONResponse
- type StreamFsEvents404JSONResponse
- type StreamFsEvents500JSONResponse
- type StreamFsEventsRequestObject
- type StreamFsEventsResponse
- type StreamFsEventsResponseObject
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TakeScreenshot200ImagepngResponse
- type TakeScreenshot400JSONResponse
- type TakeScreenshot500JSONResponse
- type TakeScreenshotJSONRequestBody
- type TakeScreenshotRequestObject
- type TakeScreenshotResponse
- type TakeScreenshotResponseObject
- type TooManyValuesForParamError
- type TypeText200Response
- type TypeText400JSONResponse
- type TypeText500JSONResponse
- type TypeTextJSONRequestBody
- type TypeTextRequest
- type TypeTextRequestObject
- type TypeTextResponse
- type TypeTextResponseObject
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) ClickMouse(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) CreateDirectory(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteDirectory(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteFile(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DeleteRecording(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) DownloadDirZip(w http.ResponseWriter, r *http.Request, params DownloadDirZipParams)
- func (_ Unimplemented) DownloadRecording(w http.ResponseWriter, r *http.Request, params DownloadRecordingParams)
- func (_ Unimplemented) DragMouse(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) FileInfo(w http.ResponseWriter, r *http.Request, params FileInfoParams)
- func (_ Unimplemented) ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)
- func (_ Unimplemented) ListRecorders(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) LogsStream(w http.ResponseWriter, r *http.Request, params LogsStreamParams)
- func (_ Unimplemented) MoveMouse(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) MovePath(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PatchDisplay(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PressKey(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ProcessExec(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ProcessKill(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
- func (_ Unimplemented) ProcessResize(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
- func (_ Unimplemented) ProcessSpawn(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) ProcessStatus(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
- func (_ Unimplemented) ProcessStdin(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
- func (_ Unimplemented) ProcessStdoutStream(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
- func (_ Unimplemented) ReadFile(w http.ResponseWriter, r *http.Request, params ReadFileParams)
- func (_ Unimplemented) Scroll(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SetCursor(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) SetFilePermissions(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StartFsWatch(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StartRecording(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StopFsWatch(w http.ResponseWriter, r *http.Request, watchId string)
- func (_ Unimplemented) StopRecording(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) StreamFsEvents(w http.ResponseWriter, r *http.Request, watchId string)
- func (_ Unimplemented) TakeScreenshot(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) TypeText(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UploadFiles(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) UploadZip(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) WriteFile(w http.ResponseWriter, r *http.Request, params WriteFileParams)
- type UnmarshalingParamError
- type UploadExtensionsAndRestart201Response
- type UploadExtensionsAndRestart400JSONResponse
- type UploadExtensionsAndRestart500JSONResponse
- type UploadExtensionsAndRestartMultipartBody
- type UploadExtensionsAndRestartMultipartRequestBody
- type UploadExtensionsAndRestartRequestObject
- type UploadExtensionsAndRestartResponse
- type UploadExtensionsAndRestartResponseObject
- type UploadFiles201Response
- type UploadFiles400JSONResponse
- type UploadFiles404JSONResponse
- type UploadFiles500JSONResponse
- type UploadFilesMultipartBody
- type UploadFilesMultipartRequestBody
- type UploadFilesRequestObject
- type UploadFilesResponse
- type UploadFilesResponseObject
- type UploadZip201Response
- type UploadZip400JSONResponse
- type UploadZip404JSONResponse
- type UploadZip500JSONResponse
- type UploadZipMultipartBody
- type UploadZipMultipartRequestBody
- type UploadZipRequestObject
- type UploadZipResponse
- type UploadZipResponseObject
- type WriteFile201Response
- type WriteFile400JSONResponse
- type WriteFile404JSONResponse
- type WriteFile500JSONResponse
- type WriteFileParams
- type WriteFileRequestObject
- type WriteFileResponse
- type WriteFileResponseObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewClickMouseRequest ¶
func NewClickMouseRequest(server string, body ClickMouseJSONRequestBody) (*http.Request, error)
NewClickMouseRequest calls the generic ClickMouse builder with application/json body
func NewClickMouseRequestWithBody ¶
func NewClickMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewClickMouseRequestWithBody generates requests for ClickMouse with any type of body
func NewCreateDirectoryRequest ¶
func NewCreateDirectoryRequest(server string, body CreateDirectoryJSONRequestBody) (*http.Request, error)
NewCreateDirectoryRequest calls the generic CreateDirectory builder with application/json body
func NewCreateDirectoryRequestWithBody ¶
func NewCreateDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateDirectoryRequestWithBody generates requests for CreateDirectory with any type of body
func NewDeleteDirectoryRequest ¶
func NewDeleteDirectoryRequest(server string, body DeleteDirectoryJSONRequestBody) (*http.Request, error)
NewDeleteDirectoryRequest calls the generic DeleteDirectory builder with application/json body
func NewDeleteDirectoryRequestWithBody ¶
func NewDeleteDirectoryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteDirectoryRequestWithBody generates requests for DeleteDirectory with any type of body
func NewDeleteFileRequest ¶
func NewDeleteFileRequest(server string, body DeleteFileJSONRequestBody) (*http.Request, error)
NewDeleteFileRequest calls the generic DeleteFile builder with application/json body
func NewDeleteFileRequestWithBody ¶
func NewDeleteFileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteFileRequestWithBody generates requests for DeleteFile with any type of body
func NewDeleteRecordingRequest ¶
func NewDeleteRecordingRequest(server string, body DeleteRecordingJSONRequestBody) (*http.Request, error)
NewDeleteRecordingRequest calls the generic DeleteRecording builder with application/json body
func NewDeleteRecordingRequestWithBody ¶
func NewDeleteRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteRecordingRequestWithBody generates requests for DeleteRecording with any type of body
func NewDownloadDirZipRequest ¶
func NewDownloadDirZipRequest(server string, params *DownloadDirZipParams) (*http.Request, error)
NewDownloadDirZipRequest generates requests for DownloadDirZip
func NewDownloadRecordingRequest ¶
func NewDownloadRecordingRequest(server string, params *DownloadRecordingParams) (*http.Request, error)
NewDownloadRecordingRequest generates requests for DownloadRecording
func NewDragMouseRequest ¶
func NewDragMouseRequest(server string, body DragMouseJSONRequestBody) (*http.Request, error)
NewDragMouseRequest calls the generic DragMouse builder with application/json body
func NewDragMouseRequestWithBody ¶
func NewDragMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDragMouseRequestWithBody generates requests for DragMouse with any type of body
func NewExecutePlaywrightCodeRequest ¶
func NewExecutePlaywrightCodeRequest(server string, body ExecutePlaywrightCodeJSONRequestBody) (*http.Request, error)
NewExecutePlaywrightCodeRequest calls the generic ExecutePlaywrightCode builder with application/json body
func NewExecutePlaywrightCodeRequestWithBody ¶
func NewExecutePlaywrightCodeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewExecutePlaywrightCodeRequestWithBody generates requests for ExecutePlaywrightCode with any type of body
func NewFileInfoRequest ¶
func NewFileInfoRequest(server string, params *FileInfoParams) (*http.Request, error)
NewFileInfoRequest generates requests for FileInfo
func NewListFilesRequest ¶
func NewListFilesRequest(server string, params *ListFilesParams) (*http.Request, error)
NewListFilesRequest generates requests for ListFiles
func NewListRecordersRequest ¶
NewListRecordersRequest generates requests for ListRecorders
func NewLogsStreamRequest ¶
func NewLogsStreamRequest(server string, params *LogsStreamParams) (*http.Request, error)
NewLogsStreamRequest generates requests for LogsStream
func NewMoveMouseRequest ¶
func NewMoveMouseRequest(server string, body MoveMouseJSONRequestBody) (*http.Request, error)
NewMoveMouseRequest calls the generic MoveMouse builder with application/json body
func NewMoveMouseRequestWithBody ¶
func NewMoveMouseRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMoveMouseRequestWithBody generates requests for MoveMouse with any type of body
func NewMovePathRequest ¶
func NewMovePathRequest(server string, body MovePathJSONRequestBody) (*http.Request, error)
NewMovePathRequest calls the generic MovePath builder with application/json body
func NewMovePathRequestWithBody ¶
func NewMovePathRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMovePathRequestWithBody generates requests for MovePath with any type of body
func NewPatchChromiumFlagsRequest ¶
func NewPatchChromiumFlagsRequest(server string, body PatchChromiumFlagsJSONRequestBody) (*http.Request, error)
NewPatchChromiumFlagsRequest calls the generic PatchChromiumFlags builder with application/json body
func NewPatchChromiumFlagsRequestWithBody ¶
func NewPatchChromiumFlagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPatchChromiumFlagsRequestWithBody generates requests for PatchChromiumFlags with any type of body
func NewPatchDisplayRequest ¶
func NewPatchDisplayRequest(server string, body PatchDisplayJSONRequestBody) (*http.Request, error)
NewPatchDisplayRequest calls the generic PatchDisplay builder with application/json body
func NewPatchDisplayRequestWithBody ¶
func NewPatchDisplayRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPatchDisplayRequestWithBody generates requests for PatchDisplay with any type of body
func NewPressKeyRequest ¶
func NewPressKeyRequest(server string, body PressKeyJSONRequestBody) (*http.Request, error)
NewPressKeyRequest calls the generic PressKey builder with application/json body
func NewPressKeyRequestWithBody ¶
func NewPressKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPressKeyRequestWithBody generates requests for PressKey with any type of body
func NewProcessExecRequest ¶
func NewProcessExecRequest(server string, body ProcessExecJSONRequestBody) (*http.Request, error)
NewProcessExecRequest calls the generic ProcessExec builder with application/json body
func NewProcessExecRequestWithBody ¶
func NewProcessExecRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProcessExecRequestWithBody generates requests for ProcessExec with any type of body
func NewProcessKillRequest ¶
func NewProcessKillRequest(server string, processId openapi_types.UUID, body ProcessKillJSONRequestBody) (*http.Request, error)
NewProcessKillRequest calls the generic ProcessKill builder with application/json body
func NewProcessKillRequestWithBody ¶
func NewProcessKillRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewProcessKillRequestWithBody generates requests for ProcessKill with any type of body
func NewProcessResizeRequest ¶
func NewProcessResizeRequest(server string, processId openapi_types.UUID, body ProcessResizeJSONRequestBody) (*http.Request, error)
NewProcessResizeRequest calls the generic ProcessResize builder with application/json body
func NewProcessResizeRequestWithBody ¶
func NewProcessResizeRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewProcessResizeRequestWithBody generates requests for ProcessResize with any type of body
func NewProcessSpawnRequest ¶
func NewProcessSpawnRequest(server string, body ProcessSpawnJSONRequestBody) (*http.Request, error)
NewProcessSpawnRequest calls the generic ProcessSpawn builder with application/json body
func NewProcessSpawnRequestWithBody ¶
func NewProcessSpawnRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProcessSpawnRequestWithBody generates requests for ProcessSpawn with any type of body
func NewProcessStatusRequest ¶
NewProcessStatusRequest generates requests for ProcessStatus
func NewProcessStdinRequest ¶
func NewProcessStdinRequest(server string, processId openapi_types.UUID, body ProcessStdinJSONRequestBody) (*http.Request, error)
NewProcessStdinRequest calls the generic ProcessStdin builder with application/json body
func NewProcessStdinRequestWithBody ¶
func NewProcessStdinRequestWithBody(server string, processId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewProcessStdinRequestWithBody generates requests for ProcessStdin with any type of body
func NewProcessStdoutStreamRequest ¶
func NewProcessStdoutStreamRequest(server string, processId openapi_types.UUID) (*http.Request, error)
NewProcessStdoutStreamRequest generates requests for ProcessStdoutStream
func NewReadFileRequest ¶
func NewReadFileRequest(server string, params *ReadFileParams) (*http.Request, error)
NewReadFileRequest generates requests for ReadFile
func NewScrollRequest ¶
func NewScrollRequest(server string, body ScrollJSONRequestBody) (*http.Request, error)
NewScrollRequest calls the generic Scroll builder with application/json body
func NewScrollRequestWithBody ¶
func NewScrollRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewScrollRequestWithBody generates requests for Scroll with any type of body
func NewSetCursorRequest ¶
func NewSetCursorRequest(server string, body SetCursorJSONRequestBody) (*http.Request, error)
NewSetCursorRequest calls the generic SetCursor builder with application/json body
func NewSetCursorRequestWithBody ¶
func NewSetCursorRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetCursorRequestWithBody generates requests for SetCursor with any type of body
func NewSetFilePermissionsRequest ¶
func NewSetFilePermissionsRequest(server string, body SetFilePermissionsJSONRequestBody) (*http.Request, error)
NewSetFilePermissionsRequest calls the generic SetFilePermissions builder with application/json body
func NewSetFilePermissionsRequestWithBody ¶
func NewSetFilePermissionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSetFilePermissionsRequestWithBody generates requests for SetFilePermissions with any type of body
func NewStartFsWatchRequest ¶
func NewStartFsWatchRequest(server string, body StartFsWatchJSONRequestBody) (*http.Request, error)
NewStartFsWatchRequest calls the generic StartFsWatch builder with application/json body
func NewStartFsWatchRequestWithBody ¶
func NewStartFsWatchRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartFsWatchRequestWithBody generates requests for StartFsWatch with any type of body
func NewStartRecordingRequest ¶
func NewStartRecordingRequest(server string, body StartRecordingJSONRequestBody) (*http.Request, error)
NewStartRecordingRequest calls the generic StartRecording builder with application/json body
func NewStartRecordingRequestWithBody ¶
func NewStartRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStartRecordingRequestWithBody generates requests for StartRecording with any type of body
func NewStopFsWatchRequest ¶
NewStopFsWatchRequest generates requests for StopFsWatch
func NewStopRecordingRequest ¶
func NewStopRecordingRequest(server string, body StopRecordingJSONRequestBody) (*http.Request, error)
NewStopRecordingRequest calls the generic StopRecording builder with application/json body
func NewStopRecordingRequestWithBody ¶
func NewStopRecordingRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewStopRecordingRequestWithBody generates requests for StopRecording with any type of body
func NewStreamFsEventsRequest ¶
NewStreamFsEventsRequest generates requests for StreamFsEvents
func NewTakeScreenshotRequest ¶
func NewTakeScreenshotRequest(server string, body TakeScreenshotJSONRequestBody) (*http.Request, error)
NewTakeScreenshotRequest calls the generic TakeScreenshot builder with application/json body
func NewTakeScreenshotRequestWithBody ¶
func NewTakeScreenshotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTakeScreenshotRequestWithBody generates requests for TakeScreenshot with any type of body
func NewTypeTextRequest ¶
func NewTypeTextRequest(server string, body TypeTextJSONRequestBody) (*http.Request, error)
NewTypeTextRequest calls the generic TypeText builder with application/json body
func NewTypeTextRequestWithBody ¶
func NewTypeTextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTypeTextRequestWithBody generates requests for TypeText with any type of body
func NewUploadExtensionsAndRestartRequestWithBody ¶
func NewUploadExtensionsAndRestartRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadExtensionsAndRestartRequestWithBody generates requests for UploadExtensionsAndRestart with any type of body
func NewUploadFilesRequestWithBody ¶
func NewUploadFilesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadFilesRequestWithBody generates requests for UploadFiles with any type of body
func NewUploadZipRequestWithBody ¶
func NewUploadZipRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadZipRequestWithBody generates requests for UploadZip with any type of body
func NewWriteFileRequestWithBody ¶
func NewWriteFileRequestWithBody(server string, params *WriteFileParams, contentType string, body io.Reader) (*http.Request, error)
NewWriteFileRequestWithBody generates requests for WriteFile with any type of body
Types ¶
type BadRequestError ¶
type BadRequestError = Error
BadRequestError defines model for BadRequestError.
type BadRequestErrorJSONResponse ¶
type BadRequestErrorJSONResponse Error
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type ClickMouse200Response ¶
type ClickMouse200Response struct {
}
func (ClickMouse200Response) VisitClickMouseResponse ¶
func (response ClickMouse200Response) VisitClickMouseResponse(w http.ResponseWriter) error
type ClickMouse400JSONResponse ¶
type ClickMouse400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ClickMouse400JSONResponse) VisitClickMouseResponse ¶
func (response ClickMouse400JSONResponse) VisitClickMouseResponse(w http.ResponseWriter) error
type ClickMouse500JSONResponse ¶
type ClickMouse500JSONResponse struct{ InternalErrorJSONResponse }
func (ClickMouse500JSONResponse) VisitClickMouseResponse ¶
func (response ClickMouse500JSONResponse) VisitClickMouseResponse(w http.ResponseWriter) error
type ClickMouseJSONRequestBody ¶
type ClickMouseJSONRequestBody = ClickMouseRequest
ClickMouseJSONRequestBody defines body for ClickMouse for application/json ContentType.
type ClickMouseRequest ¶
type ClickMouseRequest struct {
// Button Mouse button to interact with
Button *ClickMouseRequestButton `json:"button,omitempty"`
// ClickType Type of click action
ClickType *ClickMouseRequestClickType `json:"click_type,omitempty"`
// HoldKeys Modifier keys to hold during the click
HoldKeys *[]string `json:"hold_keys,omitempty"`
// NumClicks Number of times to repeat the click
NumClicks *int `json:"num_clicks,omitempty"`
// X X coordinate of the click position
X int `json:"x"`
// Y Y coordinate of the click position
Y int `json:"y"`
}
ClickMouseRequest defines model for ClickMouseRequest.
type ClickMouseRequestButton ¶
type ClickMouseRequestButton string
ClickMouseRequestButton Mouse button to interact with
const ( ClickMouseRequestButtonBack ClickMouseRequestButton = "back" ClickMouseRequestButtonForward ClickMouseRequestButton = "forward" ClickMouseRequestButtonLeft ClickMouseRequestButton = "left" ClickMouseRequestButtonMiddle ClickMouseRequestButton = "middle" ClickMouseRequestButtonRight ClickMouseRequestButton = "right" )
Defines values for ClickMouseRequestButton.
type ClickMouseRequestClickType ¶
type ClickMouseRequestClickType string
ClickMouseRequestClickType Type of click action
const ( Click ClickMouseRequestClickType = "click" Down ClickMouseRequestClickType = "down" Up ClickMouseRequestClickType = "up" )
Defines values for ClickMouseRequestClickType.
type ClickMouseRequestObject ¶
type ClickMouseRequestObject struct {
Body *ClickMouseJSONRequestBody
}
type ClickMouseResponse ¶
type ClickMouseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseClickMouseResponse ¶
func ParseClickMouseResponse(rsp *http.Response) (*ClickMouseResponse, error)
ParseClickMouseResponse parses an HTTP response from a ClickMouseWithResponse call
func (ClickMouseResponse) Status ¶
func (r ClickMouseResponse) Status() string
Status returns HTTPResponse.Status
func (ClickMouseResponse) StatusCode ¶
func (r ClickMouseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClickMouseResponseObject ¶
type ClickMouseResponseObject interface {
VisitClickMouseResponse(w http.ResponseWriter) error
}
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ClickMouse ¶
func (c *Client) ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ClickMouseWithBody ¶
func (*Client) CreateDirectory ¶
func (c *Client) CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateDirectoryWithBody ¶
func (*Client) DeleteDirectory ¶
func (c *Client) DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteDirectoryWithBody ¶
func (*Client) DeleteFile ¶
func (c *Client) DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteFileWithBody ¶
func (*Client) DeleteRecording ¶
func (c *Client) DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteRecordingWithBody ¶
func (*Client) DownloadDirZip ¶
func (c *Client) DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadRecording ¶
func (c *Client) DownloadRecording(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DragMouse ¶
func (c *Client) DragMouse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DragMouseWithBody ¶
func (*Client) ExecutePlaywrightCode ¶
func (c *Client) ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ExecutePlaywrightCodeWithBody ¶
func (*Client) FileInfo ¶
func (c *Client) FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFiles ¶
func (c *Client) ListFiles(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRecorders ¶
func (*Client) LogsStream ¶
func (c *Client) LogsStream(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveMouse ¶
func (c *Client) MoveMouse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MoveMouseWithBody ¶
func (*Client) MovePath ¶
func (c *Client) MovePath(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MovePathWithBody ¶
func (*Client) PatchChromiumFlags ¶
func (c *Client) PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchChromiumFlagsWithBody ¶
func (*Client) PatchDisplay ¶
func (c *Client) PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchDisplayWithBody ¶
func (*Client) PressKey ¶
func (c *Client) PressKey(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PressKeyWithBody ¶
func (*Client) ProcessExec ¶
func (c *Client) ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessExecWithBody ¶
func (*Client) ProcessKill ¶
func (c *Client) ProcessKill(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessKillWithBody ¶
func (*Client) ProcessResize ¶
func (c *Client) ProcessResize(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessResizeWithBody ¶
func (*Client) ProcessSpawn ¶
func (c *Client) ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessSpawnWithBody ¶
func (*Client) ProcessStatus ¶
func (c *Client) ProcessStatus(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessStdin ¶
func (c *Client) ProcessStdin(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProcessStdinWithBody ¶
func (*Client) ProcessStdoutStream ¶
func (c *Client) ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReadFile ¶
func (c *Client) ReadFile(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) Scroll ¶
func (c *Client) Scroll(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScrollWithBody ¶
func (*Client) SetCursor ¶
func (c *Client) SetCursor(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetCursorWithBody ¶
func (*Client) SetFilePermissions ¶
func (c *Client) SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetFilePermissionsWithBody ¶
func (*Client) StartFsWatch ¶
func (c *Client) StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartFsWatchWithBody ¶
func (*Client) StartRecording ¶
func (c *Client) StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StartRecordingWithBody ¶
func (*Client) StopFsWatch ¶
func (*Client) StopRecording ¶
func (c *Client) StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) StopRecordingWithBody ¶
func (*Client) StreamFsEvents ¶
func (*Client) TakeScreenshot ¶
func (c *Client) TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TakeScreenshotWithBody ¶
func (*Client) TypeText ¶
func (c *Client) TypeText(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TypeTextWithBody ¶
func (*Client) UploadExtensionsAndRestartWithBody ¶
func (*Client) UploadFilesWithBody ¶
func (*Client) UploadZipWithBody ¶
func (*Client) WriteFileWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// PatchChromiumFlagsWithBody request with any body
PatchChromiumFlagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadExtensionsAndRestartWithBody request with any body
UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClickMouseWithBody request with any body
ClickMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetCursorWithBody request with any body
SetCursorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetCursor(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DragMouseWithBody request with any body
DragMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DragMouse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MoveMouseWithBody request with any body
MoveMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MoveMouse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PressKeyWithBody request with any body
PressKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PressKey(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TakeScreenshotWithBody request with any body
TakeScreenshotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScrollWithBody request with any body
ScrollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Scroll(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TypeTextWithBody request with any body
TypeTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TypeText(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchDisplayWithBody request with any body
PatchDisplayWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateDirectoryWithBody request with any body
CreateDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteDirectoryWithBody request with any body
DeleteDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFileWithBody request with any body
DeleteFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadDirZip request
DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FileInfo request
FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFiles request
ListFiles(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MovePathWithBody request with any body
MovePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MovePath(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReadFile request
ReadFile(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetFilePermissionsWithBody request with any body
SetFilePermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadFilesWithBody request with any body
UploadFilesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadZipWithBody request with any body
UploadZipWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartFsWatchWithBody request with any body
StartFsWatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopFsWatch request
StopFsWatch(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// StreamFsEvents request
StreamFsEvents(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// WriteFileWithBody request with any body
WriteFileWithBody(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// LogsStream request
LogsStream(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExecutePlaywrightCodeWithBody request with any body
ExecutePlaywrightCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessExecWithBody request with any body
ProcessExecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessSpawnWithBody request with any body
ProcessSpawnWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessKillWithBody request with any body
ProcessKillWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProcessKill(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessResizeWithBody request with any body
ProcessResizeWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProcessResize(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessStatus request
ProcessStatus(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessStdinWithBody request with any body
ProcessStdinWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProcessStdin(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProcessStdoutStream request
ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteRecordingWithBody request with any body
DeleteRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadRecording request
DownloadRecording(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRecorders request
ListRecorders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// StartRecordingWithBody request with any body
StartRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// StopRecordingWithBody request with any body
StopRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ClickMouseWithBodyWithResponse ¶
func (c *ClientWithResponses) ClickMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)
ClickMouseWithBodyWithResponse request with arbitrary body returning *ClickMouseResponse
func (*ClientWithResponses) ClickMouseWithResponse ¶
func (c *ClientWithResponses) ClickMouseWithResponse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)
func (*ClientWithResponses) CreateDirectoryWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)
CreateDirectoryWithBodyWithResponse request with arbitrary body returning *CreateDirectoryResponse
func (*ClientWithResponses) CreateDirectoryWithResponse ¶
func (c *ClientWithResponses) CreateDirectoryWithResponse(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)
func (*ClientWithResponses) DeleteDirectoryWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)
DeleteDirectoryWithBodyWithResponse request with arbitrary body returning *DeleteDirectoryResponse
func (*ClientWithResponses) DeleteDirectoryWithResponse ¶
func (c *ClientWithResponses) DeleteDirectoryWithResponse(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)
func (*ClientWithResponses) DeleteFileWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)
DeleteFileWithBodyWithResponse request with arbitrary body returning *DeleteFileResponse
func (*ClientWithResponses) DeleteFileWithResponse ¶
func (c *ClientWithResponses) DeleteFileWithResponse(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)
func (*ClientWithResponses) DeleteRecordingWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)
DeleteRecordingWithBodyWithResponse request with arbitrary body returning *DeleteRecordingResponse
func (*ClientWithResponses) DeleteRecordingWithResponse ¶
func (c *ClientWithResponses) DeleteRecordingWithResponse(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)
func (*ClientWithResponses) DownloadDirZipWithResponse ¶
func (c *ClientWithResponses) DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*DownloadDirZipResponse, error)
DownloadDirZipWithResponse request returning *DownloadDirZipResponse
func (*ClientWithResponses) DownloadRecordingWithResponse ¶
func (c *ClientWithResponses) DownloadRecordingWithResponse(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*DownloadRecordingResponse, error)
DownloadRecordingWithResponse request returning *DownloadRecordingResponse
func (*ClientWithResponses) DragMouseWithBodyWithResponse ¶
func (c *ClientWithResponses) DragMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)
DragMouseWithBodyWithResponse request with arbitrary body returning *DragMouseResponse
func (*ClientWithResponses) DragMouseWithResponse ¶
func (c *ClientWithResponses) DragMouseWithResponse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)
func (*ClientWithResponses) ExecutePlaywrightCodeWithBodyWithResponse ¶
func (c *ClientWithResponses) ExecutePlaywrightCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)
ExecutePlaywrightCodeWithBodyWithResponse request with arbitrary body returning *ExecutePlaywrightCodeResponse
func (*ClientWithResponses) ExecutePlaywrightCodeWithResponse ¶
func (c *ClientWithResponses) ExecutePlaywrightCodeWithResponse(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)
func (*ClientWithResponses) FileInfoWithResponse ¶
func (c *ClientWithResponses) FileInfoWithResponse(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*FileInfoResponse, error)
FileInfoWithResponse request returning *FileInfoResponse
func (*ClientWithResponses) ListFilesWithResponse ¶
func (c *ClientWithResponses) ListFilesWithResponse(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResponse, error)
ListFilesWithResponse request returning *ListFilesResponse
func (*ClientWithResponses) ListRecordersWithResponse ¶
func (c *ClientWithResponses) ListRecordersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecordersResponse, error)
ListRecordersWithResponse request returning *ListRecordersResponse
func (*ClientWithResponses) LogsStreamWithResponse ¶
func (c *ClientWithResponses) LogsStreamWithResponse(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*LogsStreamResponse, error)
LogsStreamWithResponse request returning *LogsStreamResponse
func (*ClientWithResponses) MoveMouseWithBodyWithResponse ¶
func (c *ClientWithResponses) MoveMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)
MoveMouseWithBodyWithResponse request with arbitrary body returning *MoveMouseResponse
func (*ClientWithResponses) MoveMouseWithResponse ¶
func (c *ClientWithResponses) MoveMouseWithResponse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)
func (*ClientWithResponses) MovePathWithBodyWithResponse ¶
func (c *ClientWithResponses) MovePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePathResponse, error)
MovePathWithBodyWithResponse request with arbitrary body returning *MovePathResponse
func (*ClientWithResponses) MovePathWithResponse ¶
func (c *ClientWithResponses) MovePathWithResponse(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePathResponse, error)
func (*ClientWithResponses) PatchChromiumFlagsWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchChromiumFlagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)
PatchChromiumFlagsWithBodyWithResponse request with arbitrary body returning *PatchChromiumFlagsResponse
func (*ClientWithResponses) PatchChromiumFlagsWithResponse ¶
func (c *ClientWithResponses) PatchChromiumFlagsWithResponse(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)
func (*ClientWithResponses) PatchDisplayWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchDisplayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)
PatchDisplayWithBodyWithResponse request with arbitrary body returning *PatchDisplayResponse
func (*ClientWithResponses) PatchDisplayWithResponse ¶
func (c *ClientWithResponses) PatchDisplayWithResponse(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)
func (*ClientWithResponses) PressKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) PressKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)
PressKeyWithBodyWithResponse request with arbitrary body returning *PressKeyResponse
func (*ClientWithResponses) PressKeyWithResponse ¶
func (c *ClientWithResponses) PressKeyWithResponse(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)
func (*ClientWithResponses) ProcessExecWithBodyWithResponse ¶
func (c *ClientWithResponses) ProcessExecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)
ProcessExecWithBodyWithResponse request with arbitrary body returning *ProcessExecResponse
func (*ClientWithResponses) ProcessExecWithResponse ¶
func (c *ClientWithResponses) ProcessExecWithResponse(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)
func (*ClientWithResponses) ProcessKillWithBodyWithResponse ¶
func (c *ClientWithResponses) ProcessKillWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)
ProcessKillWithBodyWithResponse request with arbitrary body returning *ProcessKillResponse
func (*ClientWithResponses) ProcessKillWithResponse ¶
func (c *ClientWithResponses) ProcessKillWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)
func (*ClientWithResponses) ProcessResizeWithBodyWithResponse ¶
func (c *ClientWithResponses) ProcessResizeWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)
ProcessResizeWithBodyWithResponse request with arbitrary body returning *ProcessResizeResponse
func (*ClientWithResponses) ProcessResizeWithResponse ¶
func (c *ClientWithResponses) ProcessResizeWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)
func (*ClientWithResponses) ProcessSpawnWithBodyWithResponse ¶
func (c *ClientWithResponses) ProcessSpawnWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)
ProcessSpawnWithBodyWithResponse request with arbitrary body returning *ProcessSpawnResponse
func (*ClientWithResponses) ProcessSpawnWithResponse ¶
func (c *ClientWithResponses) ProcessSpawnWithResponse(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)
func (*ClientWithResponses) ProcessStatusWithResponse ¶
func (c *ClientWithResponses) ProcessStatusWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStatusResponse, error)
ProcessStatusWithResponse request returning *ProcessStatusResponse
func (*ClientWithResponses) ProcessStdinWithBodyWithResponse ¶
func (c *ClientWithResponses) ProcessStdinWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)
ProcessStdinWithBodyWithResponse request with arbitrary body returning *ProcessStdinResponse
func (*ClientWithResponses) ProcessStdinWithResponse ¶
func (c *ClientWithResponses) ProcessStdinWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)
func (*ClientWithResponses) ProcessStdoutStreamWithResponse ¶
func (c *ClientWithResponses) ProcessStdoutStreamWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStdoutStreamResponse, error)
ProcessStdoutStreamWithResponse request returning *ProcessStdoutStreamResponse
func (*ClientWithResponses) ReadFileWithResponse ¶
func (c *ClientWithResponses) ReadFileWithResponse(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*ReadFileResponse, error)
ReadFileWithResponse request returning *ReadFileResponse
func (*ClientWithResponses) ScrollWithBodyWithResponse ¶
func (c *ClientWithResponses) ScrollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScrollResponse, error)
ScrollWithBodyWithResponse request with arbitrary body returning *ScrollResponse
func (*ClientWithResponses) ScrollWithResponse ¶
func (c *ClientWithResponses) ScrollWithResponse(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*ScrollResponse, error)
func (*ClientWithResponses) SetCursorWithBodyWithResponse ¶
func (c *ClientWithResponses) SetCursorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)
SetCursorWithBodyWithResponse request with arbitrary body returning *SetCursorResponse
func (*ClientWithResponses) SetCursorWithResponse ¶
func (c *ClientWithResponses) SetCursorWithResponse(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)
func (*ClientWithResponses) SetFilePermissionsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetFilePermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)
SetFilePermissionsWithBodyWithResponse request with arbitrary body returning *SetFilePermissionsResponse
func (*ClientWithResponses) SetFilePermissionsWithResponse ¶
func (c *ClientWithResponses) SetFilePermissionsWithResponse(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)
func (*ClientWithResponses) StartFsWatchWithBodyWithResponse ¶
func (c *ClientWithResponses) StartFsWatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)
StartFsWatchWithBodyWithResponse request with arbitrary body returning *StartFsWatchResponse
func (*ClientWithResponses) StartFsWatchWithResponse ¶
func (c *ClientWithResponses) StartFsWatchWithResponse(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)
func (*ClientWithResponses) StartRecordingWithBodyWithResponse ¶
func (c *ClientWithResponses) StartRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)
StartRecordingWithBodyWithResponse request with arbitrary body returning *StartRecordingResponse
func (*ClientWithResponses) StartRecordingWithResponse ¶
func (c *ClientWithResponses) StartRecordingWithResponse(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)
func (*ClientWithResponses) StopFsWatchWithResponse ¶
func (c *ClientWithResponses) StopFsWatchWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StopFsWatchResponse, error)
StopFsWatchWithResponse request returning *StopFsWatchResponse
func (*ClientWithResponses) StopRecordingWithBodyWithResponse ¶
func (c *ClientWithResponses) StopRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)
StopRecordingWithBodyWithResponse request with arbitrary body returning *StopRecordingResponse
func (*ClientWithResponses) StopRecordingWithResponse ¶
func (c *ClientWithResponses) StopRecordingWithResponse(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)
func (*ClientWithResponses) StreamFsEventsWithResponse ¶
func (c *ClientWithResponses) StreamFsEventsWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StreamFsEventsResponse, error)
StreamFsEventsWithResponse request returning *StreamFsEventsResponse
func (*ClientWithResponses) TakeScreenshotWithBodyWithResponse ¶
func (c *ClientWithResponses) TakeScreenshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)
TakeScreenshotWithBodyWithResponse request with arbitrary body returning *TakeScreenshotResponse
func (*ClientWithResponses) TakeScreenshotWithResponse ¶
func (c *ClientWithResponses) TakeScreenshotWithResponse(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)
func (*ClientWithResponses) TypeTextWithBodyWithResponse ¶
func (c *ClientWithResponses) TypeTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)
TypeTextWithBodyWithResponse request with arbitrary body returning *TypeTextResponse
func (*ClientWithResponses) TypeTextWithResponse ¶
func (c *ClientWithResponses) TypeTextWithResponse(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)
func (*ClientWithResponses) UploadExtensionsAndRestartWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsAndRestartResponse, error)
UploadExtensionsAndRestartWithBodyWithResponse request with arbitrary body returning *UploadExtensionsAndRestartResponse
func (*ClientWithResponses) UploadFilesWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadFilesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFilesResponse, error)
UploadFilesWithBodyWithResponse request with arbitrary body returning *UploadFilesResponse
func (*ClientWithResponses) UploadZipWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadZipWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZipResponse, error)
UploadZipWithBodyWithResponse request with arbitrary body returning *UploadZipResponse
func (*ClientWithResponses) WriteFileWithBodyWithResponse ¶
func (c *ClientWithResponses) WriteFileWithBodyWithResponse(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteFileResponse, error)
WriteFileWithBodyWithResponse request with arbitrary body returning *WriteFileResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// PatchChromiumFlagsWithBodyWithResponse request with any body
PatchChromiumFlagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)
PatchChromiumFlagsWithResponse(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumFlagsResponse, error)
// UploadExtensionsAndRestartWithBodyWithResponse request with any body
UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsAndRestartResponse, error)
// ClickMouseWithBodyWithResponse request with any body
ClickMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)
ClickMouseWithResponse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*ClickMouseResponse, error)
// SetCursorWithBodyWithResponse request with any body
SetCursorWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)
SetCursorWithResponse(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*SetCursorResponse, error)
// DragMouseWithBodyWithResponse request with any body
DragMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)
DragMouseWithResponse(ctx context.Context, body DragMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*DragMouseResponse, error)
// MoveMouseWithBodyWithResponse request with any body
MoveMouseWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)
MoveMouseWithResponse(ctx context.Context, body MoveMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*MoveMouseResponse, error)
// PressKeyWithBodyWithResponse request with any body
PressKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)
PressKeyWithResponse(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*PressKeyResponse, error)
// TakeScreenshotWithBodyWithResponse request with any body
TakeScreenshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)
TakeScreenshotWithResponse(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*TakeScreenshotResponse, error)
// ScrollWithBodyWithResponse request with any body
ScrollWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScrollResponse, error)
ScrollWithResponse(ctx context.Context, body ScrollJSONRequestBody, reqEditors ...RequestEditorFn) (*ScrollResponse, error)
// TypeTextWithBodyWithResponse request with any body
TypeTextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)
TypeTextWithResponse(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*TypeTextResponse, error)
// PatchDisplayWithBodyWithResponse request with any body
PatchDisplayWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)
PatchDisplayWithResponse(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchDisplayResponse, error)
// CreateDirectoryWithBodyWithResponse request with any body
CreateDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)
CreateDirectoryWithResponse(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDirectoryResponse, error)
// DeleteDirectoryWithBodyWithResponse request with any body
DeleteDirectoryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)
DeleteDirectoryWithResponse(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteDirectoryResponse, error)
// DeleteFileWithBodyWithResponse request with any body
DeleteFileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)
DeleteFileWithResponse(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteFileResponse, error)
// DownloadDirZipWithResponse request
DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*DownloadDirZipResponse, error)
// FileInfoWithResponse request
FileInfoWithResponse(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*FileInfoResponse, error)
// ListFilesWithResponse request
ListFilesWithResponse(ctx context.Context, params *ListFilesParams, reqEditors ...RequestEditorFn) (*ListFilesResponse, error)
// MovePathWithBodyWithResponse request with any body
MovePathWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MovePathResponse, error)
MovePathWithResponse(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*MovePathResponse, error)
// ReadFileWithResponse request
ReadFileWithResponse(ctx context.Context, params *ReadFileParams, reqEditors ...RequestEditorFn) (*ReadFileResponse, error)
// SetFilePermissionsWithBodyWithResponse request with any body
SetFilePermissionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)
SetFilePermissionsWithResponse(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetFilePermissionsResponse, error)
// UploadFilesWithBodyWithResponse request with any body
UploadFilesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadFilesResponse, error)
// UploadZipWithBodyWithResponse request with any body
UploadZipWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZipResponse, error)
// StartFsWatchWithBodyWithResponse request with any body
StartFsWatchWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)
StartFsWatchWithResponse(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*StartFsWatchResponse, error)
// StopFsWatchWithResponse request
StopFsWatchWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StopFsWatchResponse, error)
// StreamFsEventsWithResponse request
StreamFsEventsWithResponse(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*StreamFsEventsResponse, error)
// WriteFileWithBodyWithResponse request with any body
WriteFileWithBodyWithResponse(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteFileResponse, error)
// LogsStreamWithResponse request
LogsStreamWithResponse(ctx context.Context, params *LogsStreamParams, reqEditors ...RequestEditorFn) (*LogsStreamResponse, error)
// ExecutePlaywrightCodeWithBodyWithResponse request with any body
ExecutePlaywrightCodeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)
ExecutePlaywrightCodeWithResponse(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*ExecutePlaywrightCodeResponse, error)
// ProcessExecWithBodyWithResponse request with any body
ProcessExecWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)
ProcessExecWithResponse(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessExecResponse, error)
// ProcessSpawnWithBodyWithResponse request with any body
ProcessSpawnWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)
ProcessSpawnWithResponse(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessSpawnResponse, error)
// ProcessKillWithBodyWithResponse request with any body
ProcessKillWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)
ProcessKillWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessKillJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessKillResponse, error)
// ProcessResizeWithBodyWithResponse request with any body
ProcessResizeWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)
ProcessResizeWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessResizeJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessResizeResponse, error)
// ProcessStatusWithResponse request
ProcessStatusWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStatusResponse, error)
// ProcessStdinWithBodyWithResponse request with any body
ProcessStdinWithBodyWithResponse(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)
ProcessStdinWithResponse(ctx context.Context, processId openapi_types.UUID, body ProcessStdinJSONRequestBody, reqEditors ...RequestEditorFn) (*ProcessStdinResponse, error)
// ProcessStdoutStreamWithResponse request
ProcessStdoutStreamWithResponse(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*ProcessStdoutStreamResponse, error)
// DeleteRecordingWithBodyWithResponse request with any body
DeleteRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)
DeleteRecordingWithResponse(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteRecordingResponse, error)
// DownloadRecordingWithResponse request
DownloadRecordingWithResponse(ctx context.Context, params *DownloadRecordingParams, reqEditors ...RequestEditorFn) (*DownloadRecordingResponse, error)
// ListRecordersWithResponse request
ListRecordersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListRecordersResponse, error)
// StartRecordingWithBodyWithResponse request with any body
StartRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)
StartRecordingWithResponse(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StartRecordingResponse, error)
// StopRecordingWithBodyWithResponse request with any body
StopRecordingWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)
StopRecordingWithResponse(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*StopRecordingResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ConflictErrorJSONResponse ¶
type ConflictErrorJSONResponse Error
type CreateDirectory201Response ¶
type CreateDirectory201Response struct {
}
func (CreateDirectory201Response) VisitCreateDirectoryResponse ¶
func (response CreateDirectory201Response) VisitCreateDirectoryResponse(w http.ResponseWriter) error
type CreateDirectory400JSONResponse ¶
type CreateDirectory400JSONResponse struct{ BadRequestErrorJSONResponse }
func (CreateDirectory400JSONResponse) VisitCreateDirectoryResponse ¶
func (response CreateDirectory400JSONResponse) VisitCreateDirectoryResponse(w http.ResponseWriter) error
type CreateDirectory500JSONResponse ¶
type CreateDirectory500JSONResponse struct{ InternalErrorJSONResponse }
func (CreateDirectory500JSONResponse) VisitCreateDirectoryResponse ¶
func (response CreateDirectory500JSONResponse) VisitCreateDirectoryResponse(w http.ResponseWriter) error
type CreateDirectoryJSONRequestBody ¶
type CreateDirectoryJSONRequestBody = CreateDirectoryRequest
CreateDirectoryJSONRequestBody defines body for CreateDirectory for application/json ContentType.
type CreateDirectoryRequest ¶
type CreateDirectoryRequest struct {
// Mode Optional directory mode (octal string, e.g. 755). Defaults to 755.
Mode *string `json:"mode,omitempty"`
// Path Absolute directory path to create.
Path string `json:"path"`
}
CreateDirectoryRequest defines model for CreateDirectoryRequest.
type CreateDirectoryRequestObject ¶
type CreateDirectoryRequestObject struct {
Body *CreateDirectoryJSONRequestBody
}
type CreateDirectoryResponse ¶
type CreateDirectoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseCreateDirectoryResponse ¶
func ParseCreateDirectoryResponse(rsp *http.Response) (*CreateDirectoryResponse, error)
ParseCreateDirectoryResponse parses an HTTP response from a CreateDirectoryWithResponse call
func (CreateDirectoryResponse) Status ¶
func (r CreateDirectoryResponse) Status() string
Status returns HTTPResponse.Status
func (CreateDirectoryResponse) StatusCode ¶
func (r CreateDirectoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateDirectoryResponseObject ¶
type CreateDirectoryResponseObject interface {
VisitCreateDirectoryResponse(w http.ResponseWriter) error
}
type DeleteDirectory200Response ¶
type DeleteDirectory200Response struct {
}
func (DeleteDirectory200Response) VisitDeleteDirectoryResponse ¶
func (response DeleteDirectory200Response) VisitDeleteDirectoryResponse(w http.ResponseWriter) error
type DeleteDirectory400JSONResponse ¶
type DeleteDirectory400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DeleteDirectory400JSONResponse) VisitDeleteDirectoryResponse ¶
func (response DeleteDirectory400JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error
type DeleteDirectory404JSONResponse ¶
type DeleteDirectory404JSONResponse struct{ NotFoundErrorJSONResponse }
func (DeleteDirectory404JSONResponse) VisitDeleteDirectoryResponse ¶
func (response DeleteDirectory404JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error
type DeleteDirectory500JSONResponse ¶
type DeleteDirectory500JSONResponse struct{ InternalErrorJSONResponse }
func (DeleteDirectory500JSONResponse) VisitDeleteDirectoryResponse ¶
func (response DeleteDirectory500JSONResponse) VisitDeleteDirectoryResponse(w http.ResponseWriter) error
type DeleteDirectoryJSONRequestBody ¶
type DeleteDirectoryJSONRequestBody = DeletePathRequest
DeleteDirectoryJSONRequestBody defines body for DeleteDirectory for application/json ContentType.
type DeleteDirectoryRequestObject ¶
type DeleteDirectoryRequestObject struct {
Body *DeleteDirectoryJSONRequestBody
}
type DeleteDirectoryResponse ¶
type DeleteDirectoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseDeleteDirectoryResponse ¶
func ParseDeleteDirectoryResponse(rsp *http.Response) (*DeleteDirectoryResponse, error)
ParseDeleteDirectoryResponse parses an HTTP response from a DeleteDirectoryWithResponse call
func (DeleteDirectoryResponse) Status ¶
func (r DeleteDirectoryResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteDirectoryResponse) StatusCode ¶
func (r DeleteDirectoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteDirectoryResponseObject ¶
type DeleteDirectoryResponseObject interface {
VisitDeleteDirectoryResponse(w http.ResponseWriter) error
}
type DeleteFile200Response ¶
type DeleteFile200Response struct {
}
func (DeleteFile200Response) VisitDeleteFileResponse ¶
func (response DeleteFile200Response) VisitDeleteFileResponse(w http.ResponseWriter) error
type DeleteFile400JSONResponse ¶
type DeleteFile400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DeleteFile400JSONResponse) VisitDeleteFileResponse ¶
func (response DeleteFile400JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error
type DeleteFile404JSONResponse ¶
type DeleteFile404JSONResponse struct{ NotFoundErrorJSONResponse }
func (DeleteFile404JSONResponse) VisitDeleteFileResponse ¶
func (response DeleteFile404JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error
type DeleteFile500JSONResponse ¶
type DeleteFile500JSONResponse struct{ InternalErrorJSONResponse }
func (DeleteFile500JSONResponse) VisitDeleteFileResponse ¶
func (response DeleteFile500JSONResponse) VisitDeleteFileResponse(w http.ResponseWriter) error
type DeleteFileJSONRequestBody ¶
type DeleteFileJSONRequestBody = DeletePathRequest
DeleteFileJSONRequestBody defines body for DeleteFile for application/json ContentType.
type DeleteFileRequestObject ¶
type DeleteFileRequestObject struct {
Body *DeleteFileJSONRequestBody
}
type DeleteFileResponse ¶
type DeleteFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseDeleteFileResponse ¶
func ParseDeleteFileResponse(rsp *http.Response) (*DeleteFileResponse, error)
ParseDeleteFileResponse parses an HTTP response from a DeleteFileWithResponse call
func (DeleteFileResponse) Status ¶
func (r DeleteFileResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteFileResponse) StatusCode ¶
func (r DeleteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFileResponseObject ¶
type DeleteFileResponseObject interface {
VisitDeleteFileResponse(w http.ResponseWriter) error
}
type DeletePathRequest ¶
type DeletePathRequest struct {
// Path Absolute path to delete.
Path string `json:"path"`
}
DeletePathRequest defines model for DeletePathRequest.
type DeleteRecording200Response ¶
type DeleteRecording200Response struct {
}
func (DeleteRecording200Response) VisitDeleteRecordingResponse ¶
func (response DeleteRecording200Response) VisitDeleteRecordingResponse(w http.ResponseWriter) error
type DeleteRecording400JSONResponse ¶
type DeleteRecording400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DeleteRecording400JSONResponse) VisitDeleteRecordingResponse ¶
func (response DeleteRecording400JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error
type DeleteRecording404JSONResponse ¶
type DeleteRecording404JSONResponse struct{ NotFoundErrorJSONResponse }
func (DeleteRecording404JSONResponse) VisitDeleteRecordingResponse ¶
func (response DeleteRecording404JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error
type DeleteRecording409JSONResponse ¶
type DeleteRecording409JSONResponse struct{ ConflictErrorJSONResponse }
func (DeleteRecording409JSONResponse) VisitDeleteRecordingResponse ¶
func (response DeleteRecording409JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error
type DeleteRecording500JSONResponse ¶
type DeleteRecording500JSONResponse struct{ InternalErrorJSONResponse }
func (DeleteRecording500JSONResponse) VisitDeleteRecordingResponse ¶
func (response DeleteRecording500JSONResponse) VisitDeleteRecordingResponse(w http.ResponseWriter) error
type DeleteRecordingJSONRequestBody ¶
type DeleteRecordingJSONRequestBody = DeleteRecordingRequest
DeleteRecordingJSONRequestBody defines body for DeleteRecording for application/json ContentType.
type DeleteRecordingRequest ¶
type DeleteRecordingRequest struct {
// Id Identifier of the recording to delete. Alphanumeric or hyphen.
Id *string `json:"id,omitempty"`
}
DeleteRecordingRequest defines model for DeleteRecordingRequest.
type DeleteRecordingRequestObject ¶
type DeleteRecordingRequestObject struct {
Body *DeleteRecordingJSONRequestBody
}
type DeleteRecordingResponse ¶
type DeleteRecordingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON409 *ConflictError
JSON500 *InternalError
}
func ParseDeleteRecordingResponse ¶
func ParseDeleteRecordingResponse(rsp *http.Response) (*DeleteRecordingResponse, error)
ParseDeleteRecordingResponse parses an HTTP response from a DeleteRecordingWithResponse call
func (DeleteRecordingResponse) Status ¶
func (r DeleteRecordingResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteRecordingResponse) StatusCode ¶
func (r DeleteRecordingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteRecordingResponseObject ¶
type DeleteRecordingResponseObject interface {
VisitDeleteRecordingResponse(w http.ResponseWriter) error
}
type DisplayConfig ¶
type DisplayConfig struct {
// Height Current display height in pixels
Height *int `json:"height,omitempty"`
// RefreshRate Current display refresh rate in Hz (may be null if not detectable)
RefreshRate *int `json:"refresh_rate,omitempty"`
// Width Current display width in pixels
Width *int `json:"width,omitempty"`
}
DisplayConfig defines model for DisplayConfig.
type DownloadDirZip200ApplicationzipResponse ¶
func (DownloadDirZip200ApplicationzipResponse) VisitDownloadDirZipResponse ¶
func (response DownloadDirZip200ApplicationzipResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error
type DownloadDirZip400JSONResponse ¶
type DownloadDirZip400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DownloadDirZip400JSONResponse) VisitDownloadDirZipResponse ¶
func (response DownloadDirZip400JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error
type DownloadDirZip404JSONResponse ¶
type DownloadDirZip404JSONResponse struct{ NotFoundErrorJSONResponse }
func (DownloadDirZip404JSONResponse) VisitDownloadDirZipResponse ¶
func (response DownloadDirZip404JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error
type DownloadDirZip500JSONResponse ¶
type DownloadDirZip500JSONResponse struct{ InternalErrorJSONResponse }
func (DownloadDirZip500JSONResponse) VisitDownloadDirZipResponse ¶
func (response DownloadDirZip500JSONResponse) VisitDownloadDirZipResponse(w http.ResponseWriter) error
type DownloadDirZipParams ¶
type DownloadDirZipParams struct {
// Path Absolute directory path to archive and download.
Path string `form:"path" json:"path"`
}
DownloadDirZipParams defines parameters for DownloadDirZip.
type DownloadDirZipRequestObject ¶
type DownloadDirZipRequestObject struct {
Params DownloadDirZipParams
}
type DownloadDirZipResponse ¶
type DownloadDirZipResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseDownloadDirZipResponse ¶
func ParseDownloadDirZipResponse(rsp *http.Response) (*DownloadDirZipResponse, error)
ParseDownloadDirZipResponse parses an HTTP response from a DownloadDirZipWithResponse call
func (DownloadDirZipResponse) Status ¶
func (r DownloadDirZipResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadDirZipResponse) StatusCode ¶
func (r DownloadDirZipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadDirZipResponseObject ¶
type DownloadDirZipResponseObject interface {
VisitDownloadDirZipResponse(w http.ResponseWriter) error
}
type DownloadRecording200Videomp4Response ¶
type DownloadRecording200Videomp4Response struct {
Body io.Reader
Headers DownloadRecording200ResponseHeaders
ContentLength int64
}
func (DownloadRecording200Videomp4Response) VisitDownloadRecordingResponse ¶
func (response DownloadRecording200Videomp4Response) VisitDownloadRecordingResponse(w http.ResponseWriter) error
type DownloadRecording202Response ¶
type DownloadRecording202Response struct {
Headers DownloadRecording202ResponseHeaders
}
func (DownloadRecording202Response) VisitDownloadRecordingResponse ¶
func (response DownloadRecording202Response) VisitDownloadRecordingResponse(w http.ResponseWriter) error
type DownloadRecording202ResponseHeaders ¶
type DownloadRecording202ResponseHeaders struct {
RetryAfter int
}
type DownloadRecording400JSONResponse ¶
type DownloadRecording400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DownloadRecording400JSONResponse) VisitDownloadRecordingResponse ¶
func (response DownloadRecording400JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error
type DownloadRecording404JSONResponse ¶
type DownloadRecording404JSONResponse struct{ NotFoundErrorJSONResponse }
func (DownloadRecording404JSONResponse) VisitDownloadRecordingResponse ¶
func (response DownloadRecording404JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error
type DownloadRecording500JSONResponse ¶
type DownloadRecording500JSONResponse struct{ InternalErrorJSONResponse }
func (DownloadRecording500JSONResponse) VisitDownloadRecordingResponse ¶
func (response DownloadRecording500JSONResponse) VisitDownloadRecordingResponse(w http.ResponseWriter) error
type DownloadRecordingParams ¶
type DownloadRecordingParams struct {
// Id Optional recorder identifier. When omitted, the server uses the default recorder.
Id *string `form:"id,omitempty" json:"id,omitempty"`
}
DownloadRecordingParams defines parameters for DownloadRecording.
type DownloadRecordingRequestObject ¶
type DownloadRecordingRequestObject struct {
Params DownloadRecordingParams
}
type DownloadRecordingResponse ¶
type DownloadRecordingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseDownloadRecordingResponse ¶
func ParseDownloadRecordingResponse(rsp *http.Response) (*DownloadRecordingResponse, error)
ParseDownloadRecordingResponse parses an HTTP response from a DownloadRecordingWithResponse call
func (DownloadRecordingResponse) Status ¶
func (r DownloadRecordingResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadRecordingResponse) StatusCode ¶
func (r DownloadRecordingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadRecordingResponseObject ¶
type DownloadRecordingResponseObject interface {
VisitDownloadRecordingResponse(w http.ResponseWriter) error
}
type DragMouse200Response ¶
type DragMouse200Response struct {
}
func (DragMouse200Response) VisitDragMouseResponse ¶
func (response DragMouse200Response) VisitDragMouseResponse(w http.ResponseWriter) error
type DragMouse400JSONResponse ¶
type DragMouse400JSONResponse struct{ BadRequestErrorJSONResponse }
func (DragMouse400JSONResponse) VisitDragMouseResponse ¶
func (response DragMouse400JSONResponse) VisitDragMouseResponse(w http.ResponseWriter) error
type DragMouse500JSONResponse ¶
type DragMouse500JSONResponse struct{ InternalErrorJSONResponse }
func (DragMouse500JSONResponse) VisitDragMouseResponse ¶
func (response DragMouse500JSONResponse) VisitDragMouseResponse(w http.ResponseWriter) error
type DragMouseJSONRequestBody ¶
type DragMouseJSONRequestBody = DragMouseRequest
DragMouseJSONRequestBody defines body for DragMouse for application/json ContentType.
type DragMouseRequest ¶
type DragMouseRequest struct {
// Button Mouse button to drag with
Button *DragMouseRequestButton `json:"button,omitempty"`
// Delay Delay in milliseconds between button down and starting to move along the path.
Delay *int `json:"delay,omitempty"`
// HoldKeys Modifier keys to hold during the drag
HoldKeys *[]string `json:"hold_keys,omitempty"`
// Path Ordered list of [x, y] coordinate pairs to move through while dragging. Must contain at least 2 points.
Path [][]int `json:"path"`
// StepDelayMs Delay in milliseconds between relative steps while dragging (not the initial delay).
StepDelayMs *int `json:"step_delay_ms,omitempty"`
// StepsPerSegment Number of relative move steps per segment in the path. Minimum 1.
StepsPerSegment *int `json:"steps_per_segment,omitempty"`
}
DragMouseRequest defines model for DragMouseRequest.
type DragMouseRequestButton ¶
type DragMouseRequestButton string
DragMouseRequestButton Mouse button to drag with
const ( DragMouseRequestButtonLeft DragMouseRequestButton = "left" DragMouseRequestButtonMiddle DragMouseRequestButton = "middle" DragMouseRequestButtonRight DragMouseRequestButton = "right" )
Defines values for DragMouseRequestButton.
type DragMouseRequestObject ¶
type DragMouseRequestObject struct {
Body *DragMouseJSONRequestBody
}
type DragMouseResponse ¶
type DragMouseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseDragMouseResponse ¶
func ParseDragMouseResponse(rsp *http.Response) (*DragMouseResponse, error)
ParseDragMouseResponse parses an HTTP response from a DragMouseWithResponse call
func (DragMouseResponse) Status ¶
func (r DragMouseResponse) Status() string
Status returns HTTPResponse.Status
func (DragMouseResponse) StatusCode ¶
func (r DragMouseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DragMouseResponseObject ¶
type DragMouseResponseObject interface {
VisitDragMouseResponse(w http.ResponseWriter) error
}
type ExecutePlaywrightCode200JSONResponse ¶
type ExecutePlaywrightCode200JSONResponse ExecutePlaywrightResult
func (ExecutePlaywrightCode200JSONResponse) VisitExecutePlaywrightCodeResponse ¶
func (response ExecutePlaywrightCode200JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error
type ExecutePlaywrightCode400JSONResponse ¶
type ExecutePlaywrightCode400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ExecutePlaywrightCode400JSONResponse) VisitExecutePlaywrightCodeResponse ¶
func (response ExecutePlaywrightCode400JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error
type ExecutePlaywrightCode500JSONResponse ¶
type ExecutePlaywrightCode500JSONResponse struct{ InternalErrorJSONResponse }
func (ExecutePlaywrightCode500JSONResponse) VisitExecutePlaywrightCodeResponse ¶
func (response ExecutePlaywrightCode500JSONResponse) VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error
type ExecutePlaywrightCodeJSONRequestBody ¶
type ExecutePlaywrightCodeJSONRequestBody = ExecutePlaywrightRequest
ExecutePlaywrightCodeJSONRequestBody defines body for ExecutePlaywrightCode for application/json ContentType.
type ExecutePlaywrightCodeRequestObject ¶
type ExecutePlaywrightCodeRequestObject struct {
Body *ExecutePlaywrightCodeJSONRequestBody
}
type ExecutePlaywrightCodeResponse ¶
type ExecutePlaywrightCodeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ExecutePlaywrightResult
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseExecutePlaywrightCodeResponse ¶
func ParseExecutePlaywrightCodeResponse(rsp *http.Response) (*ExecutePlaywrightCodeResponse, error)
ParseExecutePlaywrightCodeResponse parses an HTTP response from a ExecutePlaywrightCodeWithResponse call
func (ExecutePlaywrightCodeResponse) Status ¶
func (r ExecutePlaywrightCodeResponse) Status() string
Status returns HTTPResponse.Status
func (ExecutePlaywrightCodeResponse) StatusCode ¶
func (r ExecutePlaywrightCodeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExecutePlaywrightCodeResponseObject ¶
type ExecutePlaywrightCodeResponseObject interface {
VisitExecutePlaywrightCodeResponse(w http.ResponseWriter) error
}
type ExecutePlaywrightRequest ¶
type ExecutePlaywrightRequest struct {
// Code TypeScript/JavaScript code to execute. The code has access to 'page', 'context', and 'browser' variables.
// Example: "await page.goto('https://example.com'); return await page.title();"
Code string `json:"code"`
// TimeoutSec Maximum execution time in seconds. Default is 60.
TimeoutSec *int `json:"timeout_sec,omitempty"`
}
ExecutePlaywrightRequest Request to execute Playwright code
type ExecutePlaywrightResult ¶
type ExecutePlaywrightResult struct {
// Error Error message if execution failed
Error *string `json:"error,omitempty"`
// Result The value returned by the code (if any)
Result interface{} `json:"result,omitempty"`
// Stderr Standard error from the execution
Stderr *string `json:"stderr,omitempty"`
// Stdout Standard output from the execution
Stdout *string `json:"stdout,omitempty"`
// Success Whether the code executed successfully
Success bool `json:"success"`
}
ExecutePlaywrightResult Result of Playwright code execution
type FileInfo ¶
type FileInfo struct {
// IsDir Whether the path is a directory.
IsDir bool `json:"is_dir"`
// ModTime Last modification time.
ModTime time.Time `json:"mod_time"`
// Mode File mode bits (e.g., "drwxr-xr-x" or "-rw-r--r--").
Mode string `json:"mode"`
// Name Base name of the file or directory.
Name string `json:"name"`
// Path Absolute path.
Path string `json:"path"`
// SizeBytes Size in bytes. 0 for directories.
SizeBytes int `json:"size_bytes"`
}
FileInfo defines model for FileInfo.
type FileInfo200JSONResponse ¶
type FileInfo200JSONResponse FileInfo
func (FileInfo200JSONResponse) VisitFileInfoResponse ¶
func (response FileInfo200JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error
type FileInfo400JSONResponse ¶
type FileInfo400JSONResponse struct{ BadRequestErrorJSONResponse }
func (FileInfo400JSONResponse) VisitFileInfoResponse ¶
func (response FileInfo400JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error
type FileInfo404JSONResponse ¶
type FileInfo404JSONResponse struct{ NotFoundErrorJSONResponse }
func (FileInfo404JSONResponse) VisitFileInfoResponse ¶
func (response FileInfo404JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error
type FileInfo500JSONResponse ¶
type FileInfo500JSONResponse struct{ InternalErrorJSONResponse }
func (FileInfo500JSONResponse) VisitFileInfoResponse ¶
func (response FileInfo500JSONResponse) VisitFileInfoResponse(w http.ResponseWriter) error
type FileInfoParams ¶
type FileInfoParams struct {
// Path Absolute path of the file or directory.
Path string `form:"path" json:"path"`
}
FileInfoParams defines parameters for FileInfo.
type FileInfoRequestObject ¶
type FileInfoRequestObject struct {
Params FileInfoParams
}
type FileInfoResponse ¶
type FileInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FileInfo
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseFileInfoResponse ¶
func ParseFileInfoResponse(rsp *http.Response) (*FileInfoResponse, error)
ParseFileInfoResponse parses an HTTP response from a FileInfoWithResponse call
func (FileInfoResponse) Status ¶
func (r FileInfoResponse) Status() string
Status returns HTTPResponse.Status
func (FileInfoResponse) StatusCode ¶
func (r FileInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FileInfoResponseObject ¶
type FileInfoResponseObject interface {
VisitFileInfoResponse(w http.ResponseWriter) error
}
type FileSystemEvent ¶
type FileSystemEvent struct {
// IsDir Whether the affected path is a directory.
IsDir *bool `json:"is_dir,omitempty"`
// Name Base name of the file or directory affected.
Name *string `json:"name,omitempty"`
// Path Absolute path of the file or directory.
Path string `json:"path"`
// Type Event type.
Type FileSystemEventType `json:"type"`
}
FileSystemEvent Filesystem change event.
type FileSystemEventType ¶
type FileSystemEventType string
FileSystemEventType Event type.
const ( CREATE FileSystemEventType = "CREATE" DELETE FileSystemEventType = "DELETE" RENAME FileSystemEventType = "RENAME" WRITE FileSystemEventType = "WRITE" )
Defines values for FileSystemEventType.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalErrorJSONResponse ¶
type InternalErrorJSONResponse Error
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListFiles ¶
type ListFiles = []FileInfo
ListFiles Array of file or directory information entries.
type ListFiles200JSONResponse ¶
type ListFiles200JSONResponse ListFiles
func (ListFiles200JSONResponse) VisitListFilesResponse ¶
func (response ListFiles200JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error
type ListFiles400JSONResponse ¶
type ListFiles400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ListFiles400JSONResponse) VisitListFilesResponse ¶
func (response ListFiles400JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error
type ListFiles404JSONResponse ¶
type ListFiles404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ListFiles404JSONResponse) VisitListFilesResponse ¶
func (response ListFiles404JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error
type ListFiles500JSONResponse ¶
type ListFiles500JSONResponse struct{ InternalErrorJSONResponse }
func (ListFiles500JSONResponse) VisitListFilesResponse ¶
func (response ListFiles500JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error
type ListFilesParams ¶
type ListFilesParams struct {
// Path Absolute directory path.
Path string `form:"path" json:"path"`
}
ListFilesParams defines parameters for ListFiles.
type ListFilesRequestObject ¶
type ListFilesRequestObject struct {
Params ListFilesParams
}
type ListFilesResponse ¶
type ListFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListFiles
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseListFilesResponse ¶
func ParseListFilesResponse(rsp *http.Response) (*ListFilesResponse, error)
ParseListFilesResponse parses an HTTP response from a ListFilesWithResponse call
func (ListFilesResponse) Status ¶
func (r ListFilesResponse) Status() string
Status returns HTTPResponse.Status
func (ListFilesResponse) StatusCode ¶
func (r ListFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFilesResponseObject ¶
type ListFilesResponseObject interface {
VisitListFilesResponse(w http.ResponseWriter) error
}
type ListRecorders200JSONResponse ¶
type ListRecorders200JSONResponse []RecorderInfo
func (ListRecorders200JSONResponse) VisitListRecordersResponse ¶
func (response ListRecorders200JSONResponse) VisitListRecordersResponse(w http.ResponseWriter) error
type ListRecorders500JSONResponse ¶
type ListRecorders500JSONResponse struct{ InternalErrorJSONResponse }
func (ListRecorders500JSONResponse) VisitListRecordersResponse ¶
func (response ListRecorders500JSONResponse) VisitListRecordersResponse(w http.ResponseWriter) error
type ListRecordersRequestObject ¶
type ListRecordersRequestObject struct {
}
type ListRecordersResponse ¶
type ListRecordersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]RecorderInfo
JSON500 *InternalError
}
func ParseListRecordersResponse ¶
func ParseListRecordersResponse(rsp *http.Response) (*ListRecordersResponse, error)
ParseListRecordersResponse parses an HTTP response from a ListRecordersWithResponse call
func (ListRecordersResponse) Status ¶
func (r ListRecordersResponse) Status() string
Status returns HTTPResponse.Status
func (ListRecordersResponse) StatusCode ¶
func (r ListRecordersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRecordersResponseObject ¶
type ListRecordersResponseObject interface {
VisitListRecordersResponse(w http.ResponseWriter) error
}
type LogEvent ¶
type LogEvent struct {
// Message Log message text.
Message string `json:"message"`
// Timestamp Time the log entry was produced.
Timestamp time.Time `json:"timestamp"`
}
LogEvent A log entry from the application.
type LogsStream200ResponseHeaders ¶
type LogsStream200ResponseHeaders struct {
XSSEContentType string
}
type LogsStream200TexteventStreamResponse ¶
type LogsStream200TexteventStreamResponse struct {
Body io.Reader
Headers LogsStream200ResponseHeaders
ContentLength int64
}
func (LogsStream200TexteventStreamResponse) VisitLogsStreamResponse ¶
func (response LogsStream200TexteventStreamResponse) VisitLogsStreamResponse(w http.ResponseWriter) error
type LogsStreamParams ¶
type LogsStreamParams struct {
Source LogsStreamParamsSource `form:"source" json:"source"`
Follow *bool `form:"follow,omitempty" json:"follow,omitempty"`
// Path only required if source is path
Path *string `form:"path,omitempty" json:"path,omitempty"`
// SupervisorProcess only required if source is supervisor
SupervisorProcess *string `form:"supervisor_process,omitempty" json:"supervisor_process,omitempty"`
}
LogsStreamParams defines parameters for LogsStream.
type LogsStreamParamsSource ¶
type LogsStreamParamsSource string
LogsStreamParamsSource defines parameters for LogsStream.
const ( Path LogsStreamParamsSource = "path" Supervisor LogsStreamParamsSource = "supervisor" )
Defines values for LogsStreamParamsSource.
type LogsStreamRequestObject ¶
type LogsStreamRequestObject struct {
Params LogsStreamParams
}
type LogsStreamResponse ¶
func ParseLogsStreamResponse ¶
func ParseLogsStreamResponse(rsp *http.Response) (*LogsStreamResponse, error)
ParseLogsStreamResponse parses an HTTP response from a LogsStreamWithResponse call
func (LogsStreamResponse) Status ¶
func (r LogsStreamResponse) Status() string
Status returns HTTPResponse.Status
func (LogsStreamResponse) StatusCode ¶
func (r LogsStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LogsStreamResponseObject ¶
type LogsStreamResponseObject interface {
VisitLogsStreamResponse(w http.ResponseWriter) error
}
type MoveMouse200Response ¶
type MoveMouse200Response struct {
}
func (MoveMouse200Response) VisitMoveMouseResponse ¶
func (response MoveMouse200Response) VisitMoveMouseResponse(w http.ResponseWriter) error
type MoveMouse400JSONResponse ¶
type MoveMouse400JSONResponse struct{ BadRequestErrorJSONResponse }
func (MoveMouse400JSONResponse) VisitMoveMouseResponse ¶
func (response MoveMouse400JSONResponse) VisitMoveMouseResponse(w http.ResponseWriter) error
type MoveMouse500JSONResponse ¶
type MoveMouse500JSONResponse struct{ InternalErrorJSONResponse }
func (MoveMouse500JSONResponse) VisitMoveMouseResponse ¶
func (response MoveMouse500JSONResponse) VisitMoveMouseResponse(w http.ResponseWriter) error
type MoveMouseJSONRequestBody ¶
type MoveMouseJSONRequestBody = MoveMouseRequest
MoveMouseJSONRequestBody defines body for MoveMouse for application/json ContentType.
type MoveMouseRequest ¶
type MoveMouseRequest struct {
// HoldKeys Modifier keys to hold during the move
HoldKeys *[]string `json:"hold_keys,omitempty"`
// X X coordinate to move the cursor to
X int `json:"x"`
// Y Y coordinate to move the cursor to
Y int `json:"y"`
}
MoveMouseRequest defines model for MoveMouseRequest.
type MoveMouseRequestObject ¶
type MoveMouseRequestObject struct {
Body *MoveMouseJSONRequestBody
}
type MoveMouseResponse ¶
type MoveMouseResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseMoveMouseResponse ¶
func ParseMoveMouseResponse(rsp *http.Response) (*MoveMouseResponse, error)
ParseMoveMouseResponse parses an HTTP response from a MoveMouseWithResponse call
func (MoveMouseResponse) Status ¶
func (r MoveMouseResponse) Status() string
Status returns HTTPResponse.Status
func (MoveMouseResponse) StatusCode ¶
func (r MoveMouseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MoveMouseResponseObject ¶
type MoveMouseResponseObject interface {
VisitMoveMouseResponse(w http.ResponseWriter) error
}
type MovePath200Response ¶
type MovePath200Response struct {
}
func (MovePath200Response) VisitMovePathResponse ¶
func (response MovePath200Response) VisitMovePathResponse(w http.ResponseWriter) error
type MovePath400JSONResponse ¶
type MovePath400JSONResponse struct{ BadRequestErrorJSONResponse }
func (MovePath400JSONResponse) VisitMovePathResponse ¶
func (response MovePath400JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error
type MovePath404JSONResponse ¶
type MovePath404JSONResponse struct{ NotFoundErrorJSONResponse }
func (MovePath404JSONResponse) VisitMovePathResponse ¶
func (response MovePath404JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error
type MovePath500JSONResponse ¶
type MovePath500JSONResponse struct{ InternalErrorJSONResponse }
func (MovePath500JSONResponse) VisitMovePathResponse ¶
func (response MovePath500JSONResponse) VisitMovePathResponse(w http.ResponseWriter) error
type MovePathJSONRequestBody ¶
type MovePathJSONRequestBody = MovePathRequest
MovePathJSONRequestBody defines body for MovePath for application/json ContentType.
type MovePathRequest ¶
type MovePathRequest struct {
// DestPath Absolute destination path.
DestPath string `json:"dest_path"`
// SrcPath Absolute source path.
SrcPath string `json:"src_path"`
}
MovePathRequest defines model for MovePathRequest.
type MovePathRequestObject ¶
type MovePathRequestObject struct {
Body *MovePathJSONRequestBody
}
type MovePathResponse ¶
type MovePathResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseMovePathResponse ¶
func ParseMovePathResponse(rsp *http.Response) (*MovePathResponse, error)
ParseMovePathResponse parses an HTTP response from a MovePathWithResponse call
func (MovePathResponse) Status ¶
func (r MovePathResponse) Status() string
Status returns HTTPResponse.Status
func (MovePathResponse) StatusCode ¶
func (r MovePathResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MovePathResponseObject ¶
type MovePathResponseObject interface {
VisitMovePathResponse(w http.ResponseWriter) error
}
type NotFoundErrorJSONResponse ¶
type NotFoundErrorJSONResponse Error
type OkResponse ¶
type OkResponse struct {
// Ok Indicates success.
Ok bool `json:"ok"`
}
OkResponse Generic OK response.
type PatchChromiumFlags200Response ¶
type PatchChromiumFlags200Response struct {
}
func (PatchChromiumFlags200Response) VisitPatchChromiumFlagsResponse ¶
func (response PatchChromiumFlags200Response) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error
type PatchChromiumFlags400JSONResponse ¶
type PatchChromiumFlags400JSONResponse struct{ BadRequestErrorJSONResponse }
func (PatchChromiumFlags400JSONResponse) VisitPatchChromiumFlagsResponse ¶
func (response PatchChromiumFlags400JSONResponse) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error
type PatchChromiumFlags500JSONResponse ¶
type PatchChromiumFlags500JSONResponse struct{ InternalErrorJSONResponse }
func (PatchChromiumFlags500JSONResponse) VisitPatchChromiumFlagsResponse ¶
func (response PatchChromiumFlags500JSONResponse) VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error
type PatchChromiumFlagsJSONBody ¶
type PatchChromiumFlagsJSONBody struct {
// Flags Chromium flags to merge (e.g., ["--kiosk", "--disable-gpu"])
Flags []string `json:"flags"`
}
PatchChromiumFlagsJSONBody defines parameters for PatchChromiumFlags.
type PatchChromiumFlagsJSONRequestBody ¶
type PatchChromiumFlagsJSONRequestBody PatchChromiumFlagsJSONBody
PatchChromiumFlagsJSONRequestBody defines body for PatchChromiumFlags for application/json ContentType.
type PatchChromiumFlagsRequestObject ¶
type PatchChromiumFlagsRequestObject struct {
Body *PatchChromiumFlagsJSONRequestBody
}
type PatchChromiumFlagsResponse ¶
type PatchChromiumFlagsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParsePatchChromiumFlagsResponse ¶
func ParsePatchChromiumFlagsResponse(rsp *http.Response) (*PatchChromiumFlagsResponse, error)
ParsePatchChromiumFlagsResponse parses an HTTP response from a PatchChromiumFlagsWithResponse call
func (PatchChromiumFlagsResponse) Status ¶
func (r PatchChromiumFlagsResponse) Status() string
Status returns HTTPResponse.Status
func (PatchChromiumFlagsResponse) StatusCode ¶
func (r PatchChromiumFlagsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchChromiumFlagsResponseObject ¶
type PatchChromiumFlagsResponseObject interface {
VisitPatchChromiumFlagsResponse(w http.ResponseWriter) error
}
type PatchDisplay200JSONResponse ¶
type PatchDisplay200JSONResponse DisplayConfig
func (PatchDisplay200JSONResponse) VisitPatchDisplayResponse ¶
func (response PatchDisplay200JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error
type PatchDisplay400JSONResponse ¶
type PatchDisplay400JSONResponse struct{ BadRequestErrorJSONResponse }
func (PatchDisplay400JSONResponse) VisitPatchDisplayResponse ¶
func (response PatchDisplay400JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error
type PatchDisplay409JSONResponse ¶
type PatchDisplay409JSONResponse struct{ ConflictErrorJSONResponse }
func (PatchDisplay409JSONResponse) VisitPatchDisplayResponse ¶
func (response PatchDisplay409JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error
type PatchDisplay500JSONResponse ¶
type PatchDisplay500JSONResponse struct{ InternalErrorJSONResponse }
func (PatchDisplay500JSONResponse) VisitPatchDisplayResponse ¶
func (response PatchDisplay500JSONResponse) VisitPatchDisplayResponse(w http.ResponseWriter) error
type PatchDisplayJSONRequestBody ¶
type PatchDisplayJSONRequestBody = PatchDisplayRequest
PatchDisplayJSONRequestBody defines body for PatchDisplay for application/json ContentType.
type PatchDisplayRequest ¶
type PatchDisplayRequest struct {
// Height Display height in pixels
Height *int `json:"height,omitempty"`
// RefreshRate Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.
RefreshRate *PatchDisplayRequestRefreshRate `json:"refresh_rate,omitempty"`
// RequireIdle If true, refuse to resize when live view or recording/replay is active.
RequireIdle *bool `json:"require_idle,omitempty"`
// RestartChromium If true, restart Chromium after resolution change to ensure it adapts to new size. Default is false for headful, true for headless.
RestartChromium *bool `json:"restart_chromium,omitempty"`
// Width Display width in pixels
Width *int `json:"width,omitempty"`
}
PatchDisplayRequest defines model for PatchDisplayRequest.
type PatchDisplayRequestObject ¶
type PatchDisplayRequestObject struct {
Body *PatchDisplayJSONRequestBody
}
type PatchDisplayRequestRefreshRate ¶
type PatchDisplayRequestRefreshRate int
PatchDisplayRequestRefreshRate Display refresh rate in Hz. If omitted, uses the highest available rate for the resolution.
const ( N10 PatchDisplayRequestRefreshRate = 10 N25 PatchDisplayRequestRefreshRate = 25 N30 PatchDisplayRequestRefreshRate = 30 N60 PatchDisplayRequestRefreshRate = 60 )
Defines values for PatchDisplayRequestRefreshRate.
type PatchDisplayResponse ¶
type PatchDisplayResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DisplayConfig
JSON400 *BadRequestError
JSON409 *ConflictError
JSON500 *InternalError
}
func ParsePatchDisplayResponse ¶
func ParsePatchDisplayResponse(rsp *http.Response) (*PatchDisplayResponse, error)
ParsePatchDisplayResponse parses an HTTP response from a PatchDisplayWithResponse call
func (PatchDisplayResponse) Status ¶
func (r PatchDisplayResponse) Status() string
Status returns HTTPResponse.Status
func (PatchDisplayResponse) StatusCode ¶
func (r PatchDisplayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchDisplayResponseObject ¶
type PatchDisplayResponseObject interface {
VisitPatchDisplayResponse(w http.ResponseWriter) error
}
type PressKey200Response ¶
type PressKey200Response struct {
}
func (PressKey200Response) VisitPressKeyResponse ¶
func (response PressKey200Response) VisitPressKeyResponse(w http.ResponseWriter) error
type PressKey400JSONResponse ¶
type PressKey400JSONResponse struct{ BadRequestErrorJSONResponse }
func (PressKey400JSONResponse) VisitPressKeyResponse ¶
func (response PressKey400JSONResponse) VisitPressKeyResponse(w http.ResponseWriter) error
type PressKey500JSONResponse ¶
type PressKey500JSONResponse struct{ InternalErrorJSONResponse }
func (PressKey500JSONResponse) VisitPressKeyResponse ¶
func (response PressKey500JSONResponse) VisitPressKeyResponse(w http.ResponseWriter) error
type PressKeyJSONRequestBody ¶
type PressKeyJSONRequestBody = PressKeyRequest
PressKeyJSONRequestBody defines body for PressKey for application/json ContentType.
type PressKeyRequest ¶
type PressKeyRequest struct {
// Duration Duration to hold the keys down in milliseconds. If omitted or 0, keys are tapped.
Duration *int `json:"duration,omitempty"`
// HoldKeys Optional modifier keys to hold during the key press sequence.
HoldKeys *[]string `json:"hold_keys,omitempty"`
// Keys List of key symbols to press. Each item should be a key symbol supported by xdotool
// (see X11 keysym definitions). Examples include "Return", "Shift", "Ctrl", "Alt", "F5".
// Items in this list could also be combinations, e.g. "Ctrl+t" or "Ctrl+Shift+Tab".
Keys []string `json:"keys"`
}
PressKeyRequest defines model for PressKeyRequest.
type PressKeyRequestObject ¶
type PressKeyRequestObject struct {
Body *PressKeyJSONRequestBody
}
type PressKeyResponse ¶
type PressKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParsePressKeyResponse ¶
func ParsePressKeyResponse(rsp *http.Response) (*PressKeyResponse, error)
ParsePressKeyResponse parses an HTTP response from a PressKeyWithResponse call
func (PressKeyResponse) Status ¶
func (r PressKeyResponse) Status() string
Status returns HTTPResponse.Status
func (PressKeyResponse) StatusCode ¶
func (r PressKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PressKeyResponseObject ¶
type PressKeyResponseObject interface {
VisitPressKeyResponse(w http.ResponseWriter) error
}
type ProcessExec200JSONResponse ¶
type ProcessExec200JSONResponse ProcessExecResult
func (ProcessExec200JSONResponse) VisitProcessExecResponse ¶
func (response ProcessExec200JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error
type ProcessExec400JSONResponse ¶
type ProcessExec400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessExec400JSONResponse) VisitProcessExecResponse ¶
func (response ProcessExec400JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error
type ProcessExec500JSONResponse ¶
type ProcessExec500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessExec500JSONResponse) VisitProcessExecResponse ¶
func (response ProcessExec500JSONResponse) VisitProcessExecResponse(w http.ResponseWriter) error
type ProcessExecJSONRequestBody ¶
type ProcessExecJSONRequestBody = ProcessExecRequest
ProcessExecJSONRequestBody defines body for ProcessExec for application/json ContentType.
type ProcessExecRequest ¶
type ProcessExecRequest struct {
// Args Command arguments.
Args *[]string `json:"args,omitempty"`
// AsRoot Run the process with root privileges.
AsRoot *bool `json:"as_root,omitempty"`
// AsUser Run the process as this user.
AsUser *string `json:"as_user"`
// Command Executable or shell command to run.
Command string `json:"command"`
// Cwd Working directory (absolute path) to run the command in.
Cwd *string `json:"cwd"`
// Env Environment variables to set for the process.
Env *map[string]string `json:"env,omitempty"`
// TimeoutSec Maximum execution time in seconds.
TimeoutSec *int `json:"timeout_sec"`
}
ProcessExecRequest Request to execute a command synchronously.
type ProcessExecRequestObject ¶
type ProcessExecRequestObject struct {
Body *ProcessExecJSONRequestBody
}
type ProcessExecResponse ¶
type ProcessExecResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessExecResult
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseProcessExecResponse ¶
func ParseProcessExecResponse(rsp *http.Response) (*ProcessExecResponse, error)
ParseProcessExecResponse parses an HTTP response from a ProcessExecWithResponse call
func (ProcessExecResponse) Status ¶
func (r ProcessExecResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessExecResponse) StatusCode ¶
func (r ProcessExecResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessExecResponseObject ¶
type ProcessExecResponseObject interface {
VisitProcessExecResponse(w http.ResponseWriter) error
}
type ProcessExecResult ¶
type ProcessExecResult struct {
// DurationMs Execution duration in milliseconds.
DurationMs *int `json:"duration_ms,omitempty"`
// ExitCode Process exit code.
ExitCode *int `json:"exit_code,omitempty"`
// StderrB64 Base64-encoded stderr buffer.
StderrB64 *string `json:"stderr_b64,omitempty"`
// StdoutB64 Base64-encoded stdout buffer.
StdoutB64 *string `json:"stdout_b64,omitempty"`
}
ProcessExecResult Result of a synchronous command execution.
type ProcessKill200JSONResponse ¶
type ProcessKill200JSONResponse OkResponse
func (ProcessKill200JSONResponse) VisitProcessKillResponse ¶
func (response ProcessKill200JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error
type ProcessKill400JSONResponse ¶
type ProcessKill400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessKill400JSONResponse) VisitProcessKillResponse ¶
func (response ProcessKill400JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error
type ProcessKill404JSONResponse ¶
type ProcessKill404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ProcessKill404JSONResponse) VisitProcessKillResponse ¶
func (response ProcessKill404JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error
type ProcessKill500JSONResponse ¶
type ProcessKill500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessKill500JSONResponse) VisitProcessKillResponse ¶
func (response ProcessKill500JSONResponse) VisitProcessKillResponse(w http.ResponseWriter) error
type ProcessKillJSONRequestBody ¶
type ProcessKillJSONRequestBody = ProcessKillRequest
ProcessKillJSONRequestBody defines body for ProcessKill for application/json ContentType.
type ProcessKillRequest ¶
type ProcessKillRequest struct {
// Signal Signal to send.
Signal ProcessKillRequestSignal `json:"signal"`
}
ProcessKillRequest Signal to send to the process.
type ProcessKillRequestObject ¶
type ProcessKillRequestObject struct {
ProcessId openapi_types.UUID `json:"process_id"`
Body *ProcessKillJSONRequestBody
}
type ProcessKillRequestSignal ¶
type ProcessKillRequestSignal string
ProcessKillRequestSignal Signal to send.
const ( HUP ProcessKillRequestSignal = "HUP" INT ProcessKillRequestSignal = "INT" KILL ProcessKillRequestSignal = "KILL" TERM ProcessKillRequestSignal = "TERM" )
Defines values for ProcessKillRequestSignal.
type ProcessKillResponse ¶
type ProcessKillResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OkResponse
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseProcessKillResponse ¶
func ParseProcessKillResponse(rsp *http.Response) (*ProcessKillResponse, error)
ParseProcessKillResponse parses an HTTP response from a ProcessKillWithResponse call
func (ProcessKillResponse) Status ¶
func (r ProcessKillResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessKillResponse) StatusCode ¶
func (r ProcessKillResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessKillResponseObject ¶
type ProcessKillResponseObject interface {
VisitProcessKillResponse(w http.ResponseWriter) error
}
type ProcessResize200JSONResponse ¶
type ProcessResize200JSONResponse OkResponse
func (ProcessResize200JSONResponse) VisitProcessResizeResponse ¶
func (response ProcessResize200JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error
type ProcessResize400JSONResponse ¶
type ProcessResize400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessResize400JSONResponse) VisitProcessResizeResponse ¶
func (response ProcessResize400JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error
type ProcessResize404JSONResponse ¶
type ProcessResize404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ProcessResize404JSONResponse) VisitProcessResizeResponse ¶
func (response ProcessResize404JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error
type ProcessResize500JSONResponse ¶
type ProcessResize500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessResize500JSONResponse) VisitProcessResizeResponse ¶
func (response ProcessResize500JSONResponse) VisitProcessResizeResponse(w http.ResponseWriter) error
type ProcessResizeJSONRequestBody ¶
type ProcessResizeJSONRequestBody = ProcessResizeRequest
ProcessResizeJSONRequestBody defines body for ProcessResize for application/json ContentType.
type ProcessResizeRequest ¶
type ProcessResizeRequest struct {
// Cols New terminal columns.
Cols int `json:"cols"`
// Rows New terminal rows.
Rows int `json:"rows"`
}
ProcessResizeRequest Resize a PTY-backed process.
type ProcessResizeRequestObject ¶
type ProcessResizeRequestObject struct {
ProcessId openapi_types.UUID `json:"process_id"`
Body *ProcessResizeJSONRequestBody
}
type ProcessResizeResponse ¶
type ProcessResizeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OkResponse
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseProcessResizeResponse ¶
func ParseProcessResizeResponse(rsp *http.Response) (*ProcessResizeResponse, error)
ParseProcessResizeResponse parses an HTTP response from a ProcessResizeWithResponse call
func (ProcessResizeResponse) Status ¶
func (r ProcessResizeResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessResizeResponse) StatusCode ¶
func (r ProcessResizeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessResizeResponseObject ¶
type ProcessResizeResponseObject interface {
VisitProcessResizeResponse(w http.ResponseWriter) error
}
type ProcessSpawn200JSONResponse ¶
type ProcessSpawn200JSONResponse ProcessSpawnResult
func (ProcessSpawn200JSONResponse) VisitProcessSpawnResponse ¶
func (response ProcessSpawn200JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error
type ProcessSpawn400JSONResponse ¶
type ProcessSpawn400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessSpawn400JSONResponse) VisitProcessSpawnResponse ¶
func (response ProcessSpawn400JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error
type ProcessSpawn500JSONResponse ¶
type ProcessSpawn500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessSpawn500JSONResponse) VisitProcessSpawnResponse ¶
func (response ProcessSpawn500JSONResponse) VisitProcessSpawnResponse(w http.ResponseWriter) error
type ProcessSpawnJSONRequestBody ¶
type ProcessSpawnJSONRequestBody = ProcessSpawnRequest
ProcessSpawnJSONRequestBody defines body for ProcessSpawn for application/json ContentType.
type ProcessSpawnRequest ¶
type ProcessSpawnRequest struct {
// AllocateTty Allocate a pseudo-terminal (PTY) for the process to enable interactive shells.
AllocateTty *bool `json:"allocate_tty,omitempty"`
// Args Command arguments.
Args *[]string `json:"args,omitempty"`
// AsRoot Run the process with root privileges.
AsRoot *bool `json:"as_root,omitempty"`
// AsUser Run the process as this user.
AsUser *string `json:"as_user"`
// Cols Initial terminal columns when allocate_tty is true.
Cols *int `json:"cols,omitempty"`
// Command Executable or shell command to run.
Command string `json:"command"`
// Cwd Working directory (absolute path) to run the command in.
Cwd *string `json:"cwd"`
// Env Environment variables to set for the process.
Env *map[string]string `json:"env,omitempty"`
// Rows Initial terminal rows when allocate_tty is true.
Rows *int `json:"rows,omitempty"`
// TimeoutSec Maximum execution time in seconds.
TimeoutSec *int `json:"timeout_sec"`
}
ProcessSpawnRequest defines model for ProcessSpawnRequest.
type ProcessSpawnRequestObject ¶
type ProcessSpawnRequestObject struct {
Body *ProcessSpawnJSONRequestBody
}
type ProcessSpawnResponse ¶
type ProcessSpawnResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessSpawnResult
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseProcessSpawnResponse ¶
func ParseProcessSpawnResponse(rsp *http.Response) (*ProcessSpawnResponse, error)
ParseProcessSpawnResponse parses an HTTP response from a ProcessSpawnWithResponse call
func (ProcessSpawnResponse) Status ¶
func (r ProcessSpawnResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessSpawnResponse) StatusCode ¶
func (r ProcessSpawnResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessSpawnResponseObject ¶
type ProcessSpawnResponseObject interface {
VisitProcessSpawnResponse(w http.ResponseWriter) error
}
type ProcessSpawnResult ¶
type ProcessSpawnResult struct {
// Pid OS process ID.
Pid *int `json:"pid,omitempty"`
// ProcessId Server-assigned identifier for the process.
ProcessId *openapi_types.UUID `json:"process_id,omitempty"`
// StartedAt Timestamp when the process started.
StartedAt *time.Time `json:"started_at,omitempty"`
}
ProcessSpawnResult Information about a spawned process.
type ProcessStatus ¶
type ProcessStatus struct {
// CpuPct Estimated CPU usage percentage.
CpuPct *float32 `json:"cpu_pct,omitempty"`
// ExitCode Exit code if the process has exited.
ExitCode *int `json:"exit_code"`
// MemBytes Estimated resident memory usage in bytes.
MemBytes *int `json:"mem_bytes,omitempty"`
// State Process state.
State *ProcessStatusState `json:"state,omitempty"`
}
ProcessStatus Current status of a process.
type ProcessStatus200JSONResponse ¶
type ProcessStatus200JSONResponse ProcessStatus
func (ProcessStatus200JSONResponse) VisitProcessStatusResponse ¶
func (response ProcessStatus200JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error
type ProcessStatus400JSONResponse ¶
type ProcessStatus400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessStatus400JSONResponse) VisitProcessStatusResponse ¶
func (response ProcessStatus400JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error
type ProcessStatus404JSONResponse ¶
type ProcessStatus404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ProcessStatus404JSONResponse) VisitProcessStatusResponse ¶
func (response ProcessStatus404JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error
type ProcessStatus500JSONResponse ¶
type ProcessStatus500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessStatus500JSONResponse) VisitProcessStatusResponse ¶
func (response ProcessStatus500JSONResponse) VisitProcessStatusResponse(w http.ResponseWriter) error
type ProcessStatusRequestObject ¶
type ProcessStatusRequestObject struct {
ProcessId openapi_types.UUID `json:"process_id"`
}
type ProcessStatusResponse ¶
type ProcessStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessStatus
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseProcessStatusResponse ¶
func ParseProcessStatusResponse(rsp *http.Response) (*ProcessStatusResponse, error)
ParseProcessStatusResponse parses an HTTP response from a ProcessStatusWithResponse call
func (ProcessStatusResponse) Status ¶
func (r ProcessStatusResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessStatusResponse) StatusCode ¶
func (r ProcessStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessStatusResponseObject ¶
type ProcessStatusResponseObject interface {
VisitProcessStatusResponse(w http.ResponseWriter) error
}
type ProcessStatusState ¶
type ProcessStatusState string
ProcessStatusState Process state.
const ( Exited ProcessStatusState = "exited" Running ProcessStatusState = "running" )
Defines values for ProcessStatusState.
type ProcessStdin200JSONResponse ¶
type ProcessStdin200JSONResponse ProcessStdinResult
func (ProcessStdin200JSONResponse) VisitProcessStdinResponse ¶
func (response ProcessStdin200JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error
type ProcessStdin400JSONResponse ¶
type ProcessStdin400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessStdin400JSONResponse) VisitProcessStdinResponse ¶
func (response ProcessStdin400JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error
type ProcessStdin404JSONResponse ¶
type ProcessStdin404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ProcessStdin404JSONResponse) VisitProcessStdinResponse ¶
func (response ProcessStdin404JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error
type ProcessStdin500JSONResponse ¶
type ProcessStdin500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessStdin500JSONResponse) VisitProcessStdinResponse ¶
func (response ProcessStdin500JSONResponse) VisitProcessStdinResponse(w http.ResponseWriter) error
type ProcessStdinJSONRequestBody ¶
type ProcessStdinJSONRequestBody = ProcessStdinRequest
ProcessStdinJSONRequestBody defines body for ProcessStdin for application/json ContentType.
type ProcessStdinRequest ¶
type ProcessStdinRequest struct {
// DataB64 Base64-encoded data to write.
DataB64 string `json:"data_b64"`
}
ProcessStdinRequest Data to write to the process standard input.
type ProcessStdinRequestObject ¶
type ProcessStdinRequestObject struct {
ProcessId openapi_types.UUID `json:"process_id"`
Body *ProcessStdinJSONRequestBody
}
type ProcessStdinResponse ¶
type ProcessStdinResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProcessStdinResult
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseProcessStdinResponse ¶
func ParseProcessStdinResponse(rsp *http.Response) (*ProcessStdinResponse, error)
ParseProcessStdinResponse parses an HTTP response from a ProcessStdinWithResponse call
func (ProcessStdinResponse) Status ¶
func (r ProcessStdinResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessStdinResponse) StatusCode ¶
func (r ProcessStdinResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessStdinResponseObject ¶
type ProcessStdinResponseObject interface {
VisitProcessStdinResponse(w http.ResponseWriter) error
}
type ProcessStdinResult ¶
type ProcessStdinResult struct {
// WrittenBytes Number of bytes written.
WrittenBytes *int `json:"written_bytes,omitempty"`
}
ProcessStdinResult Result of writing to stdin.
type ProcessStdoutStream200ResponseHeaders ¶
type ProcessStdoutStream200ResponseHeaders struct {
XSSEContentType string
}
type ProcessStdoutStream200TexteventStreamResponse ¶
type ProcessStdoutStream200TexteventStreamResponse struct {
Body io.Reader
Headers ProcessStdoutStream200ResponseHeaders
ContentLength int64
}
func (ProcessStdoutStream200TexteventStreamResponse) VisitProcessStdoutStreamResponse ¶
func (response ProcessStdoutStream200TexteventStreamResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
type ProcessStdoutStream400JSONResponse ¶
type ProcessStdoutStream400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ProcessStdoutStream400JSONResponse) VisitProcessStdoutStreamResponse ¶
func (response ProcessStdoutStream400JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
type ProcessStdoutStream404JSONResponse ¶
type ProcessStdoutStream404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ProcessStdoutStream404JSONResponse) VisitProcessStdoutStreamResponse ¶
func (response ProcessStdoutStream404JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
type ProcessStdoutStream500JSONResponse ¶
type ProcessStdoutStream500JSONResponse struct{ InternalErrorJSONResponse }
func (ProcessStdoutStream500JSONResponse) VisitProcessStdoutStreamResponse ¶
func (response ProcessStdoutStream500JSONResponse) VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
type ProcessStdoutStreamRequestObject ¶
type ProcessStdoutStreamRequestObject struct {
ProcessId openapi_types.UUID `json:"process_id"`
}
type ProcessStdoutStreamResponse ¶
type ProcessStdoutStreamResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseProcessStdoutStreamResponse ¶
func ParseProcessStdoutStreamResponse(rsp *http.Response) (*ProcessStdoutStreamResponse, error)
ParseProcessStdoutStreamResponse parses an HTTP response from a ProcessStdoutStreamWithResponse call
func (ProcessStdoutStreamResponse) Status ¶
func (r ProcessStdoutStreamResponse) Status() string
Status returns HTTPResponse.Status
func (ProcessStdoutStreamResponse) StatusCode ¶
func (r ProcessStdoutStreamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProcessStdoutStreamResponseObject ¶
type ProcessStdoutStreamResponseObject interface {
VisitProcessStdoutStreamResponse(w http.ResponseWriter) error
}
type ProcessStreamEvent ¶
type ProcessStreamEvent struct {
// DataB64 Base64-encoded data from the process stream.
DataB64 *string `json:"data_b64,omitempty"`
// Event Lifecycle event type.
Event *ProcessStreamEventEvent `json:"event,omitempty"`
// ExitCode Exit code when the event is "exit".
ExitCode *int `json:"exit_code,omitempty"`
// Stream Source stream of the data chunk.
Stream *ProcessStreamEventStream `json:"stream,omitempty"`
}
ProcessStreamEvent SSE payload representing process output or lifecycle events.
type ProcessStreamEventEvent ¶
type ProcessStreamEventEvent string
ProcessStreamEventEvent Lifecycle event type.
const (
Exit ProcessStreamEventEvent = "exit"
)
Defines values for ProcessStreamEventEvent.
type ProcessStreamEventStream ¶
type ProcessStreamEventStream string
ProcessStreamEventStream Source stream of the data chunk.
const ( Stderr ProcessStreamEventStream = "stderr" Stdout ProcessStreamEventStream = "stdout" )
Defines values for ProcessStreamEventStream.
type ReadFile200ApplicationoctetStreamResponse ¶
func (ReadFile200ApplicationoctetStreamResponse) VisitReadFileResponse ¶
func (response ReadFile200ApplicationoctetStreamResponse) VisitReadFileResponse(w http.ResponseWriter) error
type ReadFile400JSONResponse ¶
type ReadFile400JSONResponse struct{ BadRequestErrorJSONResponse }
func (ReadFile400JSONResponse) VisitReadFileResponse ¶
func (response ReadFile400JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error
type ReadFile404JSONResponse ¶
type ReadFile404JSONResponse struct{ NotFoundErrorJSONResponse }
func (ReadFile404JSONResponse) VisitReadFileResponse ¶
func (response ReadFile404JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error
type ReadFile500JSONResponse ¶
type ReadFile500JSONResponse struct{ InternalErrorJSONResponse }
func (ReadFile500JSONResponse) VisitReadFileResponse ¶
func (response ReadFile500JSONResponse) VisitReadFileResponse(w http.ResponseWriter) error
type ReadFileParams ¶
type ReadFileParams struct {
// Path Absolute file path to read.
Path string `form:"path" json:"path"`
}
ReadFileParams defines parameters for ReadFile.
type ReadFileRequestObject ¶
type ReadFileRequestObject struct {
Params ReadFileParams
}
type ReadFileResponse ¶
type ReadFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseReadFileResponse ¶
func ParseReadFileResponse(rsp *http.Response) (*ReadFileResponse, error)
ParseReadFileResponse parses an HTTP response from a ReadFileWithResponse call
func (ReadFileResponse) Status ¶
func (r ReadFileResponse) Status() string
Status returns HTTPResponse.Status
func (ReadFileResponse) StatusCode ¶
func (r ReadFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReadFileResponseObject ¶
type ReadFileResponseObject interface {
VisitReadFileResponse(w http.ResponseWriter) error
}
type RecorderInfo ¶
type RecorderInfo struct {
// FinishedAt Timestamp when recording finished
FinishedAt *time.Time `json:"finished_at"`
Id string `json:"id"`
IsRecording bool `json:"isRecording"`
// StartedAt Timestamp when recording started
StartedAt *time.Time `json:"started_at"`
}
RecorderInfo defines model for RecorderInfo.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ScreenshotRegion ¶
type ScreenshotRegion struct {
// Height Height of the region in pixels
Height int `json:"height"`
// Width Width of the region in pixels
Width int `json:"width"`
// X X coordinate of the region's top-left corner
X int `json:"x"`
// Y Y coordinate of the region's top-left corner
Y int `json:"y"`
}
ScreenshotRegion defines model for ScreenshotRegion.
type ScreenshotRequest ¶
type ScreenshotRequest struct {
Region *ScreenshotRegion `json:"region,omitempty"`
}
ScreenshotRequest defines model for ScreenshotRequest.
type Scroll200Response ¶
type Scroll200Response struct {
}
func (Scroll200Response) VisitScrollResponse ¶
func (response Scroll200Response) VisitScrollResponse(w http.ResponseWriter) error
type Scroll400JSONResponse ¶
type Scroll400JSONResponse struct{ BadRequestErrorJSONResponse }
func (Scroll400JSONResponse) VisitScrollResponse ¶
func (response Scroll400JSONResponse) VisitScrollResponse(w http.ResponseWriter) error
type Scroll500JSONResponse ¶
type Scroll500JSONResponse struct{ InternalErrorJSONResponse }
func (Scroll500JSONResponse) VisitScrollResponse ¶
func (response Scroll500JSONResponse) VisitScrollResponse(w http.ResponseWriter) error
type ScrollJSONRequestBody ¶
type ScrollJSONRequestBody = ScrollRequest
ScrollJSONRequestBody defines body for Scroll for application/json ContentType.
type ScrollRequest ¶
type ScrollRequest struct {
// DeltaX Horizontal scroll amount. Positive scrolls right, negative scrolls left.
DeltaX *int `json:"delta_x,omitempty"`
// DeltaY Vertical scroll amount. Positive scrolls down, negative scrolls up.
DeltaY *int `json:"delta_y,omitempty"`
// HoldKeys Modifier keys to hold during the scroll
HoldKeys *[]string `json:"hold_keys,omitempty"`
// X X coordinate at which to perform the scroll
X int `json:"x"`
// Y Y coordinate at which to perform the scroll
Y int `json:"y"`
}
ScrollRequest defines model for ScrollRequest.
type ScrollRequestObject ¶
type ScrollRequestObject struct {
Body *ScrollJSONRequestBody
}
type ScrollResponse ¶
type ScrollResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseScrollResponse ¶
func ParseScrollResponse(rsp *http.Response) (*ScrollResponse, error)
ParseScrollResponse parses an HTTP response from a ScrollWithResponse call
func (ScrollResponse) Status ¶
func (r ScrollResponse) Status() string
Status returns HTTPResponse.Status
func (ScrollResponse) StatusCode ¶
func (r ScrollResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScrollResponseObject ¶
type ScrollResponseObject interface {
VisitScrollResponse(w http.ResponseWriter) error
}
type ServerInterface ¶
type ServerInterface interface {
// Update Chromium launch flags and restart
// (PATCH /chromium/flags)
PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
// Upload one or more unpacked extensions (as zips) and restart Chromium
// (POST /chromium/upload-extensions-and-restart)
UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
// Simulate a mouse click action on the host computer
// (POST /computer/click_mouse)
ClickMouse(w http.ResponseWriter, r *http.Request)
// Hide or show the cursor
// (POST /computer/cursor)
SetCursor(w http.ResponseWriter, r *http.Request)
// Drag the mouse along a path
// (POST /computer/drag_mouse)
DragMouse(w http.ResponseWriter, r *http.Request)
// Move the mouse cursor to the specified coordinates on the host computer
// (POST /computer/move_mouse)
MoveMouse(w http.ResponseWriter, r *http.Request)
// Press one or more keys on the host computer
// (POST /computer/press_key)
PressKey(w http.ResponseWriter, r *http.Request)
// Capture a screenshot of the host computer
// (POST /computer/screenshot)
TakeScreenshot(w http.ResponseWriter, r *http.Request)
// Scroll the mouse wheel at a position on the host computer
// (POST /computer/scroll)
Scroll(w http.ResponseWriter, r *http.Request)
// Type text on the host computer
// (POST /computer/type)
TypeText(w http.ResponseWriter, r *http.Request)
// Update display configuration
// (PATCH /display)
PatchDisplay(w http.ResponseWriter, r *http.Request)
// Create a new directory
// (PUT /fs/create_directory)
CreateDirectory(w http.ResponseWriter, r *http.Request)
// Delete a directory
// (PUT /fs/delete_directory)
DeleteDirectory(w http.ResponseWriter, r *http.Request)
// Delete a file
// (PUT /fs/delete_file)
DeleteFile(w http.ResponseWriter, r *http.Request)
// Download a directory as a ZIP archive
// (GET /fs/download_dir_zip)
DownloadDirZip(w http.ResponseWriter, r *http.Request, params DownloadDirZipParams)
// Get information about a file or directory
// (GET /fs/file_info)
FileInfo(w http.ResponseWriter, r *http.Request, params FileInfoParams)
// List files in a directory
// (GET /fs/list_files)
ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)
// Move or rename a file or directory
// (PUT /fs/move)
MovePath(w http.ResponseWriter, r *http.Request)
// Read file contents
// (GET /fs/read_file)
ReadFile(w http.ResponseWriter, r *http.Request, params ReadFileParams)
// Set file or directory permissions/ownership
// (PUT /fs/set_file_permissions)
SetFilePermissions(w http.ResponseWriter, r *http.Request)
// Upload one or more files
// (POST /fs/upload)
UploadFiles(w http.ResponseWriter, r *http.Request)
// Upload a zip archive and extract it
// (POST /fs/upload_zip)
UploadZip(w http.ResponseWriter, r *http.Request)
// Watch a directory for changes
// (POST /fs/watch)
StartFsWatch(w http.ResponseWriter, r *http.Request)
// Stop watching a directory
// (DELETE /fs/watch/{watch_id})
StopFsWatch(w http.ResponseWriter, r *http.Request, watchId string)
// Stream filesystem events for a watch
// (GET /fs/watch/{watch_id}/events)
StreamFsEvents(w http.ResponseWriter, r *http.Request, watchId string)
// Write or create a file
// (PUT /fs/write_file)
WriteFile(w http.ResponseWriter, r *http.Request, params WriteFileParams)
// Stream logs over SSE
// (GET /logs/stream)
LogsStream(w http.ResponseWriter, r *http.Request, params LogsStreamParams)
// Execute Playwright/TypeScript code against the browser
// (POST /playwright/execute)
ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
// Execute a command synchronously
// (POST /process/exec)
ProcessExec(w http.ResponseWriter, r *http.Request)
// Execute a command asynchronously
// (POST /process/spawn)
ProcessSpawn(w http.ResponseWriter, r *http.Request)
// Send signal to process
// (POST /process/{process_id}/kill)
ProcessKill(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
// Resize a PTY-backed process
// (POST /process/{process_id}/resize)
ProcessResize(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
// Get process status
// (GET /process/{process_id}/status)
ProcessStatus(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
// Write to process stdin
// (POST /process/{process_id}/stdin)
ProcessStdin(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
// Stream process stdout over SSE
// (GET /process/{process_id}/stdout/stream)
ProcessStdoutStream(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
// Delete a previously recorded video file
// (POST /recording/delete)
DeleteRecording(w http.ResponseWriter, r *http.Request)
// Download the most recently recorded video file
// (GET /recording/download)
DownloadRecording(w http.ResponseWriter, r *http.Request, params DownloadRecordingParams)
// List all recorders
// (GET /recording/list)
ListRecorders(w http.ResponseWriter, r *http.Request)
// Start a screen recording. Only one recording per ID can be registered at a time.
// (POST /recording/start)
StartRecording(w http.ResponseWriter, r *http.Request)
// Stop the recording
// (POST /recording/stop)
StopRecording(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) ClickMouse ¶
func (siw *ServerInterfaceWrapper) ClickMouse(w http.ResponseWriter, r *http.Request)
ClickMouse operation middleware
func (*ServerInterfaceWrapper) CreateDirectory ¶
func (siw *ServerInterfaceWrapper) CreateDirectory(w http.ResponseWriter, r *http.Request)
CreateDirectory operation middleware
func (*ServerInterfaceWrapper) DeleteDirectory ¶
func (siw *ServerInterfaceWrapper) DeleteDirectory(w http.ResponseWriter, r *http.Request)
DeleteDirectory operation middleware
func (*ServerInterfaceWrapper) DeleteFile ¶
func (siw *ServerInterfaceWrapper) DeleteFile(w http.ResponseWriter, r *http.Request)
DeleteFile operation middleware
func (*ServerInterfaceWrapper) DeleteRecording ¶
func (siw *ServerInterfaceWrapper) DeleteRecording(w http.ResponseWriter, r *http.Request)
DeleteRecording operation middleware
func (*ServerInterfaceWrapper) DownloadDirZip ¶
func (siw *ServerInterfaceWrapper) DownloadDirZip(w http.ResponseWriter, r *http.Request)
DownloadDirZip operation middleware
func (*ServerInterfaceWrapper) DownloadRecording ¶
func (siw *ServerInterfaceWrapper) DownloadRecording(w http.ResponseWriter, r *http.Request)
DownloadRecording operation middleware
func (*ServerInterfaceWrapper) DragMouse ¶
func (siw *ServerInterfaceWrapper) DragMouse(w http.ResponseWriter, r *http.Request)
DragMouse operation middleware
func (*ServerInterfaceWrapper) ExecutePlaywrightCode ¶
func (siw *ServerInterfaceWrapper) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
ExecutePlaywrightCode operation middleware
func (*ServerInterfaceWrapper) FileInfo ¶
func (siw *ServerInterfaceWrapper) FileInfo(w http.ResponseWriter, r *http.Request)
FileInfo operation middleware
func (*ServerInterfaceWrapper) ListFiles ¶
func (siw *ServerInterfaceWrapper) ListFiles(w http.ResponseWriter, r *http.Request)
ListFiles operation middleware
func (*ServerInterfaceWrapper) ListRecorders ¶
func (siw *ServerInterfaceWrapper) ListRecorders(w http.ResponseWriter, r *http.Request)
ListRecorders operation middleware
func (*ServerInterfaceWrapper) LogsStream ¶
func (siw *ServerInterfaceWrapper) LogsStream(w http.ResponseWriter, r *http.Request)
LogsStream operation middleware
func (*ServerInterfaceWrapper) MoveMouse ¶
func (siw *ServerInterfaceWrapper) MoveMouse(w http.ResponseWriter, r *http.Request)
MoveMouse operation middleware
func (*ServerInterfaceWrapper) MovePath ¶
func (siw *ServerInterfaceWrapper) MovePath(w http.ResponseWriter, r *http.Request)
MovePath operation middleware
func (*ServerInterfaceWrapper) PatchChromiumFlags ¶
func (siw *ServerInterfaceWrapper) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
PatchChromiumFlags operation middleware
func (*ServerInterfaceWrapper) PatchDisplay ¶
func (siw *ServerInterfaceWrapper) PatchDisplay(w http.ResponseWriter, r *http.Request)
PatchDisplay operation middleware
func (*ServerInterfaceWrapper) PressKey ¶
func (siw *ServerInterfaceWrapper) PressKey(w http.ResponseWriter, r *http.Request)
PressKey operation middleware
func (*ServerInterfaceWrapper) ProcessExec ¶
func (siw *ServerInterfaceWrapper) ProcessExec(w http.ResponseWriter, r *http.Request)
ProcessExec operation middleware
func (*ServerInterfaceWrapper) ProcessKill ¶
func (siw *ServerInterfaceWrapper) ProcessKill(w http.ResponseWriter, r *http.Request)
ProcessKill operation middleware
func (*ServerInterfaceWrapper) ProcessResize ¶
func (siw *ServerInterfaceWrapper) ProcessResize(w http.ResponseWriter, r *http.Request)
ProcessResize operation middleware
func (*ServerInterfaceWrapper) ProcessSpawn ¶
func (siw *ServerInterfaceWrapper) ProcessSpawn(w http.ResponseWriter, r *http.Request)
ProcessSpawn operation middleware
func (*ServerInterfaceWrapper) ProcessStatus ¶
func (siw *ServerInterfaceWrapper) ProcessStatus(w http.ResponseWriter, r *http.Request)
ProcessStatus operation middleware
func (*ServerInterfaceWrapper) ProcessStdin ¶
func (siw *ServerInterfaceWrapper) ProcessStdin(w http.ResponseWriter, r *http.Request)
ProcessStdin operation middleware
func (*ServerInterfaceWrapper) ProcessStdoutStream ¶
func (siw *ServerInterfaceWrapper) ProcessStdoutStream(w http.ResponseWriter, r *http.Request)
ProcessStdoutStream operation middleware
func (*ServerInterfaceWrapper) ReadFile ¶
func (siw *ServerInterfaceWrapper) ReadFile(w http.ResponseWriter, r *http.Request)
ReadFile operation middleware
func (*ServerInterfaceWrapper) Scroll ¶
func (siw *ServerInterfaceWrapper) Scroll(w http.ResponseWriter, r *http.Request)
Scroll operation middleware
func (*ServerInterfaceWrapper) SetCursor ¶
func (siw *ServerInterfaceWrapper) SetCursor(w http.ResponseWriter, r *http.Request)
SetCursor operation middleware
func (*ServerInterfaceWrapper) SetFilePermissions ¶
func (siw *ServerInterfaceWrapper) SetFilePermissions(w http.ResponseWriter, r *http.Request)
SetFilePermissions operation middleware
func (*ServerInterfaceWrapper) StartFsWatch ¶
func (siw *ServerInterfaceWrapper) StartFsWatch(w http.ResponseWriter, r *http.Request)
StartFsWatch operation middleware
func (*ServerInterfaceWrapper) StartRecording ¶
func (siw *ServerInterfaceWrapper) StartRecording(w http.ResponseWriter, r *http.Request)
StartRecording operation middleware
func (*ServerInterfaceWrapper) StopFsWatch ¶
func (siw *ServerInterfaceWrapper) StopFsWatch(w http.ResponseWriter, r *http.Request)
StopFsWatch operation middleware
func (*ServerInterfaceWrapper) StopRecording ¶
func (siw *ServerInterfaceWrapper) StopRecording(w http.ResponseWriter, r *http.Request)
StopRecording operation middleware
func (*ServerInterfaceWrapper) StreamFsEvents ¶
func (siw *ServerInterfaceWrapper) StreamFsEvents(w http.ResponseWriter, r *http.Request)
StreamFsEvents operation middleware
func (*ServerInterfaceWrapper) TakeScreenshot ¶
func (siw *ServerInterfaceWrapper) TakeScreenshot(w http.ResponseWriter, r *http.Request)
TakeScreenshot operation middleware
func (*ServerInterfaceWrapper) TypeText ¶
func (siw *ServerInterfaceWrapper) TypeText(w http.ResponseWriter, r *http.Request)
TypeText operation middleware
func (*ServerInterfaceWrapper) UploadExtensionsAndRestart ¶
func (siw *ServerInterfaceWrapper) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
UploadExtensionsAndRestart operation middleware
func (*ServerInterfaceWrapper) UploadFiles ¶
func (siw *ServerInterfaceWrapper) UploadFiles(w http.ResponseWriter, r *http.Request)
UploadFiles operation middleware
func (*ServerInterfaceWrapper) UploadZip ¶
func (siw *ServerInterfaceWrapper) UploadZip(w http.ResponseWriter, r *http.Request)
UploadZip operation middleware
func (*ServerInterfaceWrapper) WriteFile ¶
func (siw *ServerInterfaceWrapper) WriteFile(w http.ResponseWriter, r *http.Request)
WriteFile operation middleware
type SetCursor200JSONResponse ¶
type SetCursor200JSONResponse OkResponse
func (SetCursor200JSONResponse) VisitSetCursorResponse ¶
func (response SetCursor200JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error
type SetCursor400JSONResponse ¶
type SetCursor400JSONResponse struct{ BadRequestErrorJSONResponse }
func (SetCursor400JSONResponse) VisitSetCursorResponse ¶
func (response SetCursor400JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error
type SetCursor500JSONResponse ¶
type SetCursor500JSONResponse struct{ InternalErrorJSONResponse }
func (SetCursor500JSONResponse) VisitSetCursorResponse ¶
func (response SetCursor500JSONResponse) VisitSetCursorResponse(w http.ResponseWriter) error
type SetCursorJSONRequestBody ¶
type SetCursorJSONRequestBody = SetCursorRequest
SetCursorJSONRequestBody defines body for SetCursor for application/json ContentType.
type SetCursorRequest ¶
type SetCursorRequest struct {
// Hidden Whether the cursor should be hidden
Hidden bool `json:"hidden"`
}
SetCursorRequest defines model for SetCursorRequest.
type SetCursorRequestObject ¶
type SetCursorRequestObject struct {
Body *SetCursorJSONRequestBody
}
type SetCursorResponse ¶
type SetCursorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OkResponse
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseSetCursorResponse ¶
func ParseSetCursorResponse(rsp *http.Response) (*SetCursorResponse, error)
ParseSetCursorResponse parses an HTTP response from a SetCursorWithResponse call
func (SetCursorResponse) Status ¶
func (r SetCursorResponse) Status() string
Status returns HTTPResponse.Status
func (SetCursorResponse) StatusCode ¶
func (r SetCursorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetCursorResponseObject ¶
type SetCursorResponseObject interface {
VisitSetCursorResponse(w http.ResponseWriter) error
}
type SetFilePermissions200Response ¶
type SetFilePermissions200Response struct {
}
func (SetFilePermissions200Response) VisitSetFilePermissionsResponse ¶
func (response SetFilePermissions200Response) VisitSetFilePermissionsResponse(w http.ResponseWriter) error
type SetFilePermissions400JSONResponse ¶
type SetFilePermissions400JSONResponse struct{ BadRequestErrorJSONResponse }
func (SetFilePermissions400JSONResponse) VisitSetFilePermissionsResponse ¶
func (response SetFilePermissions400JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error
type SetFilePermissions404JSONResponse ¶
type SetFilePermissions404JSONResponse struct{ NotFoundErrorJSONResponse }
func (SetFilePermissions404JSONResponse) VisitSetFilePermissionsResponse ¶
func (response SetFilePermissions404JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error
type SetFilePermissions500JSONResponse ¶
type SetFilePermissions500JSONResponse struct{ InternalErrorJSONResponse }
func (SetFilePermissions500JSONResponse) VisitSetFilePermissionsResponse ¶
func (response SetFilePermissions500JSONResponse) VisitSetFilePermissionsResponse(w http.ResponseWriter) error
type SetFilePermissionsJSONRequestBody ¶
type SetFilePermissionsJSONRequestBody = SetFilePermissionsRequest
SetFilePermissionsJSONRequestBody defines body for SetFilePermissions for application/json ContentType.
type SetFilePermissionsRequest ¶
type SetFilePermissionsRequest struct {
// Group New group name or GID.
Group *string `json:"group,omitempty"`
// Mode File mode bits (octal string, e.g. 644).
Mode string `json:"mode"`
// Owner New owner username or UID.
Owner *string `json:"owner,omitempty"`
// Path Absolute path whose permissions are to be changed.
Path string `json:"path"`
}
SetFilePermissionsRequest defines model for SetFilePermissionsRequest.
type SetFilePermissionsRequestObject ¶
type SetFilePermissionsRequestObject struct {
Body *SetFilePermissionsJSONRequestBody
}
type SetFilePermissionsResponse ¶
type SetFilePermissionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseSetFilePermissionsResponse ¶
func ParseSetFilePermissionsResponse(rsp *http.Response) (*SetFilePermissionsResponse, error)
ParseSetFilePermissionsResponse parses an HTTP response from a SetFilePermissionsWithResponse call
func (SetFilePermissionsResponse) Status ¶
func (r SetFilePermissionsResponse) Status() string
Status returns HTTPResponse.Status
func (SetFilePermissionsResponse) StatusCode ¶
func (r SetFilePermissionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetFilePermissionsResponseObject ¶
type SetFilePermissionsResponseObject interface {
VisitSetFilePermissionsResponse(w http.ResponseWriter) error
}
type StartFsWatch201JSONResponse ¶
type StartFsWatch201JSONResponse struct {
// WatchId Unique identifier for the directory watch
WatchId *string `json:"watch_id,omitempty"`
}
func (StartFsWatch201JSONResponse) VisitStartFsWatchResponse ¶
func (response StartFsWatch201JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error
type StartFsWatch400JSONResponse ¶
type StartFsWatch400JSONResponse struct{ BadRequestErrorJSONResponse }
func (StartFsWatch400JSONResponse) VisitStartFsWatchResponse ¶
func (response StartFsWatch400JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error
type StartFsWatch404JSONResponse ¶
type StartFsWatch404JSONResponse struct{ NotFoundErrorJSONResponse }
func (StartFsWatch404JSONResponse) VisitStartFsWatchResponse ¶
func (response StartFsWatch404JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error
type StartFsWatch500JSONResponse ¶
type StartFsWatch500JSONResponse struct{ InternalErrorJSONResponse }
func (StartFsWatch500JSONResponse) VisitStartFsWatchResponse ¶
func (response StartFsWatch500JSONResponse) VisitStartFsWatchResponse(w http.ResponseWriter) error
type StartFsWatchJSONRequestBody ¶
type StartFsWatchJSONRequestBody = StartFsWatchRequest
StartFsWatchJSONRequestBody defines body for StartFsWatch for application/json ContentType.
type StartFsWatchRequest ¶
type StartFsWatchRequest struct {
// Path Directory to watch.
Path string `json:"path"`
// Recursive Whether to watch recursively.
Recursive *bool `json:"recursive,omitempty"`
}
StartFsWatchRequest defines model for StartFsWatchRequest.
type StartFsWatchRequestObject ¶
type StartFsWatchRequestObject struct {
Body *StartFsWatchJSONRequestBody
}
type StartFsWatchResponse ¶
type StartFsWatchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// WatchId Unique identifier for the directory watch
WatchId *string `json:"watch_id,omitempty"`
}
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseStartFsWatchResponse ¶
func ParseStartFsWatchResponse(rsp *http.Response) (*StartFsWatchResponse, error)
ParseStartFsWatchResponse parses an HTTP response from a StartFsWatchWithResponse call
func (StartFsWatchResponse) Status ¶
func (r StartFsWatchResponse) Status() string
Status returns HTTPResponse.Status
func (StartFsWatchResponse) StatusCode ¶
func (r StartFsWatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartFsWatchResponseObject ¶
type StartFsWatchResponseObject interface {
VisitStartFsWatchResponse(w http.ResponseWriter) error
}
type StartRecording201Response ¶
type StartRecording201Response struct {
}
func (StartRecording201Response) VisitStartRecordingResponse ¶
func (response StartRecording201Response) VisitStartRecordingResponse(w http.ResponseWriter) error
type StartRecording400JSONResponse ¶
type StartRecording400JSONResponse struct{ BadRequestErrorJSONResponse }
func (StartRecording400JSONResponse) VisitStartRecordingResponse ¶
func (response StartRecording400JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error
type StartRecording409JSONResponse ¶
type StartRecording409JSONResponse struct{ ConflictErrorJSONResponse }
func (StartRecording409JSONResponse) VisitStartRecordingResponse ¶
func (response StartRecording409JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error
type StartRecording500JSONResponse ¶
type StartRecording500JSONResponse struct{ InternalErrorJSONResponse }
func (StartRecording500JSONResponse) VisitStartRecordingResponse ¶
func (response StartRecording500JSONResponse) VisitStartRecordingResponse(w http.ResponseWriter) error
type StartRecordingJSONRequestBody ¶
type StartRecordingJSONRequestBody = StartRecordingRequest
StartRecordingJSONRequestBody defines body for StartRecording for application/json ContentType.
type StartRecordingRequest ¶
type StartRecordingRequest struct {
// Framerate Recording framerate in fps (overrides server default)
Framerate *int `json:"framerate,omitempty"`
// Id Optional identifier for the recording session. Alphanumeric or hyphen.
Id *string `json:"id,omitempty"`
// MaxDurationInSeconds Maximum recording duration in seconds (overrides server default)
MaxDurationInSeconds *int `json:"maxDurationInSeconds,omitempty"`
// MaxFileSizeInMB Maximum file size in MB (overrides server default)
MaxFileSizeInMB *int `json:"maxFileSizeInMB,omitempty"`
}
StartRecordingRequest defines model for StartRecordingRequest.
type StartRecordingRequestObject ¶
type StartRecordingRequestObject struct {
Body *StartRecordingJSONRequestBody
}
type StartRecordingResponse ¶
type StartRecordingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON409 *ConflictError
JSON500 *InternalError
}
func ParseStartRecordingResponse ¶
func ParseStartRecordingResponse(rsp *http.Response) (*StartRecordingResponse, error)
ParseStartRecordingResponse parses an HTTP response from a StartRecordingWithResponse call
func (StartRecordingResponse) Status ¶
func (r StartRecordingResponse) Status() string
Status returns HTTPResponse.Status
func (StartRecordingResponse) StatusCode ¶
func (r StartRecordingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StartRecordingResponseObject ¶
type StartRecordingResponseObject interface {
VisitStartRecordingResponse(w http.ResponseWriter) error
}
type StopFsWatch204Response ¶
type StopFsWatch204Response struct {
}
func (StopFsWatch204Response) VisitStopFsWatchResponse ¶
func (response StopFsWatch204Response) VisitStopFsWatchResponse(w http.ResponseWriter) error
type StopFsWatch400JSONResponse ¶
type StopFsWatch400JSONResponse struct{ BadRequestErrorJSONResponse }
func (StopFsWatch400JSONResponse) VisitStopFsWatchResponse ¶
func (response StopFsWatch400JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error
type StopFsWatch404JSONResponse ¶
type StopFsWatch404JSONResponse struct{ NotFoundErrorJSONResponse }
func (StopFsWatch404JSONResponse) VisitStopFsWatchResponse ¶
func (response StopFsWatch404JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error
type StopFsWatch500JSONResponse ¶
type StopFsWatch500JSONResponse struct{ InternalErrorJSONResponse }
func (StopFsWatch500JSONResponse) VisitStopFsWatchResponse ¶
func (response StopFsWatch500JSONResponse) VisitStopFsWatchResponse(w http.ResponseWriter) error
type StopFsWatchRequestObject ¶
type StopFsWatchRequestObject struct {
WatchId string `json:"watch_id"`
}
type StopFsWatchResponse ¶
type StopFsWatchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseStopFsWatchResponse ¶
func ParseStopFsWatchResponse(rsp *http.Response) (*StopFsWatchResponse, error)
ParseStopFsWatchResponse parses an HTTP response from a StopFsWatchWithResponse call
func (StopFsWatchResponse) Status ¶
func (r StopFsWatchResponse) Status() string
Status returns HTTPResponse.Status
func (StopFsWatchResponse) StatusCode ¶
func (r StopFsWatchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopFsWatchResponseObject ¶
type StopFsWatchResponseObject interface {
VisitStopFsWatchResponse(w http.ResponseWriter) error
}
type StopRecording200Response ¶
type StopRecording200Response struct {
}
func (StopRecording200Response) VisitStopRecordingResponse ¶
func (response StopRecording200Response) VisitStopRecordingResponse(w http.ResponseWriter) error
type StopRecording400JSONResponse ¶
type StopRecording400JSONResponse struct{ BadRequestErrorJSONResponse }
func (StopRecording400JSONResponse) VisitStopRecordingResponse ¶
func (response StopRecording400JSONResponse) VisitStopRecordingResponse(w http.ResponseWriter) error
type StopRecording500JSONResponse ¶
type StopRecording500JSONResponse struct{ InternalErrorJSONResponse }
func (StopRecording500JSONResponse) VisitStopRecordingResponse ¶
func (response StopRecording500JSONResponse) VisitStopRecordingResponse(w http.ResponseWriter) error
type StopRecordingJSONRequestBody ¶
type StopRecordingJSONRequestBody = StopRecordingRequest
StopRecordingJSONRequestBody defines body for StopRecording for application/json ContentType.
type StopRecordingRequest ¶
type StopRecordingRequest struct {
// ForceStop Immediately stop without graceful shutdown. This may result in a corrupted video file.
ForceStop *bool `json:"forceStop,omitempty"`
// Id Identifier of the recorder to stop. Alphanumeric or hyphen.
Id *string `json:"id,omitempty"`
}
StopRecordingRequest defines model for StopRecordingRequest.
type StopRecordingRequestObject ¶
type StopRecordingRequestObject struct {
Body *StopRecordingJSONRequestBody
}
type StopRecordingResponse ¶
type StopRecordingResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseStopRecordingResponse ¶
func ParseStopRecordingResponse(rsp *http.Response) (*StopRecordingResponse, error)
ParseStopRecordingResponse parses an HTTP response from a StopRecordingWithResponse call
func (StopRecordingResponse) Status ¶
func (r StopRecordingResponse) Status() string
Status returns HTTPResponse.Status
func (StopRecordingResponse) StatusCode ¶
func (r StopRecordingResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StopRecordingResponseObject ¶
type StopRecordingResponseObject interface {
VisitStopRecordingResponse(w http.ResponseWriter) error
}
type StreamFsEvents200ResponseHeaders ¶
type StreamFsEvents200ResponseHeaders struct {
XSSEContentType string
}
type StreamFsEvents200TexteventStreamResponse ¶
type StreamFsEvents200TexteventStreamResponse struct {
Body io.Reader
Headers StreamFsEvents200ResponseHeaders
ContentLength int64
}
func (StreamFsEvents200TexteventStreamResponse) VisitStreamFsEventsResponse ¶
func (response StreamFsEvents200TexteventStreamResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error
type StreamFsEvents400JSONResponse ¶
type StreamFsEvents400JSONResponse struct{ BadRequestErrorJSONResponse }
func (StreamFsEvents400JSONResponse) VisitStreamFsEventsResponse ¶
func (response StreamFsEvents400JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error
type StreamFsEvents404JSONResponse ¶
type StreamFsEvents404JSONResponse struct{ NotFoundErrorJSONResponse }
func (StreamFsEvents404JSONResponse) VisitStreamFsEventsResponse ¶
func (response StreamFsEvents404JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error
type StreamFsEvents500JSONResponse ¶
type StreamFsEvents500JSONResponse struct{ InternalErrorJSONResponse }
func (StreamFsEvents500JSONResponse) VisitStreamFsEventsResponse ¶
func (response StreamFsEvents500JSONResponse) VisitStreamFsEventsResponse(w http.ResponseWriter) error
type StreamFsEventsRequestObject ¶
type StreamFsEventsRequestObject struct {
WatchId string `json:"watch_id"`
}
type StreamFsEventsResponse ¶
type StreamFsEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseStreamFsEventsResponse ¶
func ParseStreamFsEventsResponse(rsp *http.Response) (*StreamFsEventsResponse, error)
ParseStreamFsEventsResponse parses an HTTP response from a StreamFsEventsWithResponse call
func (StreamFsEventsResponse) Status ¶
func (r StreamFsEventsResponse) Status() string
Status returns HTTPResponse.Status
func (StreamFsEventsResponse) StatusCode ¶
func (r StreamFsEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type StreamFsEventsResponseObject ¶
type StreamFsEventsResponseObject interface {
VisitStreamFsEventsResponse(w http.ResponseWriter) error
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// Update Chromium launch flags and restart
// (PATCH /chromium/flags)
PatchChromiumFlags(ctx context.Context, request PatchChromiumFlagsRequestObject) (PatchChromiumFlagsResponseObject, error)
// Upload one or more unpacked extensions (as zips) and restart Chromium
// (POST /chromium/upload-extensions-and-restart)
UploadExtensionsAndRestart(ctx context.Context, request UploadExtensionsAndRestartRequestObject) (UploadExtensionsAndRestartResponseObject, error)
// Simulate a mouse click action on the host computer
// (POST /computer/click_mouse)
ClickMouse(ctx context.Context, request ClickMouseRequestObject) (ClickMouseResponseObject, error)
// Hide or show the cursor
// (POST /computer/cursor)
SetCursor(ctx context.Context, request SetCursorRequestObject) (SetCursorResponseObject, error)
// Drag the mouse along a path
// (POST /computer/drag_mouse)
DragMouse(ctx context.Context, request DragMouseRequestObject) (DragMouseResponseObject, error)
// Move the mouse cursor to the specified coordinates on the host computer
// (POST /computer/move_mouse)
MoveMouse(ctx context.Context, request MoveMouseRequestObject) (MoveMouseResponseObject, error)
// Press one or more keys on the host computer
// (POST /computer/press_key)
PressKey(ctx context.Context, request PressKeyRequestObject) (PressKeyResponseObject, error)
// Capture a screenshot of the host computer
// (POST /computer/screenshot)
TakeScreenshot(ctx context.Context, request TakeScreenshotRequestObject) (TakeScreenshotResponseObject, error)
// Scroll the mouse wheel at a position on the host computer
// (POST /computer/scroll)
Scroll(ctx context.Context, request ScrollRequestObject) (ScrollResponseObject, error)
// Type text on the host computer
// (POST /computer/type)
TypeText(ctx context.Context, request TypeTextRequestObject) (TypeTextResponseObject, error)
// Update display configuration
// (PATCH /display)
PatchDisplay(ctx context.Context, request PatchDisplayRequestObject) (PatchDisplayResponseObject, error)
// Create a new directory
// (PUT /fs/create_directory)
CreateDirectory(ctx context.Context, request CreateDirectoryRequestObject) (CreateDirectoryResponseObject, error)
// Delete a directory
// (PUT /fs/delete_directory)
DeleteDirectory(ctx context.Context, request DeleteDirectoryRequestObject) (DeleteDirectoryResponseObject, error)
// Delete a file
// (PUT /fs/delete_file)
DeleteFile(ctx context.Context, request DeleteFileRequestObject) (DeleteFileResponseObject, error)
// Download a directory as a ZIP archive
// (GET /fs/download_dir_zip)
DownloadDirZip(ctx context.Context, request DownloadDirZipRequestObject) (DownloadDirZipResponseObject, error)
// Get information about a file or directory
// (GET /fs/file_info)
FileInfo(ctx context.Context, request FileInfoRequestObject) (FileInfoResponseObject, error)
// List files in a directory
// (GET /fs/list_files)
ListFiles(ctx context.Context, request ListFilesRequestObject) (ListFilesResponseObject, error)
// Move or rename a file or directory
// (PUT /fs/move)
MovePath(ctx context.Context, request MovePathRequestObject) (MovePathResponseObject, error)
// Read file contents
// (GET /fs/read_file)
ReadFile(ctx context.Context, request ReadFileRequestObject) (ReadFileResponseObject, error)
// Set file or directory permissions/ownership
// (PUT /fs/set_file_permissions)
SetFilePermissions(ctx context.Context, request SetFilePermissionsRequestObject) (SetFilePermissionsResponseObject, error)
// Upload one or more files
// (POST /fs/upload)
UploadFiles(ctx context.Context, request UploadFilesRequestObject) (UploadFilesResponseObject, error)
// Upload a zip archive and extract it
// (POST /fs/upload_zip)
UploadZip(ctx context.Context, request UploadZipRequestObject) (UploadZipResponseObject, error)
// Watch a directory for changes
// (POST /fs/watch)
StartFsWatch(ctx context.Context, request StartFsWatchRequestObject) (StartFsWatchResponseObject, error)
// Stop watching a directory
// (DELETE /fs/watch/{watch_id})
StopFsWatch(ctx context.Context, request StopFsWatchRequestObject) (StopFsWatchResponseObject, error)
// Stream filesystem events for a watch
// (GET /fs/watch/{watch_id}/events)
StreamFsEvents(ctx context.Context, request StreamFsEventsRequestObject) (StreamFsEventsResponseObject, error)
// Write or create a file
// (PUT /fs/write_file)
WriteFile(ctx context.Context, request WriteFileRequestObject) (WriteFileResponseObject, error)
// Stream logs over SSE
// (GET /logs/stream)
LogsStream(ctx context.Context, request LogsStreamRequestObject) (LogsStreamResponseObject, error)
// Execute Playwright/TypeScript code against the browser
// (POST /playwright/execute)
ExecutePlaywrightCode(ctx context.Context, request ExecutePlaywrightCodeRequestObject) (ExecutePlaywrightCodeResponseObject, error)
// Execute a command synchronously
// (POST /process/exec)
ProcessExec(ctx context.Context, request ProcessExecRequestObject) (ProcessExecResponseObject, error)
// Execute a command asynchronously
// (POST /process/spawn)
ProcessSpawn(ctx context.Context, request ProcessSpawnRequestObject) (ProcessSpawnResponseObject, error)
// Send signal to process
// (POST /process/{process_id}/kill)
ProcessKill(ctx context.Context, request ProcessKillRequestObject) (ProcessKillResponseObject, error)
// Resize a PTY-backed process
// (POST /process/{process_id}/resize)
ProcessResize(ctx context.Context, request ProcessResizeRequestObject) (ProcessResizeResponseObject, error)
// Get process status
// (GET /process/{process_id}/status)
ProcessStatus(ctx context.Context, request ProcessStatusRequestObject) (ProcessStatusResponseObject, error)
// Write to process stdin
// (POST /process/{process_id}/stdin)
ProcessStdin(ctx context.Context, request ProcessStdinRequestObject) (ProcessStdinResponseObject, error)
// Stream process stdout over SSE
// (GET /process/{process_id}/stdout/stream)
ProcessStdoutStream(ctx context.Context, request ProcessStdoutStreamRequestObject) (ProcessStdoutStreamResponseObject, error)
// Delete a previously recorded video file
// (POST /recording/delete)
DeleteRecording(ctx context.Context, request DeleteRecordingRequestObject) (DeleteRecordingResponseObject, error)
// Download the most recently recorded video file
// (GET /recording/download)
DownloadRecording(ctx context.Context, request DownloadRecordingRequestObject) (DownloadRecordingResponseObject, error)
// List all recorders
// (GET /recording/list)
ListRecorders(ctx context.Context, request ListRecordersRequestObject) (ListRecordersResponseObject, error)
// Start a screen recording. Only one recording per ID can be registered at a time.
// (POST /recording/start)
StartRecording(ctx context.Context, request StartRecordingRequestObject) (StartRecordingResponseObject, error)
// Stop the recording
// (POST /recording/stop)
StopRecording(ctx context.Context, request StopRecordingRequestObject) (StopRecordingResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TakeScreenshot200ImagepngResponse ¶
func (TakeScreenshot200ImagepngResponse) VisitTakeScreenshotResponse ¶
func (response TakeScreenshot200ImagepngResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error
type TakeScreenshot400JSONResponse ¶
type TakeScreenshot400JSONResponse struct{ BadRequestErrorJSONResponse }
func (TakeScreenshot400JSONResponse) VisitTakeScreenshotResponse ¶
func (response TakeScreenshot400JSONResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error
type TakeScreenshot500JSONResponse ¶
type TakeScreenshot500JSONResponse struct{ InternalErrorJSONResponse }
func (TakeScreenshot500JSONResponse) VisitTakeScreenshotResponse ¶
func (response TakeScreenshot500JSONResponse) VisitTakeScreenshotResponse(w http.ResponseWriter) error
type TakeScreenshotJSONRequestBody ¶
type TakeScreenshotJSONRequestBody = ScreenshotRequest
TakeScreenshotJSONRequestBody defines body for TakeScreenshot for application/json ContentType.
type TakeScreenshotRequestObject ¶
type TakeScreenshotRequestObject struct {
Body *TakeScreenshotJSONRequestBody
}
type TakeScreenshotResponse ¶
type TakeScreenshotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseTakeScreenshotResponse ¶
func ParseTakeScreenshotResponse(rsp *http.Response) (*TakeScreenshotResponse, error)
ParseTakeScreenshotResponse parses an HTTP response from a TakeScreenshotWithResponse call
func (TakeScreenshotResponse) Status ¶
func (r TakeScreenshotResponse) Status() string
Status returns HTTPResponse.Status
func (TakeScreenshotResponse) StatusCode ¶
func (r TakeScreenshotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TakeScreenshotResponseObject ¶
type TakeScreenshotResponseObject interface {
VisitTakeScreenshotResponse(w http.ResponseWriter) error
}
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TypeText200Response ¶
type TypeText200Response struct {
}
func (TypeText200Response) VisitTypeTextResponse ¶
func (response TypeText200Response) VisitTypeTextResponse(w http.ResponseWriter) error
type TypeText400JSONResponse ¶
type TypeText400JSONResponse struct{ BadRequestErrorJSONResponse }
func (TypeText400JSONResponse) VisitTypeTextResponse ¶
func (response TypeText400JSONResponse) VisitTypeTextResponse(w http.ResponseWriter) error
type TypeText500JSONResponse ¶
type TypeText500JSONResponse struct{ InternalErrorJSONResponse }
func (TypeText500JSONResponse) VisitTypeTextResponse ¶
func (response TypeText500JSONResponse) VisitTypeTextResponse(w http.ResponseWriter) error
type TypeTextJSONRequestBody ¶
type TypeTextJSONRequestBody = TypeTextRequest
TypeTextJSONRequestBody defines body for TypeText for application/json ContentType.
type TypeTextRequest ¶
type TypeTextRequest struct {
// Delay Delay in milliseconds between keystrokes
Delay *int `json:"delay,omitempty"`
// Text Text to type on the host computer
Text string `json:"text"`
}
TypeTextRequest defines model for TypeTextRequest.
type TypeTextRequestObject ¶
type TypeTextRequestObject struct {
Body *TypeTextJSONRequestBody
}
type TypeTextResponse ¶
type TypeTextResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseTypeTextResponse ¶
func ParseTypeTextResponse(rsp *http.Response) (*TypeTextResponse, error)
ParseTypeTextResponse parses an HTTP response from a TypeTextWithResponse call
func (TypeTextResponse) Status ¶
func (r TypeTextResponse) Status() string
Status returns HTTPResponse.Status
func (TypeTextResponse) StatusCode ¶
func (r TypeTextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type TypeTextResponseObject ¶
type TypeTextResponseObject interface {
VisitTypeTextResponse(w http.ResponseWriter) error
}
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) ClickMouse ¶
func (_ Unimplemented) ClickMouse(w http.ResponseWriter, r *http.Request)
Simulate a mouse click action on the host computer (POST /computer/click_mouse)
func (Unimplemented) CreateDirectory ¶
func (_ Unimplemented) CreateDirectory(w http.ResponseWriter, r *http.Request)
Create a new directory (PUT /fs/create_directory)
func (Unimplemented) DeleteDirectory ¶
func (_ Unimplemented) DeleteDirectory(w http.ResponseWriter, r *http.Request)
Delete a directory (PUT /fs/delete_directory)
func (Unimplemented) DeleteFile ¶
func (_ Unimplemented) DeleteFile(w http.ResponseWriter, r *http.Request)
Delete a file (PUT /fs/delete_file)
func (Unimplemented) DeleteRecording ¶
func (_ Unimplemented) DeleteRecording(w http.ResponseWriter, r *http.Request)
Delete a previously recorded video file (POST /recording/delete)
func (Unimplemented) DownloadDirZip ¶
func (_ Unimplemented) DownloadDirZip(w http.ResponseWriter, r *http.Request, params DownloadDirZipParams)
Download a directory as a ZIP archive (GET /fs/download_dir_zip)
func (Unimplemented) DownloadRecording ¶
func (_ Unimplemented) DownloadRecording(w http.ResponseWriter, r *http.Request, params DownloadRecordingParams)
Download the most recently recorded video file (GET /recording/download)
func (Unimplemented) DragMouse ¶
func (_ Unimplemented) DragMouse(w http.ResponseWriter, r *http.Request)
Drag the mouse along a path (POST /computer/drag_mouse)
func (Unimplemented) ExecutePlaywrightCode ¶
func (_ Unimplemented) ExecutePlaywrightCode(w http.ResponseWriter, r *http.Request)
Execute Playwright/TypeScript code against the browser (POST /playwright/execute)
func (Unimplemented) FileInfo ¶
func (_ Unimplemented) FileInfo(w http.ResponseWriter, r *http.Request, params FileInfoParams)
Get information about a file or directory (GET /fs/file_info)
func (Unimplemented) ListFiles ¶
func (_ Unimplemented) ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)
List files in a directory (GET /fs/list_files)
func (Unimplemented) ListRecorders ¶
func (_ Unimplemented) ListRecorders(w http.ResponseWriter, r *http.Request)
List all recorders (GET /recording/list)
func (Unimplemented) LogsStream ¶
func (_ Unimplemented) LogsStream(w http.ResponseWriter, r *http.Request, params LogsStreamParams)
Stream logs over SSE (GET /logs/stream)
func (Unimplemented) MoveMouse ¶
func (_ Unimplemented) MoveMouse(w http.ResponseWriter, r *http.Request)
Move the mouse cursor to the specified coordinates on the host computer (POST /computer/move_mouse)
func (Unimplemented) MovePath ¶
func (_ Unimplemented) MovePath(w http.ResponseWriter, r *http.Request)
Move or rename a file or directory (PUT /fs/move)
func (Unimplemented) PatchChromiumFlags ¶
func (_ Unimplemented) PatchChromiumFlags(w http.ResponseWriter, r *http.Request)
Update Chromium launch flags and restart (PATCH /chromium/flags)
func (Unimplemented) PatchDisplay ¶
func (_ Unimplemented) PatchDisplay(w http.ResponseWriter, r *http.Request)
Update display configuration (PATCH /display)
func (Unimplemented) PressKey ¶
func (_ Unimplemented) PressKey(w http.ResponseWriter, r *http.Request)
Press one or more keys on the host computer (POST /computer/press_key)
func (Unimplemented) ProcessExec ¶
func (_ Unimplemented) ProcessExec(w http.ResponseWriter, r *http.Request)
Execute a command synchronously (POST /process/exec)
func (Unimplemented) ProcessKill ¶
func (_ Unimplemented) ProcessKill(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
Send signal to process (POST /process/{process_id}/kill)
func (Unimplemented) ProcessResize ¶
func (_ Unimplemented) ProcessResize(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
Resize a PTY-backed process (POST /process/{process_id}/resize)
func (Unimplemented) ProcessSpawn ¶
func (_ Unimplemented) ProcessSpawn(w http.ResponseWriter, r *http.Request)
Execute a command asynchronously (POST /process/spawn)
func (Unimplemented) ProcessStatus ¶
func (_ Unimplemented) ProcessStatus(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
Get process status (GET /process/{process_id}/status)
func (Unimplemented) ProcessStdin ¶
func (_ Unimplemented) ProcessStdin(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
Write to process stdin (POST /process/{process_id}/stdin)
func (Unimplemented) ProcessStdoutStream ¶
func (_ Unimplemented) ProcessStdoutStream(w http.ResponseWriter, r *http.Request, processId openapi_types.UUID)
Stream process stdout over SSE (GET /process/{process_id}/stdout/stream)
func (Unimplemented) ReadFile ¶
func (_ Unimplemented) ReadFile(w http.ResponseWriter, r *http.Request, params ReadFileParams)
Read file contents (GET /fs/read_file)
func (Unimplemented) Scroll ¶
func (_ Unimplemented) Scroll(w http.ResponseWriter, r *http.Request)
Scroll the mouse wheel at a position on the host computer (POST /computer/scroll)
func (Unimplemented) SetCursor ¶
func (_ Unimplemented) SetCursor(w http.ResponseWriter, r *http.Request)
Hide or show the cursor (POST /computer/cursor)
func (Unimplemented) SetFilePermissions ¶
func (_ Unimplemented) SetFilePermissions(w http.ResponseWriter, r *http.Request)
Set file or directory permissions/ownership (PUT /fs/set_file_permissions)
func (Unimplemented) StartFsWatch ¶
func (_ Unimplemented) StartFsWatch(w http.ResponseWriter, r *http.Request)
Watch a directory for changes (POST /fs/watch)
func (Unimplemented) StartRecording ¶
func (_ Unimplemented) StartRecording(w http.ResponseWriter, r *http.Request)
Start a screen recording. Only one recording per ID can be registered at a time. (POST /recording/start)
func (Unimplemented) StopFsWatch ¶
func (_ Unimplemented) StopFsWatch(w http.ResponseWriter, r *http.Request, watchId string)
Stop watching a directory (DELETE /fs/watch/{watch_id})
func (Unimplemented) StopRecording ¶
func (_ Unimplemented) StopRecording(w http.ResponseWriter, r *http.Request)
Stop the recording (POST /recording/stop)
func (Unimplemented) StreamFsEvents ¶
func (_ Unimplemented) StreamFsEvents(w http.ResponseWriter, r *http.Request, watchId string)
Stream filesystem events for a watch (GET /fs/watch/{watch_id}/events)
func (Unimplemented) TakeScreenshot ¶
func (_ Unimplemented) TakeScreenshot(w http.ResponseWriter, r *http.Request)
Capture a screenshot of the host computer (POST /computer/screenshot)
func (Unimplemented) TypeText ¶
func (_ Unimplemented) TypeText(w http.ResponseWriter, r *http.Request)
Type text on the host computer (POST /computer/type)
func (Unimplemented) UploadExtensionsAndRestart ¶
func (_ Unimplemented) UploadExtensionsAndRestart(w http.ResponseWriter, r *http.Request)
Upload one or more unpacked extensions (as zips) and restart Chromium (POST /chromium/upload-extensions-and-restart)
func (Unimplemented) UploadFiles ¶
func (_ Unimplemented) UploadFiles(w http.ResponseWriter, r *http.Request)
Upload one or more files (POST /fs/upload)
func (Unimplemented) UploadZip ¶
func (_ Unimplemented) UploadZip(w http.ResponseWriter, r *http.Request)
Upload a zip archive and extract it (POST /fs/upload_zip)
func (Unimplemented) WriteFile ¶
func (_ Unimplemented) WriteFile(w http.ResponseWriter, r *http.Request, params WriteFileParams)
Write or create a file (PUT /fs/write_file)
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UploadExtensionsAndRestart201Response ¶
type UploadExtensionsAndRestart201Response struct {
}
func (UploadExtensionsAndRestart201Response) VisitUploadExtensionsAndRestartResponse ¶
func (response UploadExtensionsAndRestart201Response) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error
type UploadExtensionsAndRestart400JSONResponse ¶
type UploadExtensionsAndRestart400JSONResponse struct{ BadRequestErrorJSONResponse }
func (UploadExtensionsAndRestart400JSONResponse) VisitUploadExtensionsAndRestartResponse ¶
func (response UploadExtensionsAndRestart400JSONResponse) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error
type UploadExtensionsAndRestart500JSONResponse ¶
type UploadExtensionsAndRestart500JSONResponse struct{ InternalErrorJSONResponse }
func (UploadExtensionsAndRestart500JSONResponse) VisitUploadExtensionsAndRestartResponse ¶
func (response UploadExtensionsAndRestart500JSONResponse) VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error
type UploadExtensionsAndRestartMultipartBody ¶
type UploadExtensionsAndRestartMultipartBody struct {
// Extensions List of extensions to upload and activate
Extensions []struct {
// Name Folder name to place the extension under /home/kernel/extensions/<name>
Name string `json:"name"`
// ZipFile Zip archive containing an unpacked Chromium extension (must include manifest.json)
ZipFile openapi_types.File `json:"zip_file"`
} `json:"extensions"`
}
UploadExtensionsAndRestartMultipartBody defines parameters for UploadExtensionsAndRestart.
type UploadExtensionsAndRestartMultipartRequestBody ¶
type UploadExtensionsAndRestartMultipartRequestBody UploadExtensionsAndRestartMultipartBody
UploadExtensionsAndRestartMultipartRequestBody defines body for UploadExtensionsAndRestart for multipart/form-data ContentType.
type UploadExtensionsAndRestartResponse ¶
type UploadExtensionsAndRestartResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON500 *InternalError
}
func ParseUploadExtensionsAndRestartResponse ¶
func ParseUploadExtensionsAndRestartResponse(rsp *http.Response) (*UploadExtensionsAndRestartResponse, error)
ParseUploadExtensionsAndRestartResponse parses an HTTP response from a UploadExtensionsAndRestartWithResponse call
func (UploadExtensionsAndRestartResponse) Status ¶
func (r UploadExtensionsAndRestartResponse) Status() string
Status returns HTTPResponse.Status
func (UploadExtensionsAndRestartResponse) StatusCode ¶
func (r UploadExtensionsAndRestartResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadExtensionsAndRestartResponseObject ¶
type UploadExtensionsAndRestartResponseObject interface {
VisitUploadExtensionsAndRestartResponse(w http.ResponseWriter) error
}
type UploadFiles201Response ¶
type UploadFiles201Response struct {
}
func (UploadFiles201Response) VisitUploadFilesResponse ¶
func (response UploadFiles201Response) VisitUploadFilesResponse(w http.ResponseWriter) error
type UploadFiles400JSONResponse ¶
type UploadFiles400JSONResponse struct{ BadRequestErrorJSONResponse }
func (UploadFiles400JSONResponse) VisitUploadFilesResponse ¶
func (response UploadFiles400JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error
type UploadFiles404JSONResponse ¶
type UploadFiles404JSONResponse struct{ NotFoundErrorJSONResponse }
func (UploadFiles404JSONResponse) VisitUploadFilesResponse ¶
func (response UploadFiles404JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error
type UploadFiles500JSONResponse ¶
type UploadFiles500JSONResponse struct{ InternalErrorJSONResponse }
func (UploadFiles500JSONResponse) VisitUploadFilesResponse ¶
func (response UploadFiles500JSONResponse) VisitUploadFilesResponse(w http.ResponseWriter) error
type UploadFilesMultipartBody ¶
type UploadFilesMultipartBody struct {
Files []struct {
// DestPath Absolute destination path to write the file.
DestPath string `json:"dest_path"`
File openapi_types.File `json:"file"`
} `json:"files"`
}
UploadFilesMultipartBody defines parameters for UploadFiles.
type UploadFilesMultipartRequestBody ¶
type UploadFilesMultipartRequestBody UploadFilesMultipartBody
UploadFilesMultipartRequestBody defines body for UploadFiles for multipart/form-data ContentType.
type UploadFilesResponse ¶
type UploadFilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseUploadFilesResponse ¶
func ParseUploadFilesResponse(rsp *http.Response) (*UploadFilesResponse, error)
ParseUploadFilesResponse parses an HTTP response from a UploadFilesWithResponse call
func (UploadFilesResponse) Status ¶
func (r UploadFilesResponse) Status() string
Status returns HTTPResponse.Status
func (UploadFilesResponse) StatusCode ¶
func (r UploadFilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadFilesResponseObject ¶
type UploadFilesResponseObject interface {
VisitUploadFilesResponse(w http.ResponseWriter) error
}
type UploadZip201Response ¶
type UploadZip201Response struct {
}
func (UploadZip201Response) VisitUploadZipResponse ¶
func (response UploadZip201Response) VisitUploadZipResponse(w http.ResponseWriter) error
type UploadZip400JSONResponse ¶
type UploadZip400JSONResponse struct{ BadRequestErrorJSONResponse }
func (UploadZip400JSONResponse) VisitUploadZipResponse ¶
func (response UploadZip400JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error
type UploadZip404JSONResponse ¶
type UploadZip404JSONResponse struct{ NotFoundErrorJSONResponse }
func (UploadZip404JSONResponse) VisitUploadZipResponse ¶
func (response UploadZip404JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error
type UploadZip500JSONResponse ¶
type UploadZip500JSONResponse struct{ InternalErrorJSONResponse }
func (UploadZip500JSONResponse) VisitUploadZipResponse ¶
func (response UploadZip500JSONResponse) VisitUploadZipResponse(w http.ResponseWriter) error
type UploadZipMultipartBody ¶
type UploadZipMultipartBody struct {
// DestPath Absolute destination directory to extract the archive to.
DestPath string `json:"dest_path"`
ZipFile openapi_types.File `json:"zip_file"`
}
UploadZipMultipartBody defines parameters for UploadZip.
type UploadZipMultipartRequestBody ¶
type UploadZipMultipartRequestBody UploadZipMultipartBody
UploadZipMultipartRequestBody defines body for UploadZip for multipart/form-data ContentType.
type UploadZipRequestObject ¶
type UploadZipResponse ¶
type UploadZipResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseUploadZipResponse ¶
func ParseUploadZipResponse(rsp *http.Response) (*UploadZipResponse, error)
ParseUploadZipResponse parses an HTTP response from a UploadZipWithResponse call
func (UploadZipResponse) Status ¶
func (r UploadZipResponse) Status() string
Status returns HTTPResponse.Status
func (UploadZipResponse) StatusCode ¶
func (r UploadZipResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadZipResponseObject ¶
type UploadZipResponseObject interface {
VisitUploadZipResponse(w http.ResponseWriter) error
}
type WriteFile201Response ¶
type WriteFile201Response struct {
}
func (WriteFile201Response) VisitWriteFileResponse ¶
func (response WriteFile201Response) VisitWriteFileResponse(w http.ResponseWriter) error
type WriteFile400JSONResponse ¶
type WriteFile400JSONResponse struct{ BadRequestErrorJSONResponse }
func (WriteFile400JSONResponse) VisitWriteFileResponse ¶
func (response WriteFile400JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error
type WriteFile404JSONResponse ¶
type WriteFile404JSONResponse struct{ NotFoundErrorJSONResponse }
func (WriteFile404JSONResponse) VisitWriteFileResponse ¶
func (response WriteFile404JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error
type WriteFile500JSONResponse ¶
type WriteFile500JSONResponse struct{ InternalErrorJSONResponse }
func (WriteFile500JSONResponse) VisitWriteFileResponse ¶
func (response WriteFile500JSONResponse) VisitWriteFileResponse(w http.ResponseWriter) error
type WriteFileParams ¶
type WriteFileParams struct {
// Path Destination absolute file path.
Path string `form:"path" json:"path"`
// Mode Optional file mode (octal string, e.g. 644). Defaults to 644.
Mode *string `form:"mode,omitempty" json:"mode,omitempty"`
}
WriteFileParams defines parameters for WriteFile.
type WriteFileRequestObject ¶
type WriteFileRequestObject struct {
Params WriteFileParams
Body io.Reader
}
type WriteFileResponse ¶
type WriteFileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *BadRequestError
JSON404 *NotFoundError
JSON500 *InternalError
}
func ParseWriteFileResponse ¶
func ParseWriteFileResponse(rsp *http.Response) (*WriteFileResponse, error)
ParseWriteFileResponse parses an HTTP response from a WriteFileWithResponse call
func (WriteFileResponse) Status ¶
func (r WriteFileResponse) Status() string
Status returns HTTPResponse.Status
func (WriteFileResponse) StatusCode ¶
func (r WriteFileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WriteFileResponseObject ¶
type WriteFileResponseObject interface {
VisitWriteFileResponse(w http.ResponseWriter) error
}