oapi

package
v0.0.0-...-11e1b04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

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.6.0 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

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 HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewBatchComputerActionRequest

func NewBatchComputerActionRequest(server string, body BatchComputerActionJSONRequestBody) (*http.Request, error)

NewBatchComputerActionRequest calls the generic BatchComputerAction builder with application/json body

func NewBatchComputerActionRequestWithBody

func NewBatchComputerActionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewBatchComputerActionRequestWithBody generates requests for BatchComputerAction with any type of body

func NewChromiumConfigureRequestWithBody

func NewChromiumConfigureRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewChromiumConfigureRequestWithBody generates requests for ChromiumConfigure with any type of body

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 NewDisableScaleToZeroRequest

func NewDisableScaleToZeroRequest(server string) (*http.Request, error)

NewDisableScaleToZeroRequest generates requests for DisableScaleToZero

func NewDownloadDirZipRequest

func NewDownloadDirZipRequest(server string, params *DownloadDirZipParams) (*http.Request, error)

NewDownloadDirZipRequest generates requests for DownloadDirZip

func NewDownloadDirZstdRequest

func NewDownloadDirZstdRequest(server string, params *DownloadDirZstdParams) (*http.Request, error)

NewDownloadDirZstdRequest generates requests for DownloadDirZstd

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 NewEnableScaleToZeroRequest

func NewEnableScaleToZeroRequest(server string) (*http.Request, error)

NewEnableScaleToZeroRequest generates requests for EnableScaleToZero

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 NewGetMousePositionRequest

func NewGetMousePositionRequest(server string) (*http.Request, error)

NewGetMousePositionRequest generates requests for GetMousePosition

func NewGetTelemetryRequest

func NewGetTelemetryRequest(server string) (*http.Request, error)

NewGetTelemetryRequest generates requests for GetTelemetry

func NewListFilesRequest

func NewListFilesRequest(server string, params *ListFilesParams) (*http.Request, error)

NewListFilesRequest generates requests for ListFiles

func NewListRecordersRequest

func NewListRecordersRequest(server string) (*http.Request, error)

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 NewPatchChromiumPoliciesRequest

func NewPatchChromiumPoliciesRequest(server string, body PatchChromiumPoliciesJSONRequestBody) (*http.Request, error)

NewPatchChromiumPoliciesRequest calls the generic PatchChromiumPolicies builder with application/json body

func NewPatchChromiumPoliciesRequestWithBody

func NewPatchChromiumPoliciesRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchChromiumPoliciesRequestWithBody generates requests for PatchChromiumPolicies 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 NewPatchTelemetryRequest

func NewPatchTelemetryRequest(server string, body PatchTelemetryJSONRequestBody) (*http.Request, error)

NewPatchTelemetryRequest calls the generic PatchTelemetry builder with application/json body

func NewPatchTelemetryRequestWithBody

func NewPatchTelemetryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPatchTelemetryRequestWithBody generates requests for PatchTelemetry 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

func NewProcessStatusRequest(server string, processId openapi_types.UUID) (*http.Request, error)

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 NewPublishTelemetryEventRequest

func NewPublishTelemetryEventRequest(server string, body PublishTelemetryEventJSONRequestBody) (*http.Request, error)

NewPublishTelemetryEventRequest calls the generic PublishTelemetryEvent builder with application/json body

func NewPublishTelemetryEventRequestWithBody

func NewPublishTelemetryEventRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPublishTelemetryEventRequestWithBody generates requests for PublishTelemetryEvent with any type of body

func NewPutTelemetryRequest

func NewPutTelemetryRequest(server string, body PutTelemetryJSONRequestBody) (*http.Request, error)

NewPutTelemetryRequest calls the generic PutTelemetry builder with application/json body

func NewPutTelemetryRequestWithBody

func NewPutTelemetryRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPutTelemetryRequestWithBody generates requests for PutTelemetry with any type of body

func NewReadClipboardRequest

func NewReadClipboardRequest(server string) (*http.Request, error)

NewReadClipboardRequest generates requests for ReadClipboard

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

func NewStopFsWatchRequest(server string, watchId string) (*http.Request, error)

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

func NewStreamFsEventsRequest(server string, watchId string) (*http.Request, error)

NewStreamFsEventsRequest generates requests for StreamFsEvents

func NewStreamTelemetryEventsRequest

func NewStreamTelemetryEventsRequest(server string, params *StreamTelemetryEventsParams) (*http.Request, error)

NewStreamTelemetryEventsRequest generates requests for StreamTelemetryEvents

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 NewUploadZstdRequestWithBody

func NewUploadZstdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUploadZstdRequestWithBody generates requests for UploadZstd with any type of body

func NewWriteClipboardRequest

func NewWriteClipboardRequest(server string, body WriteClipboardJSONRequestBody) (*http.Request, error)

NewWriteClipboardRequest calls the generic WriteClipboard builder with application/json body

func NewWriteClipboardRequestWithBody

func NewWriteClipboardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewWriteClipboardRequestWithBody generates requests for WriteClipboard 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

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type BadRequestError

type BadRequestError = Error

BadRequestError defines model for BadRequestError.

type BadRequestErrorJSONResponse

type BadRequestErrorJSONResponse Error

type BatchComputerAction200Response

type BatchComputerAction200Response struct {
}

func (BatchComputerAction200Response) VisitBatchComputerActionResponse

func (response BatchComputerAction200Response) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerAction400JSONResponse

type BatchComputerAction400JSONResponse struct{ BadRequestErrorJSONResponse }

func (BatchComputerAction400JSONResponse) VisitBatchComputerActionResponse

func (response BatchComputerAction400JSONResponse) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerAction500JSONResponse

type BatchComputerAction500JSONResponse struct{ InternalErrorJSONResponse }

func (BatchComputerAction500JSONResponse) VisitBatchComputerActionResponse

func (response BatchComputerAction500JSONResponse) VisitBatchComputerActionResponse(w http.ResponseWriter) error

type BatchComputerActionJSONRequestBody

type BatchComputerActionJSONRequestBody = BatchComputerActionRequest

BatchComputerActionJSONRequestBody defines body for BatchComputerAction for application/json ContentType.

type BatchComputerActionRequest

type BatchComputerActionRequest struct {
	// Actions Ordered list of actions to execute. Execution stops on the first error.
	Actions []ComputerAction `json:"actions"`
}

BatchComputerActionRequest A batch of computer actions to execute sequentially.

type BatchComputerActionRequestObject

type BatchComputerActionRequestObject struct {
	Body *BatchComputerActionJSONRequestBody
}

type BatchComputerActionResponse

type BatchComputerActionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseBatchComputerActionResponse

func ParseBatchComputerActionResponse(rsp *http.Response) (*BatchComputerActionResponse, error)

ParseBatchComputerActionResponse parses an HTTP response from a BatchComputerActionWithResponse call

func (BatchComputerActionResponse) Status

Status returns HTTPResponse.Status

func (BatchComputerActionResponse) StatusCode

func (r BatchComputerActionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type BatchComputerActionResponseObject

type BatchComputerActionResponseObject interface {
	VisitBatchComputerActionResponse(w http.ResponseWriter) error
}

type BrowserApiCallEvent

type BrowserApiCallEvent struct {
	Category BrowserApiCallEventCategory `json:"category"`

	// Data Per-call payload for `api_call` events.
	Data *BrowserApiCallEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                   `json:"ts"`
	Type BrowserApiCallEventType `json:"type"`
}

BrowserApiCallEvent An HTTP call handled by the kernel-images-api server.

type BrowserApiCallEventCategory

type BrowserApiCallEventCategory string

BrowserApiCallEventCategory defines model for BrowserApiCallEvent.Category.

const (
	BrowserApiCallEventCategoryApi BrowserApiCallEventCategory = "api"
)

Defines values for BrowserApiCallEventCategory.

func (BrowserApiCallEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserApiCallEventCategory enum.

type BrowserApiCallEventData

type BrowserApiCallEventData struct {
	// DurationMs Wall-clock duration of the handler in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// OperationId OpenAPI operationId of the matched route (e.g. `processExec`, `takeScreenshot`).
	OperationId string `json:"operation_id"`

	// RequestId Per-request identifier from the kernel-images-api request middleware.
	RequestId string `json:"request_id"`

	// Status HTTP response status code.
	Status int `json:"status"`
}

BrowserApiCallEventData Per-call payload for `api_call` events.

type BrowserApiCallEventType

type BrowserApiCallEventType string

BrowserApiCallEventType defines model for BrowserApiCallEvent.Type.

const (
	ApiCall BrowserApiCallEventType = "api_call"
)

Defines values for BrowserApiCallEventType.

func (BrowserApiCallEventType) Valid

func (e BrowserApiCallEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserApiCallEventType enum.

type BrowserCallStack

type BrowserCallStack struct {
	// CallFrames Ordered list of call frames, outermost first.
	CallFrames []struct {
		// ColumnNumber Zero-based column number within the line.
		ColumnNumber int `json:"columnNumber"`

		// FunctionName JavaScript function name, or empty string for anonymous functions.
		FunctionName string `json:"functionName"`

		// LineNumber Zero-based line number within the script.
		LineNumber int `json:"lineNumber"`

		// ScriptId CDP script identifier.
		ScriptId string `json:"scriptId"`

		// Url URL or name of the script file.
		Url string `json:"url"`
	} `json:"callFrames"`

	// Description Optional label for the stack trace (e.g. async cause).
	Description *string `json:"description,omitempty"`

	// Parent Parent stack trace for async stacks.
	Parent *BrowserCallStack `json:"parent,omitempty"`
}

BrowserCallStack CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.

type BrowserCaptchaSolveResultEvent

type BrowserCaptchaSolveResultEvent struct {
	// Data Per-attempt payload for `captcha_solve_result` events.
	Data *BrowserCaptchaSolveResultEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserCaptchaSolveResultEventType `json:"type"`
}

BrowserCaptchaSolveResultEvent A captcha solve attempt reached a terminal outcome.

type BrowserCaptchaSolveResultEventData

type BrowserCaptchaSolveResultEventData struct {
	// CaptchaType Captcha vendor family. Producers normalize provider-specific task names into this set: enterprise variants of recaptcha collapse into their version bucket (v2 / v3), and anything not covered (e.g. DataDome, MtCaptcha, plain OCR) is reported as `other`.
	CaptchaType BrowserCaptchaSolveResultEventDataCaptchaType `json:"captcha_type"`

	// DurationMs Wall-clock duration from solve start to terminal outcome.
	DurationMs float32 `json:"duration_ms"`

	// ErrorCode Solver-specific error code on failure (e.g. `ERROR_CAPTCHA_UNSOLVABLE`). Absent on success.
	ErrorCode *string `json:"error_code,omitempty"`

	// Status Terminal outcome. `success`: solver returned a usable solution. `failure`: solver returned an error (see `error_code`). `timeout`: solver did not return within the caller's wait budget. `abandoned`: caller cancelled or the page navigated away mid-solve.
	Status BrowserCaptchaSolveResultEventDataStatus `json:"status"`

	// TaskId Solver-assigned identifier. Opaque, useful for support cross-references.
	TaskId *string `json:"task_id,omitempty"`

	// WebsiteHost Host of the page where the captcha was solved.
	WebsiteHost *string `json:"website_host,omitempty"`

	// WebsitePath Path of the page where the captcha was solved. Query string excluded.
	WebsitePath *string `json:"website_path,omitempty"`
}

BrowserCaptchaSolveResultEventData Per-attempt payload for `captcha_solve_result` events.

type BrowserCaptchaSolveResultEventDataCaptchaType

type BrowserCaptchaSolveResultEventDataCaptchaType string

BrowserCaptchaSolveResultEventDataCaptchaType Captcha vendor family. Producers normalize provider-specific task names into this set: enterprise variants of recaptcha collapse into their version bucket (v2 / v3), and anything not covered (e.g. DataDome, MtCaptcha, plain OCR) is reported as `other`.

const (
	BrowserCaptchaSolveResultEventDataCaptchaTypeGeetest     BrowserCaptchaSolveResultEventDataCaptchaType = "geetest"
	BrowserCaptchaSolveResultEventDataCaptchaTypeHcaptcha    BrowserCaptchaSolveResultEventDataCaptchaType = "hcaptcha"
	BrowserCaptchaSolveResultEventDataCaptchaTypeOther       BrowserCaptchaSolveResultEventDataCaptchaType = "other"
	BrowserCaptchaSolveResultEventDataCaptchaTypeRecaptchaV2 BrowserCaptchaSolveResultEventDataCaptchaType = "recaptcha_v2"
	BrowserCaptchaSolveResultEventDataCaptchaTypeRecaptchaV3 BrowserCaptchaSolveResultEventDataCaptchaType = "recaptcha_v3"
	BrowserCaptchaSolveResultEventDataCaptchaTypeTurnstile   BrowserCaptchaSolveResultEventDataCaptchaType = "turnstile"
)

Defines values for BrowserCaptchaSolveResultEventDataCaptchaType.

func (BrowserCaptchaSolveResultEventDataCaptchaType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventDataCaptchaType enum.

type BrowserCaptchaSolveResultEventDataStatus

type BrowserCaptchaSolveResultEventDataStatus string

BrowserCaptchaSolveResultEventDataStatus Terminal outcome. `success`: solver returned a usable solution. `failure`: solver returned an error (see `error_code`). `timeout`: solver did not return within the caller's wait budget. `abandoned`: caller cancelled or the page navigated away mid-solve.

Defines values for BrowserCaptchaSolveResultEventDataStatus.

func (BrowserCaptchaSolveResultEventDataStatus) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventDataStatus enum.

type BrowserCaptchaSolveResultEventType

type BrowserCaptchaSolveResultEventType string

BrowserCaptchaSolveResultEventType defines model for BrowserCaptchaSolveResultEvent.Type.

const (
	CaptchaSolveResult BrowserCaptchaSolveResultEventType = "captcha_solve_result"
)

Defines values for BrowserCaptchaSolveResultEventType.

func (BrowserCaptchaSolveResultEventType) Valid

Valid indicates whether the value is a known member of the BrowserCaptchaSolveResultEventType enum.

type BrowserCdpConnectEvent

type BrowserCdpConnectEvent struct {
	Category BrowserCdpConnectEventCategory `json:"category"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserCdpConnectEventType `json:"type"`
}

BrowserCdpConnectEvent An external client (e.g. customer SDK, Playwright, Puppeteer) connected to the CDP WebSocket proxy on this VM.

type BrowserCdpConnectEventCategory

type BrowserCdpConnectEventCategory string

BrowserCdpConnectEventCategory defines model for BrowserCdpConnectEvent.Category.

const (
	BrowserCdpConnectEventCategorySystem BrowserCdpConnectEventCategory = "system"
)

Defines values for BrowserCdpConnectEventCategory.

func (BrowserCdpConnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCdpConnectEventCategory enum.

type BrowserCdpConnectEventType

type BrowserCdpConnectEventType string

BrowserCdpConnectEventType defines model for BrowserCdpConnectEvent.Type.

const (
	CdpConnect BrowserCdpConnectEventType = "cdp_connect"
)

Defines values for BrowserCdpConnectEventType.

func (BrowserCdpConnectEventType) Valid

func (e BrowserCdpConnectEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserCdpConnectEventType enum.

type BrowserCdpDisconnectEvent

type BrowserCdpDisconnectEvent struct {
	Category BrowserCdpDisconnectEventCategory `json:"category"`

	// Data Per-disconnect payload for `cdp_disconnect` events.
	Data *BrowserCdpDisconnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserCdpDisconnectEventType `json:"type"`
}

BrowserCdpDisconnectEvent An external client disconnected from the CDP WebSocket proxy on this VM. Pair with the immediately preceding `cdp_connect` on the same stream.

type BrowserCdpDisconnectEventCategory

type BrowserCdpDisconnectEventCategory string

BrowserCdpDisconnectEventCategory defines model for BrowserCdpDisconnectEvent.Category.

const (
	BrowserCdpDisconnectEventCategorySystem BrowserCdpDisconnectEventCategory = "system"
)

Defines values for BrowserCdpDisconnectEventCategory.

func (BrowserCdpDisconnectEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventCategory enum.

type BrowserCdpDisconnectEventData

type BrowserCdpDisconnectEventData struct {
	// DurationMs Wall-clock duration of the connection in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// MessageCount Number of CDP messages relayed across the connection in either direction.
	MessageCount int `json:"message_count"`

	// Reason Why the connection ended. `client_close`: the client initiated the close. `upstream_changed`: Chromium restarted mid-session and the proxy tore down so the client could reconnect against the new upstream. `upstream_error`: upstream dial or message pump errored. `context_cancelled`: the request context was cancelled (typically server shutdown).
	Reason BrowserCdpDisconnectEventDataReason `json:"reason"`
}

BrowserCdpDisconnectEventData Per-disconnect payload for `cdp_disconnect` events.

type BrowserCdpDisconnectEventDataReason

type BrowserCdpDisconnectEventDataReason string

BrowserCdpDisconnectEventDataReason Why the connection ended. `client_close`: the client initiated the close. `upstream_changed`: Chromium restarted mid-session and the proxy tore down so the client could reconnect against the new upstream. `upstream_error`: upstream dial or message pump errored. `context_cancelled`: the request context was cancelled (typically server shutdown).

const (
	ClientClose      BrowserCdpDisconnectEventDataReason = "client_close"
	ContextCancelled BrowserCdpDisconnectEventDataReason = "context_cancelled"
	UpstreamChanged  BrowserCdpDisconnectEventDataReason = "upstream_changed"
	UpstreamError    BrowserCdpDisconnectEventDataReason = "upstream_error"
)

Defines values for BrowserCdpDisconnectEventDataReason.

func (BrowserCdpDisconnectEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventDataReason enum.

type BrowserCdpDisconnectEventType

type BrowserCdpDisconnectEventType string

BrowserCdpDisconnectEventType defines model for BrowserCdpDisconnectEvent.Type.

const (
	CdpDisconnect BrowserCdpDisconnectEventType = "cdp_disconnect"
)

Defines values for BrowserCdpDisconnectEventType.

func (BrowserCdpDisconnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserCdpDisconnectEventType enum.

type BrowserConsoleErrorEvent

type BrowserConsoleErrorEvent struct {
	Category BrowserConsoleErrorEventCategory `json:"category"`
	Data     *BrowserConsoleErrorEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                        `json:"ts"`
	Type BrowserConsoleErrorEventType `json:"type"`
}

BrowserConsoleErrorEvent A browser console error or uncaught JavaScript exception event. Emitted from two distinct CDP sources with different data shapes. Runtime.consoleAPICalled (console.error calls) produces level, text, args, and stack_trace. Runtime.exceptionThrown (uncaught exceptions) produces text, line, column, source_url, and stack_trace. Fields not applicable to the source are absent.

type BrowserConsoleErrorEventCategory

type BrowserConsoleErrorEventCategory string

BrowserConsoleErrorEventCategory defines model for BrowserConsoleErrorEvent.Category.

const (
	BrowserConsoleErrorEventCategoryConsole BrowserConsoleErrorEventCategory = "console"
)

Defines values for BrowserConsoleErrorEventCategory.

func (BrowserConsoleErrorEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserConsoleErrorEventCategory enum.

type BrowserConsoleErrorEventData

type BrowserConsoleErrorEventData struct {
	// Args All console arguments coerced to strings. Present only when sourced from Runtime.consoleAPICalled.
	Args *[]string `json:"args,omitempty"`

	// Column Column number in the script where the exception was thrown. Present only when sourced from Runtime.exceptionThrown.
	Column *int `json:"column,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Level CDP console type value, always "error". Present only when sourced from Runtime.consoleAPICalled.
	Level *string `json:"level,omitempty"`

	// Line Line number in the script where the exception was thrown. Present only when sourced from Runtime.exceptionThrown.
	Line *int `json:"line,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceUrl URL of the script file that threw the exception. Present only when sourced from Runtime.exceptionThrown.
	SourceUrl *string `json:"source_url,omitempty"`

	// StackTrace CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.
	StackTrace *BrowserCallStack `json:"stack_trace,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text Error message text. Present in both source paths.
	Text string `json:"text"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserConsoleErrorEventData defines model for BrowserConsoleErrorEventData.

type BrowserConsoleErrorEventType

type BrowserConsoleErrorEventType string

BrowserConsoleErrorEventType defines model for BrowserConsoleErrorEvent.Type.

const (
	ConsoleError BrowserConsoleErrorEventType = "console_error"
)

Defines values for BrowserConsoleErrorEventType.

func (BrowserConsoleErrorEventType) Valid

Valid indicates whether the value is a known member of the BrowserConsoleErrorEventType enum.

type BrowserConsoleLogEvent

type BrowserConsoleLogEvent struct {
	Category BrowserConsoleLogEventCategory `json:"category"`
	Data     *BrowserConsoleLogEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                      `json:"ts"`
	Type BrowserConsoleLogEventType `json:"type"`
}

BrowserConsoleLogEvent A browser console log event (console.log, console.info, console.warn, etc.).

type BrowserConsoleLogEventCategory

type BrowserConsoleLogEventCategory string

BrowserConsoleLogEventCategory defines model for BrowserConsoleLogEvent.Category.

const (
	BrowserConsoleLogEventCategoryConsole BrowserConsoleLogEventCategory = "console"
)

Defines values for BrowserConsoleLogEventCategory.

func (BrowserConsoleLogEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserConsoleLogEventCategory enum.

type BrowserConsoleLogEventData

type BrowserConsoleLogEventData struct {
	// Args All console arguments coerced to strings.
	Args *[]string `json:"args,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Level CDP Runtime.consoleAPICalled type, passed through unfiltered from Chrome. `error` is routed to console_error events instead; all other CDP console types appear here. See CDP spec for the full enum.
	Level string `json:"level"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// StackTrace CDP Runtime.StackTrace representing the JavaScript call stack at the time of an event. Fields use CDP naming conventions rather than snake_case to match the Chrome DevTools Protocol wire format.
	StackTrace *BrowserCallStack `json:"stack_trace,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text First console argument coerced to string.
	Text string `json:"text"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserConsoleLogEventData defines model for BrowserConsoleLogEventData.

type BrowserConsoleLogEventType

type BrowserConsoleLogEventType string

BrowserConsoleLogEventType defines model for BrowserConsoleLogEvent.Type.

const (
	ConsoleLog BrowserConsoleLogEventType = "console_log"
)

Defines values for BrowserConsoleLogEventType.

func (BrowserConsoleLogEventType) Valid

func (e BrowserConsoleLogEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserConsoleLogEventType enum.

type BrowserEventContext

type BrowserEventContext struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserEventContext Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.

type BrowserEventSource

type BrowserEventSource struct {
	// Event Producer-specific event name (e.g. `Runtime.consoleAPICalled` for CDP-sourced console events).
	Event *string `json:"event,omitempty"`

	// Kind Event producer. `cdp`: Chrome DevTools Protocol events from the browser. `kernel_api`: Kernel API server (reserved for server-generated events). `extension`: injected Chrome extension. `local_process`: system process running alongside the browser.
	Kind BrowserEventSourceKind `json:"kind"`

	// Metadata Producer-specific context (e.g. CDP target/session/frame IDs).
	Metadata *map[string]string `json:"metadata,omitempty"`
}

BrowserEventSource Provenance metadata identifying which producer emitted the event.

type BrowserEventSourceKind

type BrowserEventSourceKind string

BrowserEventSourceKind Event producer. `cdp`: Chrome DevTools Protocol events from the browser. `kernel_api`: Kernel API server (reserved for server-generated events). `extension`: injected Chrome extension. `local_process`: system process running alongside the browser.

const (
	Cdp          BrowserEventSourceKind = "cdp"
	Extension    BrowserEventSourceKind = "extension"
	KernelApi    BrowserEventSourceKind = "kernel_api"
	LocalProcess BrowserEventSourceKind = "local_process"
)

Defines values for BrowserEventSourceKind.

func (BrowserEventSourceKind) Valid

func (e BrowserEventSourceKind) Valid() bool

Valid indicates whether the value is a known member of the BrowserEventSourceKind enum.

type BrowserHttpHeaders

type BrowserHttpHeaders map[string]interface{}

BrowserHttpHeaders HTTP headers map forwarded as-is from CDP without normalization. Values are typically strings but may be any JSON type.

type BrowserInteractionClickEvent

type BrowserInteractionClickEvent struct {
	Category BrowserInteractionClickEventCategory `json:"category"`
	Data     *BrowserInteractionClickEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                            `json:"ts"`
	Type BrowserInteractionClickEventType `json:"type"`
}

BrowserInteractionClickEvent A browser user click event captured via injected page script.

type BrowserInteractionClickEventCategory

type BrowserInteractionClickEventCategory string

BrowserInteractionClickEventCategory defines model for BrowserInteractionClickEvent.Category.

const (
	BrowserInteractionClickEventCategoryInteraction BrowserInteractionClickEventCategory = "interaction"
)

Defines values for BrowserInteractionClickEventCategory.

func (BrowserInteractionClickEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionClickEventCategory enum.

type BrowserInteractionClickEventData

type BrowserInteractionClickEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// Selector CSS selector path to the clicked element.
	Selector string `json:"selector"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Tag HTML tag name of the clicked element in uppercase (e.g. BUTTON, A, DIV).
	Tag string `json:"tag"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Text Visible text content of the clicked element, trimmed.
	Text *string `json:"text,omitempty"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`

	// X Viewport x-coordinate of the click in CSS pixels.
	X int `json:"x"`

	// Y Viewport y-coordinate of the click in CSS pixels.
	Y int `json:"y"`
}

BrowserInteractionClickEventData defines model for BrowserInteractionClickEventData.

type BrowserInteractionClickEventType

type BrowserInteractionClickEventType string

BrowserInteractionClickEventType defines model for BrowserInteractionClickEvent.Type.

const (
	InteractionClick BrowserInteractionClickEventType = "interaction_click"
)

Defines values for BrowserInteractionClickEventType.

func (BrowserInteractionClickEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionClickEventType enum.

type BrowserInteractionKeyEvent

type BrowserInteractionKeyEvent struct {
	Category BrowserInteractionKeyEventCategory `json:"category"`
	Data     *BrowserInteractionKeyEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserInteractionKeyEventType `json:"type"`
}

BrowserInteractionKeyEvent A browser keyboard event captured via injected page script.

type BrowserInteractionKeyEventCategory

type BrowserInteractionKeyEventCategory string

BrowserInteractionKeyEventCategory defines model for BrowserInteractionKeyEvent.Category.

const (
	BrowserInteractionKeyEventCategoryInteraction BrowserInteractionKeyEventCategory = "interaction"
)

Defines values for BrowserInteractionKeyEventCategory.

func (BrowserInteractionKeyEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionKeyEventCategory enum.

type BrowserInteractionKeyEventData

type BrowserInteractionKeyEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Key Key value from the KeyboardEvent (e.g. Enter, Backspace, a).
	Key string `json:"key"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// Selector CSS selector path to the element that had focus when the key was pressed.
	Selector string `json:"selector"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Tag HTML tag name of the focused element in uppercase (e.g. INPUT, TEXTAREA, DIV).
	Tag string `json:"tag"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserInteractionKeyEventData defines model for BrowserInteractionKeyEventData.

type BrowserInteractionKeyEventType

type BrowserInteractionKeyEventType string

BrowserInteractionKeyEventType defines model for BrowserInteractionKeyEvent.Type.

const (
	InteractionKey BrowserInteractionKeyEventType = "interaction_key"
)

Defines values for BrowserInteractionKeyEventType.

func (BrowserInteractionKeyEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionKeyEventType enum.

type BrowserInteractionScrollSettledEvent

type BrowserInteractionScrollSettledEvent struct {
	Category BrowserInteractionScrollSettledEventCategory `json:"category"`
	Data     *BrowserInteractionScrollSettledEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                    `json:"ts"`
	Type BrowserInteractionScrollSettledEventType `json:"type"`
}

BrowserInteractionScrollSettledEvent A browser scroll settled event emitted after scroll position stops changing, captured via injected page script.

type BrowserInteractionScrollSettledEventCategory

type BrowserInteractionScrollSettledEventCategory string

BrowserInteractionScrollSettledEventCategory defines model for BrowserInteractionScrollSettledEvent.Category.

const (
	BrowserInteractionScrollSettledEventCategoryInteraction BrowserInteractionScrollSettledEventCategory = "interaction"
)

Defines values for BrowserInteractionScrollSettledEventCategory.

func (BrowserInteractionScrollSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserInteractionScrollSettledEventCategory enum.

type BrowserInteractionScrollSettledEventData

type BrowserInteractionScrollSettledEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// FromX Scroll x-position at the start of the scroll gesture in CSS pixels.
	FromX int `json:"from_x"`

	// FromY Scroll y-position at the start of the scroll gesture in CSS pixels.
	FromY int `json:"from_y"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetSelector CSS selector path to the scrolled element.
	TargetSelector string `json:"target_selector"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// ToX Final scroll x-position after the gesture settled in CSS pixels.
	ToX int `json:"to_x"`

	// ToY Final scroll y-position after the gesture settled in CSS pixels.
	ToY int `json:"to_y"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserInteractionScrollSettledEventData defines model for BrowserInteractionScrollSettledEventData.

type BrowserInteractionScrollSettledEventType

type BrowserInteractionScrollSettledEventType string

BrowserInteractionScrollSettledEventType defines model for BrowserInteractionScrollSettledEvent.Type.

const (
	InteractionScrollSettled BrowserInteractionScrollSettledEventType = "interaction_scroll_settled"
)

Defines values for BrowserInteractionScrollSettledEventType.

func (BrowserInteractionScrollSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserInteractionScrollSettledEventType enum.

type BrowserLiveViewConnectEvent

type BrowserLiveViewConnectEvent struct {
	// Data Per-session payload for `live_view_connect` events.
	Data *BrowserLiveViewConnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserLiveViewConnectEventType `json:"type"`
}

BrowserLiveViewConnectEvent A live view client connected to the headful browser's WebRTC server (Neko). Headful only; not emitted for headless images.

type BrowserLiveViewConnectEventData

type BrowserLiveViewConnectEventData struct {
	// SessionId Live view session identifier. Stable across reconnects, so a transient network blip can emit two events with the same `session_id`.
	SessionId string `json:"session_id"`
}

BrowserLiveViewConnectEventData Per-session payload for `live_view_connect` events.

type BrowserLiveViewConnectEventType

type BrowserLiveViewConnectEventType string

BrowserLiveViewConnectEventType defines model for BrowserLiveViewConnectEvent.Type.

const (
	LiveViewConnect BrowserLiveViewConnectEventType = "live_view_connect"
)

Defines values for BrowserLiveViewConnectEventType.

func (BrowserLiveViewConnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewConnectEventType enum.

type BrowserLiveViewDisconnectEvent

type BrowserLiveViewDisconnectEvent struct {
	// Data Per-session payload for `live_view_disconnect` events.
	Data *BrowserLiveViewDisconnectEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserLiveViewDisconnectEventType `json:"type"`
}

BrowserLiveViewDisconnectEvent A live view client disconnected from the headful browser's WebRTC server (Neko). Pair with `live_view_connect` by `session_id`.

type BrowserLiveViewDisconnectEventData

type BrowserLiveViewDisconnectEventData struct {
	// DurationMs Wall-clock duration of the connection in milliseconds.
	DurationMs float32 `json:"duration_ms"`

	// SessionId Live view session identifier; matches the corresponding `live_view_connect` event.
	SessionId string `json:"session_id"`
}

BrowserLiveViewDisconnectEventData Per-session payload for `live_view_disconnect` events.

type BrowserLiveViewDisconnectEventType

type BrowserLiveViewDisconnectEventType string

BrowserLiveViewDisconnectEventType defines model for BrowserLiveViewDisconnectEvent.Type.

const (
	LiveViewDisconnect BrowserLiveViewDisconnectEventType = "live_view_disconnect"
)

Defines values for BrowserLiveViewDisconnectEventType.

func (BrowserLiveViewDisconnectEventType) Valid

Valid indicates whether the value is a known member of the BrowserLiveViewDisconnectEventType enum.

type BrowserMonitorDisconnectedEvent

type BrowserMonitorDisconnectedEvent struct {
	Category BrowserMonitorDisconnectedEventCategory `json:"category"`
	Data     *BrowserMonitorDisconnectedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                               `json:"ts"`
	Type BrowserMonitorDisconnectedEventType `json:"type"`
}

BrowserMonitorDisconnectedEvent The CDP connection to Chrome was lost. Telemetry events may be dropped until monitor_reconnected arrives. Treat any in-progress computed state (network_idle, page_layout_settled) as unreliable until then.

type BrowserMonitorDisconnectedEventCategory

type BrowserMonitorDisconnectedEventCategory string

BrowserMonitorDisconnectedEventCategory defines model for BrowserMonitorDisconnectedEvent.Category.

const (
	BrowserMonitorDisconnectedEventCategorySystem BrowserMonitorDisconnectedEventCategory = "system"
)

Defines values for BrowserMonitorDisconnectedEventCategory.

func (BrowserMonitorDisconnectedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventCategory enum.

type BrowserMonitorDisconnectedEventData

type BrowserMonitorDisconnectedEventData struct {
	// Reason Reason for the disconnection. chrome_restarted: Chrome process restarted.
	Reason BrowserMonitorDisconnectedEventDataReason `json:"reason"`
}

BrowserMonitorDisconnectedEventData defines model for BrowserMonitorDisconnectedEventData.

type BrowserMonitorDisconnectedEventDataReason

type BrowserMonitorDisconnectedEventDataReason string

BrowserMonitorDisconnectedEventDataReason Reason for the disconnection. chrome_restarted: Chrome process restarted.

const (
	ChromeRestarted BrowserMonitorDisconnectedEventDataReason = "chrome_restarted"
)

Defines values for BrowserMonitorDisconnectedEventDataReason.

func (BrowserMonitorDisconnectedEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventDataReason enum.

type BrowserMonitorDisconnectedEventType

type BrowserMonitorDisconnectedEventType string

BrowserMonitorDisconnectedEventType defines model for BrowserMonitorDisconnectedEvent.Type.

const (
	MonitorDisconnected BrowserMonitorDisconnectedEventType = "monitor_disconnected"
)

Defines values for BrowserMonitorDisconnectedEventType.

func (BrowserMonitorDisconnectedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorDisconnectedEventType enum.

type BrowserMonitorInitFailedEvent

type BrowserMonitorInitFailedEvent struct {
	Category BrowserMonitorInitFailedEventCategory `json:"category"`
	Data     *BrowserMonitorInitFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserMonitorInitFailedEventType `json:"type"`
}

BrowserMonitorInitFailedEvent The CDP session could not be initialized.

type BrowserMonitorInitFailedEventCategory

type BrowserMonitorInitFailedEventCategory string

BrowserMonitorInitFailedEventCategory defines model for BrowserMonitorInitFailedEvent.Category.

const (
	BrowserMonitorInitFailedEventCategorySystem BrowserMonitorInitFailedEventCategory = "system"
)

Defines values for BrowserMonitorInitFailedEventCategory.

func (BrowserMonitorInitFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorInitFailedEventCategory enum.

type BrowserMonitorInitFailedEventData

type BrowserMonitorInitFailedEventData struct {
	// Step The CDP method or initialization step that failed (e.g. Target.setAutoAttach).
	Step string `json:"step"`
}

BrowserMonitorInitFailedEventData defines model for BrowserMonitorInitFailedEventData.

type BrowserMonitorInitFailedEventType

type BrowserMonitorInitFailedEventType string

BrowserMonitorInitFailedEventType defines model for BrowserMonitorInitFailedEvent.Type.

const (
	MonitorInitFailed BrowserMonitorInitFailedEventType = "monitor_init_failed"
)

Defines values for BrowserMonitorInitFailedEventType.

func (BrowserMonitorInitFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorInitFailedEventType enum.

type BrowserMonitorReconnectFailedEvent

type BrowserMonitorReconnectFailedEvent struct {
	Category BrowserMonitorReconnectFailedEventCategory `json:"category"`
	Data     *BrowserMonitorReconnectFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                  `json:"ts"`
	Type BrowserMonitorReconnectFailedEventType `json:"type"`
}

BrowserMonitorReconnectFailedEvent The CDP connection to Chrome could not be re-established after exhausting all reconnection attempts. No further telemetry events will arrive on this session.

type BrowserMonitorReconnectFailedEventCategory

type BrowserMonitorReconnectFailedEventCategory string

BrowserMonitorReconnectFailedEventCategory defines model for BrowserMonitorReconnectFailedEvent.Category.

const (
	BrowserMonitorReconnectFailedEventCategorySystem BrowserMonitorReconnectFailedEventCategory = "system"
)

Defines values for BrowserMonitorReconnectFailedEventCategory.

func (BrowserMonitorReconnectFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventCategory enum.

type BrowserMonitorReconnectFailedEventData

type BrowserMonitorReconnectFailedEventData struct {
	// Reason Reason for the reconnection failure. reconnect_exhausted: all retry attempts were used up without successfully restoring the CDP connection.
	Reason BrowserMonitorReconnectFailedEventDataReason `json:"reason"`
}

BrowserMonitorReconnectFailedEventData defines model for BrowserMonitorReconnectFailedEventData.

type BrowserMonitorReconnectFailedEventDataReason

type BrowserMonitorReconnectFailedEventDataReason string

BrowserMonitorReconnectFailedEventDataReason Reason for the reconnection failure. reconnect_exhausted: all retry attempts were used up without successfully restoring the CDP connection.

const (
	ReconnectExhausted BrowserMonitorReconnectFailedEventDataReason = "reconnect_exhausted"
)

Defines values for BrowserMonitorReconnectFailedEventDataReason.

func (BrowserMonitorReconnectFailedEventDataReason) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventDataReason enum.

type BrowserMonitorReconnectFailedEventType

type BrowserMonitorReconnectFailedEventType string

BrowserMonitorReconnectFailedEventType defines model for BrowserMonitorReconnectFailedEvent.Type.

const (
	MonitorReconnectFailed BrowserMonitorReconnectFailedEventType = "monitor_reconnect_failed"
)

Defines values for BrowserMonitorReconnectFailedEventType.

func (BrowserMonitorReconnectFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectFailedEventType enum.

type BrowserMonitorReconnectedEvent

type BrowserMonitorReconnectedEvent struct {
	Category BrowserMonitorReconnectedEventCategory `json:"category"`
	Data     *BrowserMonitorReconnectedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                              `json:"ts"`
	Type BrowserMonitorReconnectedEventType `json:"type"`
}

BrowserMonitorReconnectedEvent The CDP connection to Chrome was successfully re-established after a disconnection. Events emitted during the gap are lost. Computed state is reset, so navigation and network tracking restart fresh from this point.

type BrowserMonitorReconnectedEventCategory

type BrowserMonitorReconnectedEventCategory string

BrowserMonitorReconnectedEventCategory defines model for BrowserMonitorReconnectedEvent.Category.

const (
	BrowserMonitorReconnectedEventCategorySystem BrowserMonitorReconnectedEventCategory = "system"
)

Defines values for BrowserMonitorReconnectedEventCategory.

func (BrowserMonitorReconnectedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectedEventCategory enum.

type BrowserMonitorReconnectedEventData

type BrowserMonitorReconnectedEventData struct {
	// ReconnectDurationMs Wall-clock time in milliseconds taken to reconnect after the disconnection.
	ReconnectDurationMs int64 `json:"reconnect_duration_ms"`
}

BrowserMonitorReconnectedEventData defines model for BrowserMonitorReconnectedEventData.

type BrowserMonitorReconnectedEventType

type BrowserMonitorReconnectedEventType string

BrowserMonitorReconnectedEventType defines model for BrowserMonitorReconnectedEvent.Type.

const (
	MonitorReconnected BrowserMonitorReconnectedEventType = "monitor_reconnected"
)

Defines values for BrowserMonitorReconnectedEventType.

func (BrowserMonitorReconnectedEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorReconnectedEventType enum.

type BrowserMonitorScreenshotEvent

type BrowserMonitorScreenshotEvent struct {
	Category BrowserMonitorScreenshotEventCategory `json:"category"`
	Data     *BrowserMonitorScreenshotEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserMonitorScreenshotEventType `json:"type"`
}

BrowserMonitorScreenshotEvent A periodic screenshot of the browser viewport.

type BrowserMonitorScreenshotEventCategory

type BrowserMonitorScreenshotEventCategory string

BrowserMonitorScreenshotEventCategory defines model for BrowserMonitorScreenshotEvent.Category.

const (
	BrowserMonitorScreenshotEventCategorySystem BrowserMonitorScreenshotEventCategory = "system"
)

Defines values for BrowserMonitorScreenshotEventCategory.

func (BrowserMonitorScreenshotEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserMonitorScreenshotEventCategory enum.

type BrowserMonitorScreenshotEventData

type BrowserMonitorScreenshotEventData struct {
	// Png Base64-encoded PNG screenshot of the browser viewport.
	Png []byte `json:"png"`
}

BrowserMonitorScreenshotEventData defines model for BrowserMonitorScreenshotEventData.

type BrowserMonitorScreenshotEventType

type BrowserMonitorScreenshotEventType string

BrowserMonitorScreenshotEventType defines model for BrowserMonitorScreenshotEvent.Type.

const (
	MonitorScreenshot BrowserMonitorScreenshotEventType = "monitor_screenshot"
)

Defines values for BrowserMonitorScreenshotEventType.

func (BrowserMonitorScreenshotEventType) Valid

Valid indicates whether the value is a known member of the BrowserMonitorScreenshotEventType enum.

type BrowserNetworkIdleEvent

type BrowserNetworkIdleEvent struct {
	Category BrowserNetworkIdleEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                       `json:"ts"`
	Type BrowserNetworkIdleEventType `json:"type"`
}

BrowserNetworkIdleEvent A browser network idle event emitted after a 500ms quiet period with no in-flight HTTP requests.

type BrowserNetworkIdleEventCategory

type BrowserNetworkIdleEventCategory string

BrowserNetworkIdleEventCategory defines model for BrowserNetworkIdleEvent.Category.

const (
	BrowserNetworkIdleEventCategoryNetwork BrowserNetworkIdleEventCategory = "network"
)

Defines values for BrowserNetworkIdleEventCategory.

func (BrowserNetworkIdleEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkIdleEventCategory enum.

type BrowserNetworkIdleEventType

type BrowserNetworkIdleEventType string

BrowserNetworkIdleEventType defines model for BrowserNetworkIdleEvent.Type.

const (
	NetworkIdle BrowserNetworkIdleEventType = "network_idle"
)

Defines values for BrowserNetworkIdleEventType.

func (BrowserNetworkIdleEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkIdleEventType enum.

type BrowserNetworkLoadingFailedEvent

type BrowserNetworkLoadingFailedEvent struct {
	Category BrowserNetworkLoadingFailedEventCategory `json:"category"`
	Data     *BrowserNetworkLoadingFailedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                `json:"ts"`
	Type BrowserNetworkLoadingFailedEventType `json:"type"`
}

BrowserNetworkLoadingFailedEvent A browser network loading failed event. If the request was already in flight when CDP attached (no prior `network_request` was emitted for it), `url`, `frame_id`, `loader_id`, and `resource_type` are absent; `BrowserEventContext` is partially populated in that case.

type BrowserNetworkLoadingFailedEventCategory

type BrowserNetworkLoadingFailedEventCategory string

BrowserNetworkLoadingFailedEventCategory defines model for BrowserNetworkLoadingFailedEvent.Category.

const (
	BrowserNetworkLoadingFailedEventCategoryNetwork BrowserNetworkLoadingFailedEventCategory = "network"
)

Defines values for BrowserNetworkLoadingFailedEventCategory.

func (BrowserNetworkLoadingFailedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkLoadingFailedEventCategory enum.

type BrowserNetworkLoadingFailedEventData

type BrowserNetworkLoadingFailedEventData struct {
	// Canceled True if the request was canceled by the browser or page script.
	Canceled bool `json:"canceled"`

	// ErrorText Network error description (e.g. net::ERR_CONNECTION_REFUSED).
	ErrorText string `json:"error_text"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// RequestId CDP request identifier matching the originating network_request event.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkLoadingFailedEventData defines model for BrowserNetworkLoadingFailedEventData.

type BrowserNetworkLoadingFailedEventType

type BrowserNetworkLoadingFailedEventType string

BrowserNetworkLoadingFailedEventType defines model for BrowserNetworkLoadingFailedEvent.Type.

const (
	NetworkLoadingFailed BrowserNetworkLoadingFailedEventType = "network_loading_failed"
)

Defines values for BrowserNetworkLoadingFailedEventType.

func (BrowserNetworkLoadingFailedEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkLoadingFailedEventType enum.

type BrowserNetworkRequestEvent

type BrowserNetworkRequestEvent struct {
	Category BrowserNetworkRequestEventCategory `json:"category"`
	Data     *BrowserNetworkRequestEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserNetworkRequestEventType `json:"type"`
}

BrowserNetworkRequestEvent A browser network request sent event.

type BrowserNetworkRequestEventCategory

type BrowserNetworkRequestEventCategory string

BrowserNetworkRequestEventCategory defines model for BrowserNetworkRequestEvent.Category.

const (
	BrowserNetworkRequestEventCategoryNetwork BrowserNetworkRequestEventCategory = "network"
)

Defines values for BrowserNetworkRequestEventCategory.

func (BrowserNetworkRequestEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkRequestEventCategory enum.

type BrowserNetworkRequestEventData

type BrowserNetworkRequestEventData struct {
	// DocumentUrl URL of the document that initiated the request.
	DocumentUrl string `json:"document_url"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Headers Request headers.
	Headers BrowserHttpHeaders `json:"headers"`

	// InitiatorType CDP Initiator.type indicating what caused the request, passed through as-is from Chrome. Known values include script, parser, preload, and other.
	InitiatorType string `json:"initiator_type"`

	// IsRedirect True if this request is the result of a redirect.
	IsRedirect *bool `json:"is_redirect,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// Method HTTP method as sent on the wire (e.g. GET, POST).
	Method string `json:"method"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// PostData Request body for POST/PUT requests, if available.
	PostData *string `json:"post_data,omitempty"`

	// RedirectUrl Original URL before the redirect, present when is_redirect is true.
	RedirectUrl *string `json:"redirect_url,omitempty"`

	// RequestId CDP request identifier, unique within the session.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkRequestEventData defines model for BrowserNetworkRequestEventData.

type BrowserNetworkRequestEventType

type BrowserNetworkRequestEventType string

BrowserNetworkRequestEventType defines model for BrowserNetworkRequestEvent.Type.

const (
	NetworkRequest BrowserNetworkRequestEventType = "network_request"
)

Defines values for BrowserNetworkRequestEventType.

func (BrowserNetworkRequestEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkRequestEventType enum.

type BrowserNetworkResponseEvent

type BrowserNetworkResponseEvent struct {
	Category BrowserNetworkResponseEventCategory `json:"category"`
	Data     *BrowserNetworkResponseEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserNetworkResponseEventType `json:"type"`
}

BrowserNetworkResponseEvent A browser network response received event. Fired after the response body is fully received, not when headers arrive.

type BrowserNetworkResponseEventCategory

type BrowserNetworkResponseEventCategory string

BrowserNetworkResponseEventCategory defines model for BrowserNetworkResponseEvent.Category.

const (
	BrowserNetworkResponseEventCategoryNetwork BrowserNetworkResponseEventCategory = "network"
)

Defines values for BrowserNetworkResponseEventCategory.

func (BrowserNetworkResponseEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserNetworkResponseEventCategory enum.

type BrowserNetworkResponseEventData

type BrowserNetworkResponseEventData struct {
	// Body Truncated response body, present only for text MIME types.
	Body *string `json:"body,omitempty"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// Headers Response headers.
	Headers BrowserHttpHeaders `json:"headers"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// Method HTTP method of the original request.
	Method string `json:"method"`

	// MimeType MIME type of the response (e.g. text/html, application/json).
	MimeType *string `json:"mime_type,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// RequestId CDP request identifier matching the originating network_request event.
	RequestId string `json:"request_id"`

	// ResourceType CDP Network.ResourceType for the request, passed through as-is from Chrome. Known values include Document, Fetch, XHR, Script, Stylesheet, Image, Media, Font, TextTrack, EventSource, WebSocket, Manifest, Prefetch, Other, and more.
	ResourceType *string `json:"resource_type,omitempty"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// Status HTTP response status code.
	Status int `json:"status"`

	// StatusText HTTP response status text (e.g. OK, Not Found).
	StatusText *string `json:"status_text,omitempty"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserNetworkResponseEventData defines model for BrowserNetworkResponseEventData.

type BrowserNetworkResponseEventType

type BrowserNetworkResponseEventType string

BrowserNetworkResponseEventType defines model for BrowserNetworkResponseEvent.Type.

const (
	NetworkResponse BrowserNetworkResponseEventType = "network_response"
)

Defines values for BrowserNetworkResponseEventType.

func (BrowserNetworkResponseEventType) Valid

Valid indicates whether the value is a known member of the BrowserNetworkResponseEventType enum.

type BrowserPageDomContentLoadedEvent

type BrowserPageDomContentLoadedEvent struct {
	Category BrowserPageDomContentLoadedEventCategory `json:"category"`
	Data     *BrowserPageDomContentLoadedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                `json:"ts"`
	Type BrowserPageDomContentLoadedEventType `json:"type"`
}

BrowserPageDomContentLoadedEvent A browser DOMContentLoaded event (CDP Page.domContentEventFired).

type BrowserPageDomContentLoadedEventCategory

type BrowserPageDomContentLoadedEventCategory string

BrowserPageDomContentLoadedEventCategory defines model for BrowserPageDomContentLoadedEvent.Category.

const (
	BrowserPageDomContentLoadedEventCategoryPage BrowserPageDomContentLoadedEventCategory = "page"
)

Defines values for BrowserPageDomContentLoadedEventCategory.

func (BrowserPageDomContentLoadedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageDomContentLoadedEventCategory enum.

type BrowserPageDomContentLoadedEventData

type BrowserPageDomContentLoadedEventData struct {
	// CdpTimestamp Chrome monotonic clock value in seconds at which DOMContentLoaded fired, relative to browser process start (not Unix epoch). Use `ts` for wall-clock time.
	CdpTimestamp float32 `json:"cdp_timestamp"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageDomContentLoadedEventData defines model for BrowserPageDomContentLoadedEventData.

type BrowserPageDomContentLoadedEventType

type BrowserPageDomContentLoadedEventType string

BrowserPageDomContentLoadedEventType defines model for BrowserPageDomContentLoadedEvent.Type.

const (
	PageDomContentLoaded BrowserPageDomContentLoadedEventType = "page_dom_content_loaded"
)

Defines values for BrowserPageDomContentLoadedEventType.

func (BrowserPageDomContentLoadedEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageDomContentLoadedEventType enum.

type BrowserPageLayoutSettledEvent

type BrowserPageLayoutSettledEvent struct {
	Category BrowserPageLayoutSettledEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                             `json:"ts"`
	Type BrowserPageLayoutSettledEventType `json:"type"`
}

BrowserPageLayoutSettledEvent A browser layout settled event emitted 1 second after page load with no intervening layout shifts, indicating visual stability. Each layout shift resets the 1-second timer.

type BrowserPageLayoutSettledEventCategory

type BrowserPageLayoutSettledEventCategory string

BrowserPageLayoutSettledEventCategory defines model for BrowserPageLayoutSettledEvent.Category.

const (
	BrowserPageLayoutSettledEventCategoryPage BrowserPageLayoutSettledEventCategory = "page"
)

Defines values for BrowserPageLayoutSettledEventCategory.

func (BrowserPageLayoutSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutSettledEventCategory enum.

type BrowserPageLayoutSettledEventType

type BrowserPageLayoutSettledEventType string

BrowserPageLayoutSettledEventType defines model for BrowserPageLayoutSettledEvent.Type.

const (
	PageLayoutSettled BrowserPageLayoutSettledEventType = "page_layout_settled"
)

Defines values for BrowserPageLayoutSettledEventType.

func (BrowserPageLayoutSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutSettledEventType enum.

type BrowserPageLayoutShiftEvent

type BrowserPageLayoutShiftEvent struct {
	Category BrowserPageLayoutShiftEventCategory `json:"category"`
	Data     *BrowserPageLayoutShiftEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                           `json:"ts"`
	Type BrowserPageLayoutShiftEventType `json:"type"`
}

BrowserPageLayoutShiftEvent A browser cumulative layout shift (CLS) event from the Performance Timeline API.

type BrowserPageLayoutShiftEventCategory

type BrowserPageLayoutShiftEventCategory string

BrowserPageLayoutShiftEventCategory defines model for BrowserPageLayoutShiftEvent.Category.

const (
	BrowserPageLayoutShiftEventCategoryPage BrowserPageLayoutShiftEventCategory = "page"
)

Defines values for BrowserPageLayoutShiftEventCategory.

func (BrowserPageLayoutShiftEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutShiftEventCategory enum.

type BrowserPageLayoutShiftEventData

type BrowserPageLayoutShiftEventData struct {
	// Duration Duration of the layout shift entry in milliseconds (always 0 for layout shifts per spec).
	Duration float32 `json:"duration"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LayoutShiftDetails PerformanceLayoutShift attributes from the Performance Timeline entry.
	LayoutShiftDetails *struct {
		// HadRecentInput True if the layout shift was preceded by user input within 500ms, excluding it from CLS.
		HadRecentInput *bool `json:"had_recent_input,omitempty"`

		// Value Layout shift score for this entry (contribution to CLS).
		Value *float32 `json:"value,omitempty"`
	} `json:"layout_shift_details,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceFrameId CDP frame identifier of the frame where the layout shift occurred.
	SourceFrameId string `json:"source_frame_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Time Performance Timeline timestamp of the layout shift in milliseconds.
	Time float32 `json:"time"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLayoutShiftEventData defines model for BrowserPageLayoutShiftEventData.

type BrowserPageLayoutShiftEventType

type BrowserPageLayoutShiftEventType string

BrowserPageLayoutShiftEventType defines model for BrowserPageLayoutShiftEvent.Type.

const (
	PageLayoutShift BrowserPageLayoutShiftEventType = "page_layout_shift"
)

Defines values for BrowserPageLayoutShiftEventType.

func (BrowserPageLayoutShiftEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageLayoutShiftEventType enum.

type BrowserPageLcpEvent

type BrowserPageLcpEvent struct {
	Category BrowserPageLcpEventCategory `json:"category"`
	Data     *BrowserPageLcpEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                   `json:"ts"`
	Type BrowserPageLcpEventType `json:"type"`
}

BrowserPageLcpEvent A browser Largest Contentful Paint (LCP) event from the Performance Timeline API.

type BrowserPageLcpEventCategory

type BrowserPageLcpEventCategory string

BrowserPageLcpEventCategory defines model for BrowserPageLcpEvent.Category.

const (
	BrowserPageLcpEventCategoryPage BrowserPageLcpEventCategory = "page"
)

Defines values for BrowserPageLcpEventCategory.

func (BrowserPageLcpEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLcpEventCategory enum.

type BrowserPageLcpEventData

type BrowserPageLcpEventData struct {
	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LcpDetails LargestContentfulPaint attributes from the Performance Timeline entry.
	LcpDetails *struct {
		// ElementId id attribute of the LCP element, if present.
		ElementId *string `json:"element_id,omitempty"`

		// LoadTime Load time of the LCP element in milliseconds.
		LoadTime *float32 `json:"load_time,omitempty"`

		// NodeId CDP DOM node identifier of the LCP element.
		NodeId *int `json:"node_id,omitempty"`

		// RenderTime Render time of the LCP element in milliseconds; 0 for cross-origin images without Timing-Allow-Origin.
		RenderTime *float32 `json:"render_time,omitempty"`

		// Size Visible area of the LCP element in pixels squared.
		Size *float32 `json:"size,omitempty"`

		// Url URL of the LCP element for image or video elements.
		Url *string `json:"url,omitempty"`
	} `json:"lcp_details,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// SourceFrameId CDP frame identifier of the frame where the LCP element was rendered.
	SourceFrameId string `json:"source_frame_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Time Performance Timeline timestamp of the LCP entry in milliseconds.
	Time float32 `json:"time"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLcpEventData defines model for BrowserPageLcpEventData.

type BrowserPageLcpEventType

type BrowserPageLcpEventType string

BrowserPageLcpEventType defines model for BrowserPageLcpEvent.Type.

const (
	PageLcp BrowserPageLcpEventType = "page_lcp"
)

Defines values for BrowserPageLcpEventType.

func (BrowserPageLcpEventType) Valid

func (e BrowserPageLcpEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserPageLcpEventType enum.

type BrowserPageLoadEvent

type BrowserPageLoadEvent struct {
	Category BrowserPageLoadEventCategory `json:"category"`
	Data     *BrowserPageLoadEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                    `json:"ts"`
	Type BrowserPageLoadEventType `json:"type"`
}

BrowserPageLoadEvent A browser page load event (CDP Page.loadEventFired).

type BrowserPageLoadEventCategory

type BrowserPageLoadEventCategory string

BrowserPageLoadEventCategory defines model for BrowserPageLoadEvent.Category.

const (
	BrowserPageLoadEventCategoryPage BrowserPageLoadEventCategory = "page"
)

Defines values for BrowserPageLoadEventCategory.

func (BrowserPageLoadEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageLoadEventCategory enum.

type BrowserPageLoadEventData

type BrowserPageLoadEventData struct {
	// CdpTimestamp Chrome monotonic clock value in seconds at which the load event fired, relative to browser process start (not Unix epoch). Use `ts` for wall-clock time.
	CdpTimestamp float32 `json:"cdp_timestamp"`

	// FrameId CDP frame identifier within the target.
	FrameId *string `json:"frame_id,omitempty"`

	// LoaderId CDP document loader identifier, reset on each navigation.
	LoaderId *string `json:"loader_id,omitempty"`

	// NavSeq Monotonically increasing navigation sequence number, incremented on each top-level navigation within the target.
	NavSeq int64 `json:"nav_seq"`

	// SessionId CDP session identifier for the target connection.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier (stable across navigations within a tab).
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL relevant to this event; page URL for navigation and page events, request URL for network events.
	Url *string `json:"url,omitempty"`
}

BrowserPageLoadEventData defines model for BrowserPageLoadEventData.

type BrowserPageLoadEventType

type BrowserPageLoadEventType string

BrowserPageLoadEventType defines model for BrowserPageLoadEvent.Type.

const (
	PageLoad BrowserPageLoadEventType = "page_load"
)

Defines values for BrowserPageLoadEventType.

func (BrowserPageLoadEventType) Valid

func (e BrowserPageLoadEventType) Valid() bool

Valid indicates whether the value is a known member of the BrowserPageLoadEventType enum.

type BrowserPageNavigationEvent

type BrowserPageNavigationEvent struct {
	Category BrowserPageNavigationEventCategory `json:"category"`
	Data     *BrowserPageNavigationEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserPageNavigationEventType `json:"type"`
}

BrowserPageNavigationEvent A browser page navigation started event (CDP Page.frameNavigated). Carries nav context fields inline but not nav_seq, as this event resets the navigation epoch.

type BrowserPageNavigationEventCategory

type BrowserPageNavigationEventCategory string

BrowserPageNavigationEventCategory defines model for BrowserPageNavigationEvent.Category.

const (
	BrowserPageNavigationEventCategoryPage BrowserPageNavigationEventCategory = "page"
)

Defines values for BrowserPageNavigationEventCategory.

func (BrowserPageNavigationEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationEventCategory enum.

type BrowserPageNavigationEventData

type BrowserPageNavigationEventData struct {
	// FrameId CDP frame identifier of the navigated frame.
	FrameId string `json:"frame_id"`

	// LoaderId New CDP document loader identifier assigned for this navigation.
	LoaderId string `json:"loader_id"`

	// ParentFrameId Parent frame identifier for subframe navigations; absent for top-level navigations.
	ParentFrameId *string `json:"parent_frame_id,omitempty"`

	// SessionId CDP session identifier.
	SessionId string `json:"session_id"`

	// TargetId Browser target identifier.
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Url URL navigated to.
	Url string `json:"url"`
}

BrowserPageNavigationEventData defines model for BrowserPageNavigationEventData.

type BrowserPageNavigationEventType

type BrowserPageNavigationEventType string

BrowserPageNavigationEventType defines model for BrowserPageNavigationEvent.Type.

const (
	PageNavigation BrowserPageNavigationEventType = "page_navigation"
)

Defines values for BrowserPageNavigationEventType.

func (BrowserPageNavigationEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationEventType enum.

type BrowserPageNavigationSettledEvent

type BrowserPageNavigationSettledEvent struct {
	Category BrowserPageNavigationSettledEventCategory `json:"category"`

	// Data Browser event context stamped by the browser monitor onto all CDP-sourced events. Identifies the target, frame, and navigation epoch in which the event occurred.
	Data *BrowserEventContext `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                                 `json:"ts"`
	Type BrowserPageNavigationSettledEventType `json:"type"`
}

BrowserPageNavigationSettledEvent Emitted when page_dom_content_loaded and page_layout_settled have both fired for the same navigation, indicating the page is loaded and visually stable. Independent of network_idle; a single pending request does not block it.

type BrowserPageNavigationSettledEventCategory

type BrowserPageNavigationSettledEventCategory string

BrowserPageNavigationSettledEventCategory defines model for BrowserPageNavigationSettledEvent.Category.

const (
	BrowserPageNavigationSettledEventCategoryPage BrowserPageNavigationSettledEventCategory = "page"
)

Defines values for BrowserPageNavigationSettledEventCategory.

func (BrowserPageNavigationSettledEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationSettledEventCategory enum.

type BrowserPageNavigationSettledEventType

type BrowserPageNavigationSettledEventType string

BrowserPageNavigationSettledEventType defines model for BrowserPageNavigationSettledEvent.Type.

const (
	PageNavigationSettled BrowserPageNavigationSettledEventType = "page_navigation_settled"
)

Defines values for BrowserPageNavigationSettledEventType.

func (BrowserPageNavigationSettledEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageNavigationSettledEventType enum.

type BrowserPageTabOpenedEvent

type BrowserPageTabOpenedEvent struct {
	Category BrowserPageTabOpenedEventCategory `json:"category"`
	Data     *BrowserPageTabOpenedEventData    `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserPageTabOpenedEventType `json:"type"`
}

BrowserPageTabOpenedEvent A new browser tab or target was opened (CDP Target.attachedToTarget for page targets). Fires before a CDP session is attached to the new target, so `session_id`, `frame_id`, `loader_id`, and `nav_seq` are absent; this event does not compose `BrowserEventContext`. Consumers reading context fields generically should treat it as a special case.

type BrowserPageTabOpenedEventCategory

type BrowserPageTabOpenedEventCategory string

BrowserPageTabOpenedEventCategory defines model for BrowserPageTabOpenedEvent.Category.

const (
	BrowserPageTabOpenedEventCategoryPage BrowserPageTabOpenedEventCategory = "page"
)

Defines values for BrowserPageTabOpenedEventCategory.

func (BrowserPageTabOpenedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserPageTabOpenedEventCategory enum.

type BrowserPageTabOpenedEventData

type BrowserPageTabOpenedEventData struct {
	// OpenerId Target identifier of the tab that opened this one, if any.
	OpenerId *string `json:"opener_id,omitempty"`

	// TargetId CDP target identifier for the newly opened tab.
	TargetId string `json:"target_id"`

	// TargetType CDP target type of the page that produced the event.
	TargetType BrowserTargetType `json:"target_type"`

	// Title Initial page title of the new tab.
	Title *string `json:"title,omitempty"`

	// Url Initial URL of the new tab.
	Url string `json:"url"`
}

BrowserPageTabOpenedEventData defines model for BrowserPageTabOpenedEventData.

type BrowserPageTabOpenedEventType

type BrowserPageTabOpenedEventType string

BrowserPageTabOpenedEventType defines model for BrowserPageTabOpenedEvent.Type.

const (
	PageTabOpened BrowserPageTabOpenedEventType = "page_tab_opened"
)

Defines values for BrowserPageTabOpenedEventType.

func (BrowserPageTabOpenedEventType) Valid

Valid indicates whether the value is a known member of the BrowserPageTabOpenedEventType enum.

type BrowserServiceCrashedEvent

type BrowserServiceCrashedEvent struct {
	Category BrowserServiceCrashedEventCategory `json:"category"`

	// Data Per-crash payload for `service_crashed` events. Exit code and signal are not exposed by the underlying process manager on this channel, so only the service identity, the lifecycle phase the crash occurred in, and (when available) the PID are reported.
	Data *BrowserServiceCrashedEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                          `json:"ts"`
	Type BrowserServiceCrashedEventType `json:"type"`
}

BrowserServiceCrashedEvent A managed service exited unexpectedly. Intentional stops (e.g. operator-initiated shutdown) do not produce this event — only unexpected exits and terminal restart-give-up transitions do.

type BrowserServiceCrashedEventCategory

type BrowserServiceCrashedEventCategory string

BrowserServiceCrashedEventCategory defines model for BrowserServiceCrashedEvent.Category.

const (
	BrowserServiceCrashedEventCategorySystem BrowserServiceCrashedEventCategory = "system"
)

Defines values for BrowserServiceCrashedEventCategory.

func (BrowserServiceCrashedEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventCategory enum.

type BrowserServiceCrashedEventData

type BrowserServiceCrashedEventData struct {
	// Phase Lifecycle phase the crash occurred in. `startup` means the process died before it ever reached a healthy running state. `running` means a previously healthy process died unexpectedly. `gave_up` means the process manager exhausted its restart attempts and stopped trying; no further `service_crashed` events will fire for this service until something restarts it.
	Phase BrowserServiceCrashedEventDataPhase `json:"phase"`

	// Pid PID of the crashed process. Absent when the process manager gave up after exhausting restart attempts and is no longer tracking a live PID.
	Pid *int `json:"pid,omitempty"`

	// ServiceName Program name of the crashed service (e.g. `chromium`, `mutter`, `kernel-images-api`).
	ServiceName string `json:"service_name"`
}

BrowserServiceCrashedEventData Per-crash payload for `service_crashed` events. Exit code and signal are not exposed by the underlying process manager on this channel, so only the service identity, the lifecycle phase the crash occurred in, and (when available) the PID are reported.

type BrowserServiceCrashedEventDataPhase

type BrowserServiceCrashedEventDataPhase string

BrowserServiceCrashedEventDataPhase Lifecycle phase the crash occurred in. `startup` means the process died before it ever reached a healthy running state. `running` means a previously healthy process died unexpectedly. `gave_up` means the process manager exhausted its restart attempts and stopped trying; no further `service_crashed` events will fire for this service until something restarts it.

const (
	BrowserServiceCrashedEventDataPhaseGaveUp  BrowserServiceCrashedEventDataPhase = "gave_up"
	BrowserServiceCrashedEventDataPhaseRunning BrowserServiceCrashedEventDataPhase = "running"
	BrowserServiceCrashedEventDataPhaseStartup BrowserServiceCrashedEventDataPhase = "startup"
)

Defines values for BrowserServiceCrashedEventDataPhase.

func (BrowserServiceCrashedEventDataPhase) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventDataPhase enum.

type BrowserServiceCrashedEventType

type BrowserServiceCrashedEventType string

BrowserServiceCrashedEventType defines model for BrowserServiceCrashedEvent.Type.

const (
	ServiceCrashed BrowserServiceCrashedEventType = "service_crashed"
)

Defines values for BrowserServiceCrashedEventType.

func (BrowserServiceCrashedEventType) Valid

Valid indicates whether the value is a known member of the BrowserServiceCrashedEventType enum.

type BrowserSystemOomKillEvent

type BrowserSystemOomKillEvent struct {
	Category BrowserSystemOomKillEventCategory `json:"category"`

	// Data Per-kill payload for `system_oom_kill` events.
	Data *BrowserSystemOomKillEventData `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source BrowserEventSource `json:"source"`

	// Truncated True if the data field was truncated due to size limits.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Event timestamp in Unix microseconds.
	Ts   int64                         `json:"ts"`
	Type BrowserSystemOomKillEventType `json:"type"`
}

BrowserSystemOomKillEvent The Linux kernel OOM-killer terminated a process inside the VM. Sourced from `/dev/kmsg`. Fires for any process killed by the kernel due to memory exhaustion, including Chrome renderer subprocesses that are not supervised.

type BrowserSystemOomKillEventCategory

type BrowserSystemOomKillEventCategory string

BrowserSystemOomKillEventCategory defines model for BrowserSystemOomKillEvent.Category.

const (
	System BrowserSystemOomKillEventCategory = "system"
)

Defines values for BrowserSystemOomKillEventCategory.

func (BrowserSystemOomKillEventCategory) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventCategory enum.

type BrowserSystemOomKillEventData

type BrowserSystemOomKillEventData struct {
	// Constraint Why the kernel decided to OOM-kill. `none` means global memory exhaustion; `memcg` means a cgroup memory limit was hit; `cpuset` / `memory_policy` are NUMA/policy-driven kills. Absent on kernels older than 5.0 which did not emit the structured `oom-kill:` line.
	Constraint *BrowserSystemOomKillEventDataConstraint `json:"constraint,omitempty"`

	// MemFreeKb Free system memory in KiB at the time of the kill, derived from the `free:N` field in the kernel's Mem-Info dump. Assumes a 4 KiB page size. Does not include reclaimable caches, so a small value with a large `mem_total_kb` may still mean the system was not under hard pressure. Absent if the kernel did not emit a parseable Mem-Info section.
	MemFreeKb *int `json:"mem_free_kb,omitempty"`

	// MemTotalKb Total system memory in KiB at the time of the kill, derived from the `N pages RAM` line in the kernel's Mem-Info dump. Assumes a 4 KiB page size. Absent if the kernel did not emit a parseable Mem-Info section.
	MemTotalKb *int `json:"mem_total_kb,omitempty"`

	// Pid PID of the killed process.
	Pid int `json:"pid"`

	// ProcessName Comm of the killed process as reported by the kernel (max 15 chars, truncated by the kernel).
	ProcessName string `json:"process_name"`

	// RssKb Resident set size of the killed process in KiB (sum of anon-rss, file-rss, and shmem-rss). This is the physical memory the process was using at the time of the kill.
	RssKb int `json:"rss_kb"`

	// TopTasks Top processes by resident-set-size at the moment of the kill, sorted descending. Sourced from the kernel's `Tasks state` table. Empty if the kernel did not emit the table. Capped at 5 entries to bound payload size.
	TopTasks *[]BrowserSystemOomKillTask `json:"top_tasks,omitempty"`

	// TriggerPid PID of the triggering process. Absent if the kernel did not emit the standard `CPU: N PID: N Comm:` header line.
	TriggerPid *int `json:"trigger_pid,omitempty"`

	// TriggerProcessName Comm of the process whose allocation request caused the kernel to invoke the OOM-killer. Often the same as `process_name` (the kernel killed the requester) but can differ when the kernel chose a different victim. Max 15 chars, truncated by the kernel.
	TriggerProcessName *string `json:"trigger_process_name,omitempty"`
}

BrowserSystemOomKillEventData Per-kill payload for `system_oom_kill` events.

type BrowserSystemOomKillEventDataConstraint

type BrowserSystemOomKillEventDataConstraint string

BrowserSystemOomKillEventDataConstraint Why the kernel decided to OOM-kill. `none` means global memory exhaustion; `memcg` means a cgroup memory limit was hit; `cpuset` / `memory_policy` are NUMA/policy-driven kills. Absent on kernels older than 5.0 which did not emit the structured `oom-kill:` line.

Defines values for BrowserSystemOomKillEventDataConstraint.

func (BrowserSystemOomKillEventDataConstraint) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventDataConstraint enum.

type BrowserSystemOomKillEventType

type BrowserSystemOomKillEventType string

BrowserSystemOomKillEventType defines model for BrowserSystemOomKillEvent.Type.

const (
	SystemOomKill BrowserSystemOomKillEventType = "system_oom_kill"
)

Defines values for BrowserSystemOomKillEventType.

func (BrowserSystemOomKillEventType) Valid

Valid indicates whether the value is a known member of the BrowserSystemOomKillEventType enum.

type BrowserSystemOomKillTask

type BrowserSystemOomKillTask struct {
	// Name Comm of the process (max 15 chars, truncated by the kernel).
	Name string `json:"name"`

	// Pid PID of the process.
	Pid int `json:"pid"`

	// RssKb Resident set size in KiB at the moment of the kill.
	RssKb int `json:"rss_kb"`
}

BrowserSystemOomKillTask A single process entry from the kernel's `Tasks state` dump.

type BrowserTargetType

type BrowserTargetType string

BrowserTargetType CDP target type of the page that produced the event.

const (
	BrowserTargetTypeBackgroundPage BrowserTargetType = "background_page"
	BrowserTargetTypeOther          BrowserTargetType = "other"
	BrowserTargetTypePage           BrowserTargetType = "page"
	BrowserTargetTypeServiceWorker  BrowserTargetType = "service_worker"
	BrowserTargetTypeSharedWorker   BrowserTargetType = "shared_worker"
)

Defines values for BrowserTargetType.

func (BrowserTargetType) Valid

func (e BrowserTargetType) Valid() bool

Valid indicates whether the value is a known member of the BrowserTargetType enum.

type BrowserTelemetryCategoriesConfig

type BrowserTelemetryCategoriesConfig struct {
	// Api Kernel-image-layer activity that the customer drives: inbound API calls to the kernel-images-api server and extension-mediated captcha solve attempts. CDP proxy and live view session lifecycle events are infrastructure and live in the always-on `system` category.
	Api *BrowserTelemetryCategoryConfig `json:"api,omitempty"`

	// Console Console output (log, warn, error) and uncaught exceptions.
	Console *BrowserTelemetryCategoryConfig `json:"console,omitempty"`

	// Interaction User interaction events (clicks, keydowns, scroll).
	Interaction *BrowserTelemetryCategoryConfig `json:"interaction,omitempty"`

	// Network HTTP request/response metadata.
	Network *BrowserTelemetryCategoryConfig `json:"network,omitempty"`

	// Page Page lifecycle events (navigation, load, layout shifts, LCP).
	Page *BrowserTelemetryCategoryConfig `json:"page,omitempty"`
}

BrowserTelemetryCategoriesConfig Per-category telemetry capture settings for browser events.

type BrowserTelemetryCategoryConfig

type BrowserTelemetryCategoryConfig struct {
	// Enabled Whether this category is captured. In PUT requests, omitting this field defaults to true (category enabled). In PATCH requests, omitting this field (or sending an empty object `{}`) is a no-op; the category retains its current state. To enable or disable a category via PATCH, you must send an explicit `true` or `false`.
	Enabled *bool `json:"enabled,omitempty"`
}

BrowserTelemetryCategoryConfig Configuration for a single telemetry category.

type BrowserTelemetryConfig

type BrowserTelemetryConfig struct {
	// Browser Per-category telemetry capture settings for browser events.
	Browser *BrowserTelemetryCategoriesConfig `json:"browser,omitempty"`
}

BrowserTelemetryConfig Telemetry configuration for a browser. Per-category capture settings. Omit a category or set enabled: true to capture it. Set enabled: false to exclude it. Omit the browser key entirely to capture all categories. Set all five categories to enabled: false to clear the telemetry configuration.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type ChromiumConfigure200JSONResponse

type ChromiumConfigure200JSONResponse OkResponse

func (ChromiumConfigure200JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure200JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure400JSONResponse

type ChromiumConfigure400JSONResponse struct{ BadRequestErrorJSONResponse }

func (ChromiumConfigure400JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure400JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure409JSONResponse

type ChromiumConfigure409JSONResponse struct{ ConflictErrorJSONResponse }

func (ChromiumConfigure409JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure409JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigure500JSONResponse

type ChromiumConfigure500JSONResponse ChromiumConfigureError

func (ChromiumConfigure500JSONResponse) VisitChromiumConfigureResponse

func (response ChromiumConfigure500JSONResponse) VisitChromiumConfigureResponse(w http.ResponseWriter) error

type ChromiumConfigureError

type ChromiumConfigureError struct {
	Message string `json:"message"`

	// Phase configure_phase maps to restart/filesystem/policy/extension/profile/display work; navigate_phase is retained for compatibility.
	Phase ChromiumConfigureErrorPhase `json:"phase"`

	// Step Optional configure step that failed.
	Step *ChromiumConfigureErrorStep `json:"step,omitempty"`
}

ChromiumConfigureError Failure from batched chromium configure — includes which phase failed.

type ChromiumConfigureErrorPhase

type ChromiumConfigureErrorPhase string

ChromiumConfigureErrorPhase configure_phase maps to restart/filesystem/policy/extension/profile/display work; navigate_phase is retained for compatibility.

const (
	ConfigurePhase ChromiumConfigureErrorPhase = "configure_phase"
	NavigatePhase  ChromiumConfigureErrorPhase = "navigate_phase"
)

Defines values for ChromiumConfigureErrorPhase.

func (ChromiumConfigureErrorPhase) Valid

Valid indicates whether the value is a known member of the ChromiumConfigureErrorPhase enum.

type ChromiumConfigureErrorStep

type ChromiumConfigureErrorStep string

ChromiumConfigureErrorStep Optional configure step that failed.

const (
	ChromePolicies ChromiumConfigureErrorStep = "chrome_policies"
	ChromiumFlags  ChromiumConfigureErrorStep = "chromium_flags"
	Display        ChromiumConfigureErrorStep = "display"
	Extensions     ChromiumConfigureErrorStep = "extensions"
	Profile        ChromiumConfigureErrorStep = "profile"
	StartChromium  ChromiumConfigureErrorStep = "start_chromium"
	StopChromium   ChromiumConfigureErrorStep = "stop_chromium"
)

Defines values for ChromiumConfigureErrorStep.

func (ChromiumConfigureErrorStep) Valid

func (e ChromiumConfigureErrorStep) Valid() bool

Valid indicates whether the value is a known member of the ChromiumConfigureErrorStep enum.

type ChromiumConfigureMultipartBody

type ChromiumConfigureMultipartBody struct {
	// ChromePolicies UTF-8 JSON policy override map — same semantics as PATCH /chromium/policies.
	ChromePolicies *string `json:"chrome_policies,omitempty"`

	// ChromiumFlags UTF-8 JSON object `{"flags":["--kiosk"]}` — same semantics as PATCH /chromium/flags.
	ChromiumFlags *string `json:"chromium_flags,omitempty"`

	// Display UTF-8 JSON object matching `#/components/schemas/PatchDisplayRequest` (width/height/etc.). When combined with restart-triggering fields, the resize is applied while Chromium is stopped and Chromium is started once at the end.
	Display *string `json:"display,omitempty"`

	// Extensions Extension zips paired with consecutive extensions.name fields (same as upload-extensions-and-restart).
	Extensions *[]struct {
		Name    string             `json:"name"`
		ZipFile openapi_types.File `json:"zip_file"`
	} `json:"extensions,omitempty"`

	// ProfileArchive tar.zst archive containing the desired `/home/kernel/user-data` profile contents. Prefer archives whose root entries are the profile files/directories themselves (for example `Default/Preferences`). Use `strip_components` only when uploading an archive that includes leading wrapper directories.
	ProfileArchive *openapi_types.File `json:"profile_archive,omitempty"`

	// StartUrl URL text to navigate after configure. Bare hosts are normalized to https://, length is capped at 2048 bytes, and Chrome decides which schemes are navigable.
	StartUrl *string `json:"start_url,omitempty"`

	// StripComponents Optional number of leading path components to strip from profile_archive entries (non-negative integer as text).
	StripComponents *string `json:"strip_components,omitempty"`
}

ChromiumConfigureMultipartBody defines parameters for ChromiumConfigure.

type ChromiumConfigureMultipartRequestBody

type ChromiumConfigureMultipartRequestBody ChromiumConfigureMultipartBody

ChromiumConfigureMultipartRequestBody defines body for ChromiumConfigure for multipart/form-data ContentType.

type ChromiumConfigureRequestObject

type ChromiumConfigureRequestObject struct {
	Body *multipart.Reader
}

type ChromiumConfigureResponse

type ChromiumConfigureResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *OkResponse
	JSON400      *BadRequestError
	JSON409      *ConflictError
	JSON500      *ChromiumConfigureError
}

func ParseChromiumConfigureResponse

func ParseChromiumConfigureResponse(rsp *http.Response) (*ChromiumConfigureResponse, error)

ParseChromiumConfigureResponse parses an HTTP response from a ChromiumConfigureWithResponse call

func (ChromiumConfigureResponse) Status

func (r ChromiumConfigureResponse) Status() string

Status returns HTTPResponse.Status

func (ChromiumConfigureResponse) StatusCode

func (r ChromiumConfigureResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ChromiumConfigureResponseObject

type ChromiumConfigureResponseObject interface {
	VisitChromiumConfigureResponse(w http.ResponseWriter) 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.

func (ClickMouseRequestButton) Valid

func (e ClickMouseRequestButton) Valid() bool

Valid indicates whether the value is a known member of the ClickMouseRequestButton enum.

type ClickMouseRequestClickType

type ClickMouseRequestClickType string

ClickMouseRequestClickType Type of click action

const (
	Click ClickMouseRequestClickType = "click"
	Down  ClickMouseRequestClickType = "down"
	Up    ClickMouseRequestClickType = "up"
)

Defines values for ClickMouseRequestClickType.

func (ClickMouseRequestClickType) Valid

func (e ClickMouseRequestClickType) Valid() bool

Valid indicates whether the value is a known member of the ClickMouseRequestClickType enum.

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) BatchComputerAction

func (c *Client) BatchComputerAction(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BatchComputerActionWithBody

func (c *Client) BatchComputerActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ChromiumConfigureWithBody

func (c *Client) ChromiumConfigureWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClickMouse

func (c *Client) ClickMouse(ctx context.Context, body ClickMouseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ClickMouseWithBody

func (c *Client) ClickMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDirectory

func (c *Client) CreateDirectory(ctx context.Context, body CreateDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDirectoryWithBody

func (c *Client) CreateDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDirectory

func (c *Client) DeleteDirectory(ctx context.Context, body DeleteDirectoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDirectoryWithBody

func (c *Client) DeleteDirectoryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFile

func (c *Client) DeleteFile(ctx context.Context, body DeleteFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFileWithBody

func (c *Client) DeleteFileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRecording

func (c *Client) DeleteRecording(ctx context.Context, body DeleteRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRecordingWithBody

func (c *Client) DeleteRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DisableScaleToZero

func (c *Client) DisableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadDirZip

func (c *Client) DownloadDirZip(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadDirZstd

func (c *Client) DownloadDirZstd(ctx context.Context, params *DownloadDirZstdParams, 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 (c *Client) DragMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EnableScaleToZero

func (c *Client) EnableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExecutePlaywrightCode

func (c *Client) ExecutePlaywrightCode(ctx context.Context, body ExecutePlaywrightCodeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ExecutePlaywrightCodeWithBody

func (c *Client) ExecutePlaywrightCodeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) FileInfo

func (c *Client) FileInfo(ctx context.Context, params *FileInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMousePosition

func (c *Client) GetMousePosition(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTelemetry

func (c *Client) GetTelemetry(ctx context.Context, 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 (c *Client) ListRecorders(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) MoveMouseWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MovePath

func (c *Client) MovePath(ctx context.Context, body MovePathJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MovePathWithBody

func (c *Client) MovePathWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumFlags

func (c *Client) PatchChromiumFlags(ctx context.Context, body PatchChromiumFlagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumFlagsWithBody

func (c *Client) PatchChromiumFlagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumPolicies

func (c *Client) PatchChromiumPolicies(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchChromiumPoliciesWithBody

func (c *Client) PatchChromiumPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDisplay

func (c *Client) PatchDisplay(ctx context.Context, body PatchDisplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchDisplayWithBody

func (c *Client) PatchDisplayWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTelemetry

func (c *Client) PatchTelemetry(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PatchTelemetryWithBody

func (c *Client) PatchTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PressKey

func (c *Client) PressKey(ctx context.Context, body PressKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PressKeyWithBody

func (c *Client) PressKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessExec

func (c *Client) ProcessExec(ctx context.Context, body ProcessExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessExecWithBody

func (c *Client) ProcessExecWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) ProcessKillWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) ProcessResizeWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessSpawn

func (c *Client) ProcessSpawn(ctx context.Context, body ProcessSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessSpawnWithBody

func (c *Client) ProcessSpawnWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) ProcessStdinWithBody(ctx context.Context, processId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ProcessStdoutStream

func (c *Client) ProcessStdoutStream(ctx context.Context, processId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PublishTelemetryEvent

func (c *Client) PublishTelemetryEvent(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PublishTelemetryEventWithBody

func (c *Client) PublishTelemetryEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTelemetry

func (c *Client) PutTelemetry(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutTelemetryWithBody

func (c *Client) PutTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadClipboard

func (c *Client) ReadClipboard(ctx context.Context, 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 (c *Client) ScrollWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCursor

func (c *Client) SetCursor(ctx context.Context, body SetCursorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetCursorWithBody

func (c *Client) SetCursorWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetFilePermissions

func (c *Client) SetFilePermissions(ctx context.Context, body SetFilePermissionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetFilePermissionsWithBody

func (c *Client) SetFilePermissionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartFsWatch

func (c *Client) StartFsWatch(ctx context.Context, body StartFsWatchJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartFsWatchWithBody

func (c *Client) StartFsWatchWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRecording

func (c *Client) StartRecording(ctx context.Context, body StartRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartRecordingWithBody

func (c *Client) StartRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopFsWatch

func (c *Client) StopFsWatch(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopRecording

func (c *Client) StopRecording(ctx context.Context, body StopRecordingJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopRecordingWithBody

func (c *Client) StopRecordingWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamFsEvents

func (c *Client) StreamFsEvents(ctx context.Context, watchId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StreamTelemetryEvents

func (c *Client) StreamTelemetryEvents(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TakeScreenshot

func (c *Client) TakeScreenshot(ctx context.Context, body TakeScreenshotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TakeScreenshotWithBody

func (c *Client) TakeScreenshotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TypeText

func (c *Client) TypeText(ctx context.Context, body TypeTextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TypeTextWithBody

func (c *Client) TypeTextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadExtensionsAndRestartWithBody

func (c *Client) UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadFilesWithBody

func (c *Client) UploadFilesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadZipWithBody

func (c *Client) UploadZipWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadZstdWithBody

func (c *Client) UploadZstdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteClipboard

func (c *Client) WriteClipboard(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteClipboardWithBody

func (c *Client) WriteClipboardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WriteFileWithBody

func (c *Client) WriteFileWithBody(ctx context.Context, params *WriteFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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)

	// PatchChromiumPoliciesWithBody request with any body
	PatchChromiumPoliciesWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchChromiumPolicies(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadExtensionsAndRestartWithBody request with any body
	UploadExtensionsAndRestartWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// BatchComputerActionWithBody request with any body
	BatchComputerActionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	BatchComputerAction(ctx context.Context, body BatchComputerActionJSONRequestBody, 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)

	// ReadClipboard request
	ReadClipboard(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WriteClipboardWithBody request with any body
	WriteClipboardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WriteClipboard(ctx context.Context, body WriteClipboardJSONRequestBody, 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)

	// GetMousePosition request
	GetMousePosition(ctx context.Context, 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)

	// ChromiumConfigureWithBody request with any body
	ChromiumConfigureWithBody(ctx context.Context, contentType string, body io.Reader, 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)

	// DownloadDirZstd request
	DownloadDirZstd(ctx context.Context, params *DownloadDirZstdParams, 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)

	// UploadZstdWithBody request with any body
	UploadZstdWithBody(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)

	// DisableScaleToZero request
	DisableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EnableScaleToZero request
	EnableScaleToZero(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTelemetry request
	GetTelemetry(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PatchTelemetryWithBody request with any body
	PatchTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PatchTelemetry(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutTelemetryWithBody request with any body
	PutTelemetryWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutTelemetry(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PublishTelemetryEventWithBody request with any body
	PublishTelemetryEventWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PublishTelemetryEvent(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StreamTelemetryEvents request
	StreamTelemetryEvents(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) BatchComputerActionWithBodyWithResponse

func (c *ClientWithResponses) BatchComputerActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

BatchComputerActionWithBodyWithResponse request with arbitrary body returning *BatchComputerActionResponse

func (*ClientWithResponses) BatchComputerActionWithResponse

func (c *ClientWithResponses) BatchComputerActionWithResponse(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

func (*ClientWithResponses) ChromiumConfigureWithBodyWithResponse

func (c *ClientWithResponses) ChromiumConfigureWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChromiumConfigureResponse, error)

ChromiumConfigureWithBodyWithResponse request with arbitrary body returning *ChromiumConfigureResponse

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) DisableScaleToZeroWithResponse

func (c *ClientWithResponses) DisableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisableScaleToZeroResponse, error)

DisableScaleToZeroWithResponse request returning *DisableScaleToZeroResponse

func (*ClientWithResponses) DownloadDirZipWithResponse

func (c *ClientWithResponses) DownloadDirZipWithResponse(ctx context.Context, params *DownloadDirZipParams, reqEditors ...RequestEditorFn) (*DownloadDirZipResponse, error)

DownloadDirZipWithResponse request returning *DownloadDirZipResponse

func (*ClientWithResponses) DownloadDirZstdWithResponse

func (c *ClientWithResponses) DownloadDirZstdWithResponse(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*DownloadDirZstdResponse, error)

DownloadDirZstdWithResponse request returning *DownloadDirZstdResponse

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) EnableScaleToZeroWithResponse

func (c *ClientWithResponses) EnableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnableScaleToZeroResponse, error)

EnableScaleToZeroWithResponse request returning *EnableScaleToZeroResponse

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) GetMousePositionWithResponse

func (c *ClientWithResponses) GetMousePositionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMousePositionResponse, error)

GetMousePositionWithResponse request returning *GetMousePositionResponse

func (*ClientWithResponses) GetTelemetryWithResponse

func (c *ClientWithResponses) GetTelemetryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTelemetryResponse, error)

GetTelemetryWithResponse request returning *GetTelemetryResponse

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) PatchChromiumPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PatchChromiumPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

PatchChromiumPoliciesWithBodyWithResponse request with arbitrary body returning *PatchChromiumPoliciesResponse

func (*ClientWithResponses) PatchChromiumPoliciesWithResponse

func (c *ClientWithResponses) PatchChromiumPoliciesWithResponse(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, 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) PatchTelemetryWithBodyWithResponse

func (c *ClientWithResponses) PatchTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

PatchTelemetryWithBodyWithResponse request with arbitrary body returning *PatchTelemetryResponse

func (*ClientWithResponses) PatchTelemetryWithResponse

func (c *ClientWithResponses) PatchTelemetryWithResponse(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, 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) PublishTelemetryEventWithBodyWithResponse

func (c *ClientWithResponses) PublishTelemetryEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

PublishTelemetryEventWithBodyWithResponse request with arbitrary body returning *PublishTelemetryEventResponse

func (*ClientWithResponses) PublishTelemetryEventWithResponse

func (c *ClientWithResponses) PublishTelemetryEventWithResponse(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

func (*ClientWithResponses) PutTelemetryWithBodyWithResponse

func (c *ClientWithResponses) PutTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

PutTelemetryWithBodyWithResponse request with arbitrary body returning *PutTelemetryResponse

func (*ClientWithResponses) PutTelemetryWithResponse

func (c *ClientWithResponses) PutTelemetryWithResponse(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

func (*ClientWithResponses) ReadClipboardWithResponse

func (c *ClientWithResponses) ReadClipboardWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadClipboardResponse, error)

ReadClipboardWithResponse request returning *ReadClipboardResponse

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) StreamTelemetryEventsWithResponse

func (c *ClientWithResponses) StreamTelemetryEventsWithResponse(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*StreamTelemetryEventsResponse, error)

StreamTelemetryEventsWithResponse request returning *StreamTelemetryEventsResponse

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) UploadZstdWithBodyWithResponse

func (c *ClientWithResponses) UploadZstdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZstdResponse, error)

UploadZstdWithBodyWithResponse request with arbitrary body returning *UploadZstdResponse

func (*ClientWithResponses) WriteClipboardWithBodyWithResponse

func (c *ClientWithResponses) WriteClipboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

WriteClipboardWithBodyWithResponse request with arbitrary body returning *WriteClipboardResponse

func (*ClientWithResponses) WriteClipboardWithResponse

func (c *ClientWithResponses) WriteClipboardWithResponse(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

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)

	// PatchChromiumPoliciesWithBodyWithResponse request with any body
	PatchChromiumPoliciesWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

	PatchChromiumPoliciesWithResponse(ctx context.Context, body PatchChromiumPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChromiumPoliciesResponse, error)

	// UploadExtensionsAndRestartWithBodyWithResponse request with any body
	UploadExtensionsAndRestartWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadExtensionsAndRestartResponse, error)

	// BatchComputerActionWithBodyWithResponse request with any body
	BatchComputerActionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, error)

	BatchComputerActionWithResponse(ctx context.Context, body BatchComputerActionJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchComputerActionResponse, 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)

	// ReadClipboardWithResponse request
	ReadClipboardWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadClipboardResponse, error)

	// WriteClipboardWithBodyWithResponse request with any body
	WriteClipboardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, error)

	WriteClipboardWithResponse(ctx context.Context, body WriteClipboardJSONRequestBody, reqEditors ...RequestEditorFn) (*WriteClipboardResponse, 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)

	// GetMousePositionWithResponse request
	GetMousePositionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMousePositionResponse, 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)

	// ChromiumConfigureWithBodyWithResponse request with any body
	ChromiumConfigureWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ChromiumConfigureResponse, 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)

	// DownloadDirZstdWithResponse request
	DownloadDirZstdWithResponse(ctx context.Context, params *DownloadDirZstdParams, reqEditors ...RequestEditorFn) (*DownloadDirZstdResponse, 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)

	// UploadZstdWithBodyWithResponse request with any body
	UploadZstdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadZstdResponse, 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)

	// DisableScaleToZeroWithResponse request
	DisableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisableScaleToZeroResponse, error)

	// EnableScaleToZeroWithResponse request
	EnableScaleToZeroWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*EnableScaleToZeroResponse, error)

	// GetTelemetryWithResponse request
	GetTelemetryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTelemetryResponse, error)

	// PatchTelemetryWithBodyWithResponse request with any body
	PatchTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

	PatchTelemetryWithResponse(ctx context.Context, body PatchTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchTelemetryResponse, error)

	// PutTelemetryWithBodyWithResponse request with any body
	PutTelemetryWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

	PutTelemetryWithResponse(ctx context.Context, body PutTelemetryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutTelemetryResponse, error)

	// PublishTelemetryEventWithBodyWithResponse request with any body
	PublishTelemetryEventWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

	PublishTelemetryEventWithResponse(ctx context.Context, body PublishTelemetryEventJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishTelemetryEventResponse, error)

	// StreamTelemetryEventsWithResponse request
	StreamTelemetryEventsWithResponse(ctx context.Context, params *StreamTelemetryEventsParams, reqEditors ...RequestEditorFn) (*StreamTelemetryEventsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ClipboardContent

type ClipboardContent struct {
	// Text Current clipboard text content
	Text string `json:"text"`
}

ClipboardContent defines model for ClipboardContent.

type ComputerAction

type ComputerAction struct {
	ClickMouse *ClickMouseRequest `json:"click_mouse,omitempty"`
	DragMouse  *DragMouseRequest  `json:"drag_mouse,omitempty"`
	MoveMouse  *MoveMouseRequest  `json:"move_mouse,omitempty"`
	PressKey   *PressKeyRequest   `json:"press_key,omitempty"`
	Scroll     *ScrollRequest     `json:"scroll,omitempty"`
	SetCursor  *SetCursorRequest  `json:"set_cursor,omitempty"`

	// Sleep Pause execution for a specified duration.
	Sleep *SleepAction `json:"sleep,omitempty"`

	// Type The type of action to perform.
	Type     ComputerActionType `json:"type"`
	TypeText *TypeTextRequest   `json:"type_text,omitempty"`
}

ComputerAction A single computer action to execute as part of a batch. The `type` field selects which action to perform, and the corresponding field contains the action parameters. Exactly one action field matching the type must be provided.

type ComputerActionType

type ComputerActionType string

ComputerActionType The type of action to perform.

const (
	ClickMouse ComputerActionType = "click_mouse"
	DragMouse  ComputerActionType = "drag_mouse"
	MoveMouse  ComputerActionType = "move_mouse"
	PressKey   ComputerActionType = "press_key"
	Scroll     ComputerActionType = "scroll"
	SetCursor  ComputerActionType = "set_cursor"
	Sleep      ComputerActionType = "sleep"
	TypeText   ComputerActionType = "type_text"
)

Defines values for ComputerActionType.

func (ComputerActionType) Valid

func (e ComputerActionType) Valid() bool

Valid indicates whether the value is a known member of the ComputerActionType enum.

type ConflictError

type ConflictError = Error

ConflictError defines model for ConflictError.

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 DisableScaleToZero204Response

type DisableScaleToZero204Response struct {
}

func (DisableScaleToZero204Response) VisitDisableScaleToZeroResponse

func (response DisableScaleToZero204Response) VisitDisableScaleToZeroResponse(w http.ResponseWriter) error

type DisableScaleToZero500JSONResponse

type DisableScaleToZero500JSONResponse struct{ InternalErrorJSONResponse }

func (DisableScaleToZero500JSONResponse) VisitDisableScaleToZeroResponse

func (response DisableScaleToZero500JSONResponse) VisitDisableScaleToZeroResponse(w http.ResponseWriter) error

type DisableScaleToZeroRequestObject

type DisableScaleToZeroRequestObject struct {
}

type DisableScaleToZeroResponse

type DisableScaleToZeroResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *InternalError
}

func ParseDisableScaleToZeroResponse

func ParseDisableScaleToZeroResponse(rsp *http.Response) (*DisableScaleToZeroResponse, error)

ParseDisableScaleToZeroResponse parses an HTTP response from a DisableScaleToZeroWithResponse call

func (DisableScaleToZeroResponse) Status

Status returns HTTPResponse.Status

func (DisableScaleToZeroResponse) StatusCode

func (r DisableScaleToZeroResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DisableScaleToZeroResponseObject

type DisableScaleToZeroResponseObject interface {
	VisitDisableScaleToZeroResponse(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

type DownloadDirZip200ApplicationzipResponse struct {
	Body          io.Reader
	ContentLength int64
}

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 DownloadDirZstd200ApplicationzstdResponse

type DownloadDirZstd200ApplicationzstdResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (DownloadDirZstd200ApplicationzstdResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd200ApplicationzstdResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd400JSONResponse

type DownloadDirZstd400JSONResponse struct{ BadRequestErrorJSONResponse }

func (DownloadDirZstd400JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd400JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd404JSONResponse

type DownloadDirZstd404JSONResponse struct{ NotFoundErrorJSONResponse }

func (DownloadDirZstd404JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd404JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstd500JSONResponse

type DownloadDirZstd500JSONResponse struct{ InternalErrorJSONResponse }

func (DownloadDirZstd500JSONResponse) VisitDownloadDirZstdResponse

func (response DownloadDirZstd500JSONResponse) VisitDownloadDirZstdResponse(w http.ResponseWriter) error

type DownloadDirZstdParams

type DownloadDirZstdParams struct {
	// Path Absolute directory path to archive and download.
	Path string `form:"path" json:"path"`

	// CompressionLevel Compression level. Higher levels produce smaller archives but take longer.
	// - fastest: ~zstd level 1, maximum speed (~300-500 MB/s)
	// - default: ~zstd level 3, balanced speed/ratio (~150 MB/s)
	// - better: ~zstd level 7, better ratio (~50-80 MB/s)
	// - best: ~zstd level 11, best ratio (~20-40 MB/s)
	CompressionLevel *DownloadDirZstdParamsCompressionLevel `form:"compression_level,omitempty" json:"compression_level,omitempty"`
}

DownloadDirZstdParams defines parameters for DownloadDirZstd.

type DownloadDirZstdParamsCompressionLevel

type DownloadDirZstdParamsCompressionLevel string

DownloadDirZstdParamsCompressionLevel defines parameters for DownloadDirZstd.

Defines values for DownloadDirZstdParamsCompressionLevel.

func (DownloadDirZstdParamsCompressionLevel) Valid

Valid indicates whether the value is a known member of the DownloadDirZstdParamsCompressionLevel enum.

type DownloadDirZstdRequestObject

type DownloadDirZstdRequestObject struct {
	Params DownloadDirZstdParams
}

type DownloadDirZstdResponse

type DownloadDirZstdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseDownloadDirZstdResponse

func ParseDownloadDirZstdResponse(rsp *http.Response) (*DownloadDirZstdResponse, error)

ParseDownloadDirZstdResponse parses an HTTP response from a DownloadDirZstdWithResponse call

func (DownloadDirZstdResponse) Status

func (r DownloadDirZstdResponse) Status() string

Status returns HTTPResponse.Status

func (DownloadDirZstdResponse) StatusCode

func (r DownloadDirZstdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadDirZstdResponseObject

type DownloadDirZstdResponseObject interface {
	VisitDownloadDirZstdResponse(w http.ResponseWriter) error
}

type DownloadRecording200ResponseHeaders

type DownloadRecording200ResponseHeaders struct {
	XRecordingFinishedAt string
	XRecordingStartedAt  string
}

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"`

	// DurationMs Target total duration in milliseconds for the entire drag movement when smooth=true. Omit for automatic timing based on total path length.
	DurationMs *int `json:"duration_ms,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"`

	// Smooth Use human-like Bezier curves between path waypoints instead of linear interpolation. When true, steps_per_segment and step_delay_ms are ignored.
	Smooth *bool `json:"smooth,omitempty"`

	// StepDelayMs Delay in milliseconds between relative steps while dragging. Ignored when smooth=true.
	StepDelayMs *int `json:"step_delay_ms,omitempty"`

	// StepsPerSegment Number of relative move steps per segment in the path. Ignored when smooth=true. 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.

func (DragMouseRequestButton) Valid

func (e DragMouseRequestButton) Valid() bool

Valid indicates whether the value is a known member of the DragMouseRequestButton enum.

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 EnableScaleToZero204Response

type EnableScaleToZero204Response struct {
}

func (EnableScaleToZero204Response) VisitEnableScaleToZeroResponse

func (response EnableScaleToZero204Response) VisitEnableScaleToZeroResponse(w http.ResponseWriter) error

type EnableScaleToZero500JSONResponse

type EnableScaleToZero500JSONResponse struct{ InternalErrorJSONResponse }

func (EnableScaleToZero500JSONResponse) VisitEnableScaleToZeroResponse

func (response EnableScaleToZero500JSONResponse) VisitEnableScaleToZeroResponse(w http.ResponseWriter) error

type EnableScaleToZeroRequestObject

type EnableScaleToZeroRequestObject struct {
}

type EnableScaleToZeroResponse

type EnableScaleToZeroResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *InternalError
}

func ParseEnableScaleToZeroResponse

func ParseEnableScaleToZeroResponse(rsp *http.Response) (*EnableScaleToZeroResponse, error)

ParseEnableScaleToZeroResponse parses an HTTP response from a EnableScaleToZeroWithResponse call

func (EnableScaleToZeroResponse) Status

func (r EnableScaleToZeroResponse) Status() string

Status returns HTTPResponse.Status

func (EnableScaleToZeroResponse) StatusCode

func (r EnableScaleToZeroResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EnableScaleToZeroResponseObject

type EnableScaleToZeroResponseObject interface {
	VisitEnableScaleToZeroResponse(w http.ResponseWriter) error
}

type Error

type Error struct {
	Message string `json:"message"`
}

Error defines model for 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

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.

func (FileSystemEventType) Valid

func (e FileSystemEventType) Valid() bool

Valid indicates whether the value is a known member of the FileSystemEventType enum.

type GetMousePosition200JSONResponse

type GetMousePosition200JSONResponse MousePositionResponse

func (GetMousePosition200JSONResponse) VisitGetMousePositionResponse

func (response GetMousePosition200JSONResponse) VisitGetMousePositionResponse(w http.ResponseWriter) error

type GetMousePosition500JSONResponse

type GetMousePosition500JSONResponse struct{ InternalErrorJSONResponse }

func (GetMousePosition500JSONResponse) VisitGetMousePositionResponse

func (response GetMousePosition500JSONResponse) VisitGetMousePositionResponse(w http.ResponseWriter) error

type GetMousePositionRequestObject

type GetMousePositionRequestObject struct {
}

type GetMousePositionResponse

type GetMousePositionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *MousePositionResponse
	JSON500      *InternalError
}

func ParseGetMousePositionResponse

func ParseGetMousePositionResponse(rsp *http.Response) (*GetMousePositionResponse, error)

ParseGetMousePositionResponse parses an HTTP response from a GetMousePositionWithResponse call

func (GetMousePositionResponse) Status

func (r GetMousePositionResponse) Status() string

Status returns HTTPResponse.Status

func (GetMousePositionResponse) StatusCode

func (r GetMousePositionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMousePositionResponseObject

type GetMousePositionResponseObject interface {
	VisitGetMousePositionResponse(w http.ResponseWriter) error
}

type GetTelemetry200JSONResponse

type GetTelemetry200JSONResponse TelemetryState

func (GetTelemetry200JSONResponse) VisitGetTelemetryResponse

func (response GetTelemetry200JSONResponse) VisitGetTelemetryResponse(w http.ResponseWriter) error

type GetTelemetry404JSONResponse

type GetTelemetry404JSONResponse struct{ NotFoundErrorJSONResponse }

func (GetTelemetry404JSONResponse) VisitGetTelemetryResponse

func (response GetTelemetry404JSONResponse) VisitGetTelemetryResponse(w http.ResponseWriter) error

type GetTelemetryRequestObject

type GetTelemetryRequestObject struct {
}

type GetTelemetryResponse

type GetTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON404      *NotFoundError
}

func ParseGetTelemetryResponse

func ParseGetTelemetryResponse(rsp *http.Response) (*GetTelemetryResponse, error)

ParseGetTelemetryResponse parses an HTTP response from a GetTelemetryWithResponse call

func (GetTelemetryResponse) Status

func (r GetTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (GetTelemetryResponse) StatusCode

func (r GetTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTelemetryResponseObject

type GetTelemetryResponseObject interface {
	VisitGetTelemetryResponse(w http.ResponseWriter) error
}

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InternalError

type InternalError = Error

InternalError defines model for InternalError.

type InternalErrorJSONResponse

type InternalErrorJSONResponse Error

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type KnownBrowserTelemetryEvent

type KnownBrowserTelemetryEvent struct {
	// contains filtered or unexported fields
}

KnownBrowserTelemetryEvent Discriminated union of browser telemetry events emitted by the Kernel image. This is a structural taxonomy: any event on the telemetry stream whose `data` conforms to one of the variants below (selected by `type`) is a `KnownBrowserTelemetryEvent`, regardless of who published it. Caller-published events via POST /telemetry/events are not constrained to this union; see `TelemetryEvent` for the wire shape. Validation of caller payloads against this taxonomy is the consumer's responsibility.

func (KnownBrowserTelemetryEvent) AsBrowserApiCallEvent

func (t KnownBrowserTelemetryEvent) AsBrowserApiCallEvent() (BrowserApiCallEvent, error)

AsBrowserApiCallEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserApiCallEvent

func (KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveResultEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCaptchaSolveResultEvent() (BrowserCaptchaSolveResultEvent, error)

AsBrowserCaptchaSolveResultEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCaptchaSolveResultEvent

func (KnownBrowserTelemetryEvent) AsBrowserCdpConnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCdpConnectEvent() (BrowserCdpConnectEvent, error)

AsBrowserCdpConnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCdpConnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserCdpDisconnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserCdpDisconnectEvent() (BrowserCdpDisconnectEvent, error)

AsBrowserCdpDisconnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserCdpDisconnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserConsoleErrorEvent

func (t KnownBrowserTelemetryEvent) AsBrowserConsoleErrorEvent() (BrowserConsoleErrorEvent, error)

AsBrowserConsoleErrorEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserConsoleErrorEvent

func (KnownBrowserTelemetryEvent) AsBrowserConsoleLogEvent

func (t KnownBrowserTelemetryEvent) AsBrowserConsoleLogEvent() (BrowserConsoleLogEvent, error)

AsBrowserConsoleLogEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserConsoleLogEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionClickEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionClickEvent() (BrowserInteractionClickEvent, error)

AsBrowserInteractionClickEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionClickEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionKeyEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionKeyEvent() (BrowserInteractionKeyEvent, error)

AsBrowserInteractionKeyEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionKeyEvent

func (KnownBrowserTelemetryEvent) AsBrowserInteractionScrollSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserInteractionScrollSettledEvent() (BrowserInteractionScrollSettledEvent, error)

AsBrowserInteractionScrollSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserInteractionScrollSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserLiveViewConnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserLiveViewConnectEvent() (BrowserLiveViewConnectEvent, error)

AsBrowserLiveViewConnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserLiveViewConnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserLiveViewDisconnectEvent

func (t KnownBrowserTelemetryEvent) AsBrowserLiveViewDisconnectEvent() (BrowserLiveViewDisconnectEvent, error)

AsBrowserLiveViewDisconnectEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserLiveViewDisconnectEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorDisconnectedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorDisconnectedEvent() (BrowserMonitorDisconnectedEvent, error)

AsBrowserMonitorDisconnectedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorDisconnectedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorInitFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorInitFailedEvent() (BrowserMonitorInitFailedEvent, error)

AsBrowserMonitorInitFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorInitFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectFailedEvent() (BrowserMonitorReconnectFailedEvent, error)

AsBrowserMonitorReconnectFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorReconnectFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorReconnectedEvent() (BrowserMonitorReconnectedEvent, error)

AsBrowserMonitorReconnectedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorReconnectedEvent

func (KnownBrowserTelemetryEvent) AsBrowserMonitorScreenshotEvent

func (t KnownBrowserTelemetryEvent) AsBrowserMonitorScreenshotEvent() (BrowserMonitorScreenshotEvent, error)

AsBrowserMonitorScreenshotEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserMonitorScreenshotEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkIdleEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkIdleEvent() (BrowserNetworkIdleEvent, error)

AsBrowserNetworkIdleEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkIdleEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkLoadingFailedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkLoadingFailedEvent() (BrowserNetworkLoadingFailedEvent, error)

AsBrowserNetworkLoadingFailedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkLoadingFailedEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkRequestEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkRequestEvent() (BrowserNetworkRequestEvent, error)

AsBrowserNetworkRequestEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkRequestEvent

func (KnownBrowserTelemetryEvent) AsBrowserNetworkResponseEvent

func (t KnownBrowserTelemetryEvent) AsBrowserNetworkResponseEvent() (BrowserNetworkResponseEvent, error)

AsBrowserNetworkResponseEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserNetworkResponseEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageDomContentLoadedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageDomContentLoadedEvent() (BrowserPageDomContentLoadedEvent, error)

AsBrowserPageDomContentLoadedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageDomContentLoadedEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLayoutSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLayoutSettledEvent() (BrowserPageLayoutSettledEvent, error)

AsBrowserPageLayoutSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLayoutSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLayoutShiftEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLayoutShiftEvent() (BrowserPageLayoutShiftEvent, error)

AsBrowserPageLayoutShiftEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLayoutShiftEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLcpEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLcpEvent() (BrowserPageLcpEvent, error)

AsBrowserPageLcpEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLcpEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageLoadEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageLoadEvent() (BrowserPageLoadEvent, error)

AsBrowserPageLoadEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageLoadEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageNavigationEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageNavigationEvent() (BrowserPageNavigationEvent, error)

AsBrowserPageNavigationEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageNavigationEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageNavigationSettledEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageNavigationSettledEvent() (BrowserPageNavigationSettledEvent, error)

AsBrowserPageNavigationSettledEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageNavigationSettledEvent

func (KnownBrowserTelemetryEvent) AsBrowserPageTabOpenedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserPageTabOpenedEvent() (BrowserPageTabOpenedEvent, error)

AsBrowserPageTabOpenedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserPageTabOpenedEvent

func (KnownBrowserTelemetryEvent) AsBrowserServiceCrashedEvent

func (t KnownBrowserTelemetryEvent) AsBrowserServiceCrashedEvent() (BrowserServiceCrashedEvent, error)

AsBrowserServiceCrashedEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserServiceCrashedEvent

func (KnownBrowserTelemetryEvent) AsBrowserSystemOomKillEvent

func (t KnownBrowserTelemetryEvent) AsBrowserSystemOomKillEvent() (BrowserSystemOomKillEvent, error)

AsBrowserSystemOomKillEvent returns the union data inside the KnownBrowserTelemetryEvent as a BrowserSystemOomKillEvent

func (KnownBrowserTelemetryEvent) Discriminator

func (t KnownBrowserTelemetryEvent) Discriminator() (string, error)

func (*KnownBrowserTelemetryEvent) FromBrowserApiCallEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserApiCallEvent(v BrowserApiCallEvent) error

FromBrowserApiCallEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserApiCallEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveResultEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCaptchaSolveResultEvent(v BrowserCaptchaSolveResultEvent) error

FromBrowserCaptchaSolveResultEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCaptchaSolveResultEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCdpConnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCdpConnectEvent(v BrowserCdpConnectEvent) error

FromBrowserCdpConnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCdpConnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserCdpDisconnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserCdpDisconnectEvent(v BrowserCdpDisconnectEvent) error

FromBrowserCdpDisconnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserCdpDisconnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserConsoleErrorEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserConsoleErrorEvent(v BrowserConsoleErrorEvent) error

FromBrowserConsoleErrorEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserConsoleErrorEvent

func (*KnownBrowserTelemetryEvent) FromBrowserConsoleLogEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserConsoleLogEvent(v BrowserConsoleLogEvent) error

FromBrowserConsoleLogEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserConsoleLogEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionClickEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionClickEvent(v BrowserInteractionClickEvent) error

FromBrowserInteractionClickEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionClickEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionKeyEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionKeyEvent(v BrowserInteractionKeyEvent) error

FromBrowserInteractionKeyEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionKeyEvent

func (*KnownBrowserTelemetryEvent) FromBrowserInteractionScrollSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserInteractionScrollSettledEvent(v BrowserInteractionScrollSettledEvent) error

FromBrowserInteractionScrollSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserInteractionScrollSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserLiveViewConnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserLiveViewConnectEvent(v BrowserLiveViewConnectEvent) error

FromBrowserLiveViewConnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserLiveViewConnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserLiveViewDisconnectEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserLiveViewDisconnectEvent(v BrowserLiveViewDisconnectEvent) error

FromBrowserLiveViewDisconnectEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserLiveViewDisconnectEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorDisconnectedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorDisconnectedEvent(v BrowserMonitorDisconnectedEvent) error

FromBrowserMonitorDisconnectedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorDisconnectedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorInitFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorInitFailedEvent(v BrowserMonitorInitFailedEvent) error

FromBrowserMonitorInitFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorInitFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectFailedEvent(v BrowserMonitorReconnectFailedEvent) error

FromBrowserMonitorReconnectFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorReconnectFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorReconnectedEvent(v BrowserMonitorReconnectedEvent) error

FromBrowserMonitorReconnectedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorReconnectedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserMonitorScreenshotEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserMonitorScreenshotEvent(v BrowserMonitorScreenshotEvent) error

FromBrowserMonitorScreenshotEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserMonitorScreenshotEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkIdleEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkIdleEvent(v BrowserNetworkIdleEvent) error

FromBrowserNetworkIdleEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkIdleEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkLoadingFailedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkLoadingFailedEvent(v BrowserNetworkLoadingFailedEvent) error

FromBrowserNetworkLoadingFailedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkLoadingFailedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkRequestEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkRequestEvent(v BrowserNetworkRequestEvent) error

FromBrowserNetworkRequestEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkRequestEvent

func (*KnownBrowserTelemetryEvent) FromBrowserNetworkResponseEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserNetworkResponseEvent(v BrowserNetworkResponseEvent) error

FromBrowserNetworkResponseEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserNetworkResponseEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageDomContentLoadedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageDomContentLoadedEvent(v BrowserPageDomContentLoadedEvent) error

FromBrowserPageDomContentLoadedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageDomContentLoadedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLayoutSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLayoutSettledEvent(v BrowserPageLayoutSettledEvent) error

FromBrowserPageLayoutSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLayoutSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLayoutShiftEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLayoutShiftEvent(v BrowserPageLayoutShiftEvent) error

FromBrowserPageLayoutShiftEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLayoutShiftEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLcpEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLcpEvent(v BrowserPageLcpEvent) error

FromBrowserPageLcpEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLcpEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageLoadEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageLoadEvent(v BrowserPageLoadEvent) error

FromBrowserPageLoadEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageLoadEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageNavigationEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageNavigationEvent(v BrowserPageNavigationEvent) error

FromBrowserPageNavigationEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageNavigationEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageNavigationSettledEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageNavigationSettledEvent(v BrowserPageNavigationSettledEvent) error

FromBrowserPageNavigationSettledEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageNavigationSettledEvent

func (*KnownBrowserTelemetryEvent) FromBrowserPageTabOpenedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserPageTabOpenedEvent(v BrowserPageTabOpenedEvent) error

FromBrowserPageTabOpenedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserPageTabOpenedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserServiceCrashedEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserServiceCrashedEvent(v BrowserServiceCrashedEvent) error

FromBrowserServiceCrashedEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserServiceCrashedEvent

func (*KnownBrowserTelemetryEvent) FromBrowserSystemOomKillEvent

func (t *KnownBrowserTelemetryEvent) FromBrowserSystemOomKillEvent(v BrowserSystemOomKillEvent) error

FromBrowserSystemOomKillEvent overwrites any union data inside the KnownBrowserTelemetryEvent as the provided BrowserSystemOomKillEvent

func (KnownBrowserTelemetryEvent) MarshalJSON

func (t KnownBrowserTelemetryEvent) MarshalJSON() ([]byte, error)

func (*KnownBrowserTelemetryEvent) MergeBrowserApiCallEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserApiCallEvent(v BrowserApiCallEvent) error

MergeBrowserApiCallEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserApiCallEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveResultEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCaptchaSolveResultEvent(v BrowserCaptchaSolveResultEvent) error

MergeBrowserCaptchaSolveResultEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCaptchaSolveResultEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCdpConnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCdpConnectEvent(v BrowserCdpConnectEvent) error

MergeBrowserCdpConnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCdpConnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserCdpDisconnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserCdpDisconnectEvent(v BrowserCdpDisconnectEvent) error

MergeBrowserCdpDisconnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserCdpDisconnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserConsoleErrorEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserConsoleErrorEvent(v BrowserConsoleErrorEvent) error

MergeBrowserConsoleErrorEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserConsoleErrorEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserConsoleLogEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserConsoleLogEvent(v BrowserConsoleLogEvent) error

MergeBrowserConsoleLogEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserConsoleLogEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionClickEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionClickEvent(v BrowserInteractionClickEvent) error

MergeBrowserInteractionClickEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionClickEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionKeyEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionKeyEvent(v BrowserInteractionKeyEvent) error

MergeBrowserInteractionKeyEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionKeyEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserInteractionScrollSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserInteractionScrollSettledEvent(v BrowserInteractionScrollSettledEvent) error

MergeBrowserInteractionScrollSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserInteractionScrollSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserLiveViewConnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserLiveViewConnectEvent(v BrowserLiveViewConnectEvent) error

MergeBrowserLiveViewConnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserLiveViewConnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserLiveViewDisconnectEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserLiveViewDisconnectEvent(v BrowserLiveViewDisconnectEvent) error

MergeBrowserLiveViewDisconnectEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserLiveViewDisconnectEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorDisconnectedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorDisconnectedEvent(v BrowserMonitorDisconnectedEvent) error

MergeBrowserMonitorDisconnectedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorDisconnectedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorInitFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorInitFailedEvent(v BrowserMonitorInitFailedEvent) error

MergeBrowserMonitorInitFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorInitFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectFailedEvent(v BrowserMonitorReconnectFailedEvent) error

MergeBrowserMonitorReconnectFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorReconnectFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorReconnectedEvent(v BrowserMonitorReconnectedEvent) error

MergeBrowserMonitorReconnectedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorReconnectedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserMonitorScreenshotEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserMonitorScreenshotEvent(v BrowserMonitorScreenshotEvent) error

MergeBrowserMonitorScreenshotEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserMonitorScreenshotEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkIdleEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkIdleEvent(v BrowserNetworkIdleEvent) error

MergeBrowserNetworkIdleEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkIdleEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkLoadingFailedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkLoadingFailedEvent(v BrowserNetworkLoadingFailedEvent) error

MergeBrowserNetworkLoadingFailedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkLoadingFailedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkRequestEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkRequestEvent(v BrowserNetworkRequestEvent) error

MergeBrowserNetworkRequestEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkRequestEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserNetworkResponseEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserNetworkResponseEvent(v BrowserNetworkResponseEvent) error

MergeBrowserNetworkResponseEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserNetworkResponseEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageDomContentLoadedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageDomContentLoadedEvent(v BrowserPageDomContentLoadedEvent) error

MergeBrowserPageDomContentLoadedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageDomContentLoadedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLayoutSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLayoutSettledEvent(v BrowserPageLayoutSettledEvent) error

MergeBrowserPageLayoutSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLayoutSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLayoutShiftEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLayoutShiftEvent(v BrowserPageLayoutShiftEvent) error

MergeBrowserPageLayoutShiftEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLayoutShiftEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLcpEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLcpEvent(v BrowserPageLcpEvent) error

MergeBrowserPageLcpEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLcpEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageLoadEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageLoadEvent(v BrowserPageLoadEvent) error

MergeBrowserPageLoadEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageLoadEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageNavigationEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageNavigationEvent(v BrowserPageNavigationEvent) error

MergeBrowserPageNavigationEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageNavigationEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageNavigationSettledEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageNavigationSettledEvent(v BrowserPageNavigationSettledEvent) error

MergeBrowserPageNavigationSettledEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageNavigationSettledEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserPageTabOpenedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserPageTabOpenedEvent(v BrowserPageTabOpenedEvent) error

MergeBrowserPageTabOpenedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserPageTabOpenedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserServiceCrashedEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserServiceCrashedEvent(v BrowserServiceCrashedEvent) error

MergeBrowserServiceCrashedEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserServiceCrashedEvent

func (*KnownBrowserTelemetryEvent) MergeBrowserSystemOomKillEvent

func (t *KnownBrowserTelemetryEvent) MergeBrowserSystemOomKillEvent(v BrowserSystemOomKillEvent) error

MergeBrowserSystemOomKillEvent performs a merge with any union data inside the KnownBrowserTelemetryEvent, using the provided BrowserSystemOomKillEvent

func (*KnownBrowserTelemetryEvent) UnmarshalJSON

func (t *KnownBrowserTelemetryEvent) UnmarshalJSON(b []byte) error

func (KnownBrowserTelemetryEvent) ValueByDiscriminator

func (t KnownBrowserTelemetryEvent) ValueByDiscriminator() (interface{}, 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.

func (LogsStreamParamsSource) Valid

func (e LogsStreamParamsSource) Valid() bool

Valid indicates whether the value is a known member of the LogsStreamParamsSource enum.

type LogsStreamRequestObject

type LogsStreamRequestObject struct {
	Params LogsStreamParams
}

type LogsStreamResponse

type LogsStreamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

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 MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type MousePositionResponse

type MousePositionResponse struct {
	// X X coordinate of the cursor
	X int `json:"x"`

	// Y Y coordinate of the cursor
	Y int `json:"y"`
}

MousePositionResponse defines model for MousePositionResponse.

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 {
	// DurationMs Target total duration in milliseconds for the mouse movement when smooth=true. Omit for automatic timing based on distance.
	DurationMs *int `json:"duration_ms,omitempty"`

	// HoldKeys Modifier keys to hold during the move
	HoldKeys *[]string `json:"hold_keys,omitempty"`

	// Smooth Use human-like Bezier curve path instead of instant mouse movement.
	Smooth *bool `json:"smooth,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 NotFoundError

type NotFoundError = Error

NotFoundError defines model for NotFoundError.

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

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 PatchChromiumPolicies200Response

type PatchChromiumPolicies200Response struct {
}

func (PatchChromiumPolicies200Response) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies200Response) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPolicies400JSONResponse

type PatchChromiumPolicies400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchChromiumPolicies400JSONResponse) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies400JSONResponse) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPolicies500JSONResponse

type PatchChromiumPolicies500JSONResponse struct{ InternalErrorJSONResponse }

func (PatchChromiumPolicies500JSONResponse) VisitPatchChromiumPoliciesResponse

func (response PatchChromiumPolicies500JSONResponse) VisitPatchChromiumPoliciesResponse(w http.ResponseWriter) error

type PatchChromiumPoliciesJSONBody

type PatchChromiumPoliciesJSONBody map[string]interface{}

PatchChromiumPoliciesJSONBody defines parameters for PatchChromiumPolicies.

type PatchChromiumPoliciesJSONRequestBody

type PatchChromiumPoliciesJSONRequestBody PatchChromiumPoliciesJSONBody

PatchChromiumPoliciesJSONRequestBody defines body for PatchChromiumPolicies for application/json ContentType.

type PatchChromiumPoliciesRequestObject

type PatchChromiumPoliciesRequestObject struct {
	Body *PatchChromiumPoliciesJSONRequestBody
}

type PatchChromiumPoliciesResponse

type PatchChromiumPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePatchChromiumPoliciesResponse

func ParsePatchChromiumPoliciesResponse(rsp *http.Response) (*PatchChromiumPoliciesResponse, error)

ParsePatchChromiumPoliciesResponse parses an HTTP response from a PatchChromiumPoliciesWithResponse call

func (PatchChromiumPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PatchChromiumPoliciesResponse) StatusCode

func (r PatchChromiumPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchChromiumPoliciesResponseObject

type PatchChromiumPoliciesResponseObject interface {
	VisitPatchChromiumPoliciesResponse(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.

Defines values for PatchDisplayRequestRefreshRate.

func (PatchDisplayRequestRefreshRate) Valid

Valid indicates whether the value is a known member of the PatchDisplayRequestRefreshRate enum.

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 PatchTelemetry200JSONResponse

type PatchTelemetry200JSONResponse TelemetryState

func (PatchTelemetry200JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry200JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetry400JSONResponse

type PatchTelemetry400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PatchTelemetry400JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry400JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetry404JSONResponse

type PatchTelemetry404JSONResponse struct{ NotFoundErrorJSONResponse }

func (PatchTelemetry404JSONResponse) VisitPatchTelemetryResponse

func (response PatchTelemetry404JSONResponse) VisitPatchTelemetryResponse(w http.ResponseWriter) error

type PatchTelemetryJSONRequestBody

type PatchTelemetryJSONRequestBody = BrowserTelemetryConfig

PatchTelemetryJSONRequestBody defines body for PatchTelemetry for application/json ContentType.

type PatchTelemetryRequestObject

type PatchTelemetryRequestObject struct {
	Body *PatchTelemetryJSONRequestBody
}

type PatchTelemetryResponse

type PatchTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON400      *BadRequestError
	JSON404      *NotFoundError
}

func ParsePatchTelemetryResponse

func ParsePatchTelemetryResponse(rsp *http.Response) (*PatchTelemetryResponse, error)

ParsePatchTelemetryResponse parses an HTTP response from a PatchTelemetryWithResponse call

func (PatchTelemetryResponse) Status

func (r PatchTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (PatchTelemetryResponse) StatusCode

func (r PatchTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PatchTelemetryResponseObject

type PatchTelemetryResponseObject interface {
	VisitPatchTelemetryResponse(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,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,omitempty"`

	// 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,omitempty"`
}

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.

func (ProcessKillRequestSignal) Valid

func (e ProcessKillRequestSignal) Valid() bool

Valid indicates whether the value is a known member of the ProcessKillRequestSignal enum.

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,omitempty"`

	// 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,omitempty"`

	// 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,omitempty"`
}

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,omitempty"`

	// 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 (
	ProcessStatusStateExited  ProcessStatusState = "exited"
	ProcessStatusStateRunning ProcessStatusState = "running"
)

Defines values for ProcessStatusState.

func (ProcessStatusState) Valid

func (e ProcessStatusState) Valid() bool

Valid indicates whether the value is a known member of the ProcessStatusState enum.

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

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.

func (ProcessStreamEventEvent) Valid

func (e ProcessStreamEventEvent) Valid() bool

Valid indicates whether the value is a known member of the ProcessStreamEventEvent enum.

type ProcessStreamEventStream

type ProcessStreamEventStream string

ProcessStreamEventStream Source stream of the data chunk.

const (
	Stderr ProcessStreamEventStream = "stderr"
	Stdout ProcessStreamEventStream = "stdout"
)

Defines values for ProcessStreamEventStream.

func (ProcessStreamEventStream) Valid

func (e ProcessStreamEventStream) Valid() bool

Valid indicates whether the value is a known member of the ProcessStreamEventStream enum.

type PublishEventRequest

type PublishEventRequest struct {
	// Category Event category.
	Category *PublishEventRequestCategory `json:"category,omitempty"`

	// Data Telemetry event payload.
	Data interface{} `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source *BrowserEventSource `json:"source,omitempty"`

	// Type Event type identifier.
	Type string `json:"type"`
}

PublishEventRequest Request body for publishing an event into the telemetry stream.

type PublishEventRequestCategory

type PublishEventRequestCategory string

PublishEventRequestCategory Event category.

const (
	PublishEventRequestCategoryApi         PublishEventRequestCategory = "api"
	PublishEventRequestCategoryConsole     PublishEventRequestCategory = "console"
	PublishEventRequestCategoryInteraction PublishEventRequestCategory = "interaction"
	PublishEventRequestCategoryNetwork     PublishEventRequestCategory = "network"
	PublishEventRequestCategoryPage        PublishEventRequestCategory = "page"
	PublishEventRequestCategorySystem      PublishEventRequestCategory = "system"
)

Defines values for PublishEventRequestCategory.

func (PublishEventRequestCategory) Valid

Valid indicates whether the value is a known member of the PublishEventRequestCategory enum.

type PublishTelemetryEvent200JSONResponse

type PublishTelemetryEvent200JSONResponse TelemetryEnvelope

func (PublishTelemetryEvent200JSONResponse) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent200JSONResponse) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEvent204Response

type PublishTelemetryEvent204Response struct {
}

func (PublishTelemetryEvent204Response) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent204Response) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEvent400JSONResponse

type PublishTelemetryEvent400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PublishTelemetryEvent400JSONResponse) VisitPublishTelemetryEventResponse

func (response PublishTelemetryEvent400JSONResponse) VisitPublishTelemetryEventResponse(w http.ResponseWriter) error

type PublishTelemetryEventJSONRequestBody

type PublishTelemetryEventJSONRequestBody = PublishEventRequest

PublishTelemetryEventJSONRequestBody defines body for PublishTelemetryEvent for application/json ContentType.

type PublishTelemetryEventRequestObject

type PublishTelemetryEventRequestObject struct {
	Body *PublishTelemetryEventJSONRequestBody
}

type PublishTelemetryEventResponse

type PublishTelemetryEventResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryEnvelope
	JSON400      *BadRequestError
}

func ParsePublishTelemetryEventResponse

func ParsePublishTelemetryEventResponse(rsp *http.Response) (*PublishTelemetryEventResponse, error)

ParsePublishTelemetryEventResponse parses an HTTP response from a PublishTelemetryEventWithResponse call

func (PublishTelemetryEventResponse) Status

Status returns HTTPResponse.Status

func (PublishTelemetryEventResponse) StatusCode

func (r PublishTelemetryEventResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PublishTelemetryEventResponseObject

type PublishTelemetryEventResponseObject interface {
	VisitPublishTelemetryEventResponse(w http.ResponseWriter) error
}

type PutTelemetry200JSONResponse

type PutTelemetry200JSONResponse TelemetryState

func (PutTelemetry200JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry200JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry201JSONResponse

type PutTelemetry201JSONResponse TelemetryState

func (PutTelemetry201JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry201JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry400JSONResponse

type PutTelemetry400JSONResponse struct{ BadRequestErrorJSONResponse }

func (PutTelemetry400JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry400JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetry500JSONResponse

type PutTelemetry500JSONResponse struct{ InternalErrorJSONResponse }

func (PutTelemetry500JSONResponse) VisitPutTelemetryResponse

func (response PutTelemetry500JSONResponse) VisitPutTelemetryResponse(w http.ResponseWriter) error

type PutTelemetryJSONRequestBody

type PutTelemetryJSONRequestBody = BrowserTelemetryConfig

PutTelemetryJSONRequestBody defines body for PutTelemetry for application/json ContentType.

type PutTelemetryRequestObject

type PutTelemetryRequestObject struct {
	Body *PutTelemetryJSONRequestBody
}

type PutTelemetryResponse

type PutTelemetryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TelemetryState
	JSON201      *TelemetryState
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParsePutTelemetryResponse

func ParsePutTelemetryResponse(rsp *http.Response) (*PutTelemetryResponse, error)

ParsePutTelemetryResponse parses an HTTP response from a PutTelemetryWithResponse call

func (PutTelemetryResponse) Status

func (r PutTelemetryResponse) Status() string

Status returns HTTPResponse.Status

func (PutTelemetryResponse) StatusCode

func (r PutTelemetryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutTelemetryResponseObject

type PutTelemetryResponseObject interface {
	VisitPutTelemetryResponse(w http.ResponseWriter) error
}

type ReadClipboard200JSONResponse

type ReadClipboard200JSONResponse ClipboardContent

func (ReadClipboard200JSONResponse) VisitReadClipboardResponse

func (response ReadClipboard200JSONResponse) VisitReadClipboardResponse(w http.ResponseWriter) error

type ReadClipboard500JSONResponse

type ReadClipboard500JSONResponse struct{ InternalErrorJSONResponse }

func (ReadClipboard500JSONResponse) VisitReadClipboardResponse

func (response ReadClipboard500JSONResponse) VisitReadClipboardResponse(w http.ResponseWriter) error

type ReadClipboardRequestObject

type ReadClipboardRequestObject struct {
}

type ReadClipboardResponse

type ReadClipboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClipboardContent
	JSON500      *InternalError
}

func ParseReadClipboardResponse

func ParseReadClipboardResponse(rsp *http.Response) (*ReadClipboardResponse, error)

ParseReadClipboardResponse parses an HTTP response from a ReadClipboardWithResponse call

func (ReadClipboardResponse) Status

func (r ReadClipboardResponse) Status() string

Status returns HTTPResponse.Status

func (ReadClipboardResponse) StatusCode

func (r ReadClipboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ReadClipboardResponseObject

type ReadClipboardResponseObject interface {
	VisitReadClipboardResponse(w http.ResponseWriter) error
}

type ReadFile200ApplicationoctetStreamResponse

type ReadFile200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

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,omitempty"`
	Id          string     `json:"id"`
	IsRecording bool       `json:"isRecording"`

	// StartedAt Timestamp when recording started
	StartedAt *time.Time `json:"started_at,omitempty"`
}

RecorderInfo defines model for RecorderInfo.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

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)
	// Update Chromium enterprise policies and restart
	// (PATCH /chromium/policies)
	PatchChromiumPolicies(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)
	// Execute a batch of computer actions sequentially
	// (POST /computer/batch)
	BatchComputerAction(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)
	// Read text from the system clipboard
	// (POST /computer/clipboard/read)
	ReadClipboard(w http.ResponseWriter, r *http.Request)
	// Write text to the system clipboard
	// (POST /computer/clipboard/write)
	WriteClipboard(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)
	// Get the current mouse cursor position on the host computer
	// (POST /computer/get_mouse_position)
	GetMousePosition(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)
	// Apply batched session and browser configuration plus optional navigation
	// (POST /configure)
	ChromiumConfigure(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)
	// Download a directory as a tar.zst archive
	// (GET /fs/download_dir_zstd)
	DownloadDirZstd(w http.ResponseWriter, r *http.Request, params DownloadDirZstdParams)
	// 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)
	// Upload a tar.zst archive and extract it
	// (POST /fs/upload_zstd)
	UploadZstd(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)
	// Idempotently disable scale to zero on this VM.
	// (POST /scaletozero/disable)
	DisableScaleToZero(w http.ResponseWriter, r *http.Request)
	// Idempotently enable scale to zero on this VM.
	// (POST /scaletozero/enable)
	EnableScaleToZero(w http.ResponseWriter, r *http.Request)
	// Get telemetry configuration
	// (GET /telemetry)
	GetTelemetry(w http.ResponseWriter, r *http.Request)
	// Update telemetry configuration
	// (PATCH /telemetry)
	PatchTelemetry(w http.ResponseWriter, r *http.Request)
	// Set telemetry configuration
	// (PUT /telemetry)
	PutTelemetry(w http.ResponseWriter, r *http.Request)
	// Publish an event into the telemetry stream
	// (POST /telemetry/events)
	PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)
	// Stream telemetry events as Server-Sent Events
	// (GET /telemetry/stream)
	StreamTelemetryEvents(w http.ResponseWriter, r *http.Request, params StreamTelemetryEventsParams)
}

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) BatchComputerAction

func (siw *ServerInterfaceWrapper) BatchComputerAction(w http.ResponseWriter, r *http.Request)

BatchComputerAction operation middleware

func (*ServerInterfaceWrapper) ChromiumConfigure

func (siw *ServerInterfaceWrapper) ChromiumConfigure(w http.ResponseWriter, r *http.Request)

ChromiumConfigure operation middleware

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) DisableScaleToZero

func (siw *ServerInterfaceWrapper) DisableScaleToZero(w http.ResponseWriter, r *http.Request)

DisableScaleToZero operation middleware

func (*ServerInterfaceWrapper) DownloadDirZip

func (siw *ServerInterfaceWrapper) DownloadDirZip(w http.ResponseWriter, r *http.Request)

DownloadDirZip operation middleware

func (*ServerInterfaceWrapper) DownloadDirZstd

func (siw *ServerInterfaceWrapper) DownloadDirZstd(w http.ResponseWriter, r *http.Request)

DownloadDirZstd 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) EnableScaleToZero

func (siw *ServerInterfaceWrapper) EnableScaleToZero(w http.ResponseWriter, r *http.Request)

EnableScaleToZero 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) GetMousePosition

func (siw *ServerInterfaceWrapper) GetMousePosition(w http.ResponseWriter, r *http.Request)

GetMousePosition operation middleware

func (*ServerInterfaceWrapper) GetTelemetry

func (siw *ServerInterfaceWrapper) GetTelemetry(w http.ResponseWriter, r *http.Request)

GetTelemetry 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) PatchChromiumPolicies

func (siw *ServerInterfaceWrapper) PatchChromiumPolicies(w http.ResponseWriter, r *http.Request)

PatchChromiumPolicies operation middleware

func (*ServerInterfaceWrapper) PatchDisplay

func (siw *ServerInterfaceWrapper) PatchDisplay(w http.ResponseWriter, r *http.Request)

PatchDisplay operation middleware

func (*ServerInterfaceWrapper) PatchTelemetry

func (siw *ServerInterfaceWrapper) PatchTelemetry(w http.ResponseWriter, r *http.Request)

PatchTelemetry 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) PublishTelemetryEvent

func (siw *ServerInterfaceWrapper) PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)

PublishTelemetryEvent operation middleware

func (*ServerInterfaceWrapper) PutTelemetry

func (siw *ServerInterfaceWrapper) PutTelemetry(w http.ResponseWriter, r *http.Request)

PutTelemetry operation middleware

func (*ServerInterfaceWrapper) ReadClipboard

func (siw *ServerInterfaceWrapper) ReadClipboard(w http.ResponseWriter, r *http.Request)

ReadClipboard operation middleware

func (*ServerInterfaceWrapper) ReadFile

func (siw *ServerInterfaceWrapper) ReadFile(w http.ResponseWriter, r *http.Request)

ReadFile operation middleware

func (*ServerInterfaceWrapper) Scroll

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) StreamTelemetryEvents

func (siw *ServerInterfaceWrapper) StreamTelemetryEvents(w http.ResponseWriter, r *http.Request)

StreamTelemetryEvents 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) UploadZstd

func (siw *ServerInterfaceWrapper) UploadZstd(w http.ResponseWriter, r *http.Request)

UploadZstd operation middleware

func (*ServerInterfaceWrapper) WriteClipboard

func (siw *ServerInterfaceWrapper) WriteClipboard(w http.ResponseWriter, r *http.Request)

WriteClipboard 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

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 SleepAction

type SleepAction struct {
	// DurationMs Duration to sleep in milliseconds.
	DurationMs int `json:"duration_ms"`
}

SleepAction Pause execution for a specified duration.

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 StreamTelemetryEvents200ResponseHeaders

type StreamTelemetryEvents200ResponseHeaders struct {
	XSSEContentType string
}

type StreamTelemetryEvents200TexteventStreamResponse

type StreamTelemetryEvents200TexteventStreamResponse struct {
	Body          io.Reader
	Headers       StreamTelemetryEvents200ResponseHeaders
	ContentLength int64
}

func (StreamTelemetryEvents200TexteventStreamResponse) VisitStreamTelemetryEventsResponse

func (response StreamTelemetryEvents200TexteventStreamResponse) VisitStreamTelemetryEventsResponse(w http.ResponseWriter) error

type StreamTelemetryEventsParams

type StreamTelemetryEventsParams struct {
	// LastEventID Resume after this sequence number. Omit or send 0 to start from the current position. Sequence numbers are process-monotonic, so any previous value resumes correctly from that point.
	LastEventID *string `json:"Last-Event-ID,omitempty"`
}

StreamTelemetryEventsParams defines parameters for StreamTelemetryEvents.

type StreamTelemetryEventsRequestObject

type StreamTelemetryEventsRequestObject struct {
	Params StreamTelemetryEventsParams
}

type StreamTelemetryEventsResponse

type StreamTelemetryEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseStreamTelemetryEventsResponse

func ParseStreamTelemetryEventsResponse(rsp *http.Response) (*StreamTelemetryEventsResponse, error)

ParseStreamTelemetryEventsResponse parses an HTTP response from a StreamTelemetryEventsWithResponse call

func (StreamTelemetryEventsResponse) Status

Status returns HTTPResponse.Status

func (StreamTelemetryEventsResponse) StatusCode

func (r StreamTelemetryEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StreamTelemetryEventsResponseObject

type StreamTelemetryEventsResponseObject interface {
	VisitStreamTelemetryEventsResponse(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 StrictServerInterface

type StrictServerInterface interface {
	// Update Chromium launch flags and restart
	// (PATCH /chromium/flags)
	PatchChromiumFlags(ctx context.Context, request PatchChromiumFlagsRequestObject) (PatchChromiumFlagsResponseObject, error)
	// Update Chromium enterprise policies and restart
	// (PATCH /chromium/policies)
	PatchChromiumPolicies(ctx context.Context, request PatchChromiumPoliciesRequestObject) (PatchChromiumPoliciesResponseObject, 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)
	// Execute a batch of computer actions sequentially
	// (POST /computer/batch)
	BatchComputerAction(ctx context.Context, request BatchComputerActionRequestObject) (BatchComputerActionResponseObject, error)
	// Simulate a mouse click action on the host computer
	// (POST /computer/click_mouse)
	ClickMouse(ctx context.Context, request ClickMouseRequestObject) (ClickMouseResponseObject, error)
	// Read text from the system clipboard
	// (POST /computer/clipboard/read)
	ReadClipboard(ctx context.Context, request ReadClipboardRequestObject) (ReadClipboardResponseObject, error)
	// Write text to the system clipboard
	// (POST /computer/clipboard/write)
	WriteClipboard(ctx context.Context, request WriteClipboardRequestObject) (WriteClipboardResponseObject, 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)
	// Get the current mouse cursor position on the host computer
	// (POST /computer/get_mouse_position)
	GetMousePosition(ctx context.Context, request GetMousePositionRequestObject) (GetMousePositionResponseObject, 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)
	// Apply batched session and browser configuration plus optional navigation
	// (POST /configure)
	ChromiumConfigure(ctx context.Context, request ChromiumConfigureRequestObject) (ChromiumConfigureResponseObject, 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)
	// Download a directory as a tar.zst archive
	// (GET /fs/download_dir_zstd)
	DownloadDirZstd(ctx context.Context, request DownloadDirZstdRequestObject) (DownloadDirZstdResponseObject, 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)
	// Upload a tar.zst archive and extract it
	// (POST /fs/upload_zstd)
	UploadZstd(ctx context.Context, request UploadZstdRequestObject) (UploadZstdResponseObject, 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)
	// Idempotently disable scale to zero on this VM.
	// (POST /scaletozero/disable)
	DisableScaleToZero(ctx context.Context, request DisableScaleToZeroRequestObject) (DisableScaleToZeroResponseObject, error)
	// Idempotently enable scale to zero on this VM.
	// (POST /scaletozero/enable)
	EnableScaleToZero(ctx context.Context, request EnableScaleToZeroRequestObject) (EnableScaleToZeroResponseObject, error)
	// Get telemetry configuration
	// (GET /telemetry)
	GetTelemetry(ctx context.Context, request GetTelemetryRequestObject) (GetTelemetryResponseObject, error)
	// Update telemetry configuration
	// (PATCH /telemetry)
	PatchTelemetry(ctx context.Context, request PatchTelemetryRequestObject) (PatchTelemetryResponseObject, error)
	// Set telemetry configuration
	// (PUT /telemetry)
	PutTelemetry(ctx context.Context, request PutTelemetryRequestObject) (PutTelemetryResponseObject, error)
	// Publish an event into the telemetry stream
	// (POST /telemetry/events)
	PublishTelemetryEvent(ctx context.Context, request PublishTelemetryEventRequestObject) (PublishTelemetryEventResponseObject, error)
	// Stream telemetry events as Server-Sent Events
	// (GET /telemetry/stream)
	StreamTelemetryEvents(ctx context.Context, request StreamTelemetryEventsRequestObject) (StreamTelemetryEventsResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TakeScreenshot200ImagepngResponse

type TakeScreenshot200ImagepngResponse struct {
	Body          io.Reader
	ContentLength int64
}

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 TelemetryEnvelope

type TelemetryEnvelope struct {
	// Event A telemetry event. The wire-level event shape accepted by the publish endpoint and emitted on the SSE stream. Arbitrary `type` strings and `data` payloads are admitted. For browser events emitted by the Kernel image, `data` conforms to the per-type schema documented in the `Browser*Event` / `Browser*EventData` definitions, selected by `type`.
	Event TelemetryEvent `json:"event"`

	// Seq Process-monotonic sequence number assigned across the lifetime of the server. Use with Last-Event-ID to resume the SSE stream from this point.
	Seq int64 `json:"seq"`
}

TelemetryEnvelope The envelope assigned to a successfully published event.

type TelemetryEvent

type TelemetryEvent struct {
	// Category Event category.
	Category *TelemetryEventCategory `json:"category,omitempty"`

	// Data Arbitrary JSON payload. For browser events listed in `KnownBrowserTelemetryEvent`, the payload conforms to the corresponding `Browser*EventData` schema.
	Data interface{} `json:"data,omitempty"`

	// Source Provenance metadata identifying which producer emitted the event.
	Source *BrowserEventSource `json:"source,omitempty"`

	// Truncated Set by the server when the data field was truncated to fit the size limit.
	Truncated *bool `json:"truncated,omitempty"`

	// Ts Unix timestamp in microseconds. Defaults to the current time when omitted.
	Ts *int64 `json:"ts,omitempty"`

	// Type Event type identifier.
	Type string `json:"type"`
}

TelemetryEvent A telemetry event. The wire-level event shape accepted by the publish endpoint and emitted on the SSE stream. Arbitrary `type` strings and `data` payloads are admitted. For browser events emitted by the Kernel image, `data` conforms to the per-type schema documented in the `Browser*Event` / `Browser*EventData` definitions, selected by `type`.

type TelemetryEventCategory

type TelemetryEventCategory string

TelemetryEventCategory Event category.

const (
	TelemetryEventCategoryApi         TelemetryEventCategory = "api"
	TelemetryEventCategoryConsole     TelemetryEventCategory = "console"
	TelemetryEventCategoryInteraction TelemetryEventCategory = "interaction"
	TelemetryEventCategoryNetwork     TelemetryEventCategory = "network"
	TelemetryEventCategoryPage        TelemetryEventCategory = "page"
	TelemetryEventCategorySystem      TelemetryEventCategory = "system"
)

Defines values for TelemetryEventCategory.

func (TelemetryEventCategory) Valid

func (e TelemetryEventCategory) Valid() bool

Valid indicates whether the value is a known member of the TelemetryEventCategory enum.

type TelemetryState

type TelemetryState struct {
	// AppliedAt Wall-clock time at which the current configuration was applied. Omitted when telemetry is not configured.
	AppliedAt *time.Time `json:"applied_at,omitempty"`

	// Config Telemetry configuration for a browser. Per-category capture settings. Omit a category or set enabled: true to capture it. Set enabled: false to exclude it. Omit the browser key entirely to capture all categories. Set all five categories to enabled: false to clear the telemetry configuration.
	Config BrowserTelemetryConfig `json:"config"`

	// Seq Process-monotonic sequence number of the last published event. Does not reset across configuration changes.
	Seq int64 `json:"seq"`
}

TelemetryState Current telemetry configuration.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

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. Ignored when smooth is true.
	Delay *int `json:"delay,omitempty"`

	// Smooth Use human-like variable keystroke timing instead of a fixed delay.
	// Defaults to true (same as moveMouse/dragMouse). Set to false for
	// xdotool typing with an optional fixed delay between keys (delay=0 is instant).
	// When true, text is typed in word-sized chunks with variable intra-word delays
	// and natural inter-word pauses. The delay field is ignored when smooth is true.
	Smooth *bool `json:"smooth,omitempty"`

	// Text Text to type on the host computer
	Text string `json:"text"`

	// TypoChance Per-character typo injection rate; mistakes are corrected with backspace.
	// Default 0. Only applies when smooth is true (silently ignored when
	// smooth is false).
	TypoChance *float32 `json:"typo_chance,omitempty"`
}

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

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) BatchComputerAction

func (_ Unimplemented) BatchComputerAction(w http.ResponseWriter, r *http.Request)

Execute a batch of computer actions sequentially (POST /computer/batch)

func (Unimplemented) ChromiumConfigure

func (_ Unimplemented) ChromiumConfigure(w http.ResponseWriter, r *http.Request)

Apply batched session and browser configuration plus optional navigation (POST /configure)

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) DisableScaleToZero

func (_ Unimplemented) DisableScaleToZero(w http.ResponseWriter, r *http.Request)

Idempotently disable scale to zero on this VM. (POST /scaletozero/disable)

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) DownloadDirZstd

func (_ Unimplemented) DownloadDirZstd(w http.ResponseWriter, r *http.Request, params DownloadDirZstdParams)

Download a directory as a tar.zst archive (GET /fs/download_dir_zstd)

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) EnableScaleToZero

func (_ Unimplemented) EnableScaleToZero(w http.ResponseWriter, r *http.Request)

Idempotently enable scale to zero on this VM. (POST /scaletozero/enable)

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) GetMousePosition

func (_ Unimplemented) GetMousePosition(w http.ResponseWriter, r *http.Request)

Get the current mouse cursor position on the host computer (POST /computer/get_mouse_position)

func (Unimplemented) GetTelemetry

func (_ Unimplemented) GetTelemetry(w http.ResponseWriter, r *http.Request)

Get telemetry configuration (GET /telemetry)

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) PatchChromiumPolicies

func (_ Unimplemented) PatchChromiumPolicies(w http.ResponseWriter, r *http.Request)

Update Chromium enterprise policies and restart (PATCH /chromium/policies)

func (Unimplemented) PatchDisplay

func (_ Unimplemented) PatchDisplay(w http.ResponseWriter, r *http.Request)

Update display configuration (PATCH /display)

func (Unimplemented) PatchTelemetry

func (_ Unimplemented) PatchTelemetry(w http.ResponseWriter, r *http.Request)

Update telemetry configuration (PATCH /telemetry)

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) PublishTelemetryEvent

func (_ Unimplemented) PublishTelemetryEvent(w http.ResponseWriter, r *http.Request)

Publish an event into the telemetry stream (POST /telemetry/events)

func (Unimplemented) PutTelemetry

func (_ Unimplemented) PutTelemetry(w http.ResponseWriter, r *http.Request)

Set telemetry configuration (PUT /telemetry)

func (Unimplemented) ReadClipboard

func (_ Unimplemented) ReadClipboard(w http.ResponseWriter, r *http.Request)

Read text from the system clipboard (POST /computer/clipboard/read)

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) StreamTelemetryEvents

func (_ Unimplemented) StreamTelemetryEvents(w http.ResponseWriter, r *http.Request, params StreamTelemetryEventsParams)

Stream telemetry events as Server-Sent Events (GET /telemetry/stream)

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) UploadZstd

func (_ Unimplemented) UploadZstd(w http.ResponseWriter, r *http.Request)

Upload a tar.zst archive and extract it (POST /fs/upload_zstd)

func (Unimplemented) WriteClipboard

func (_ Unimplemented) WriteClipboard(w http.ResponseWriter, r *http.Request)

Write text to the system clipboard (POST /computer/clipboard/write)

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

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

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 UploadExtensionsAndRestartRequestObject

type UploadExtensionsAndRestartRequestObject struct {
	Body *multipart.Reader
}

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

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 UploadFilesRequestObject

type UploadFilesRequestObject struct {
	Body *multipart.Reader
}

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 UploadZipRequestObject struct {
	Body *multipart.Reader
}

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 UploadZstd201Response

type UploadZstd201Response struct {
}

func (UploadZstd201Response) VisitUploadZstdResponse

func (response UploadZstd201Response) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd400JSONResponse

type UploadZstd400JSONResponse struct{ BadRequestErrorJSONResponse }

func (UploadZstd400JSONResponse) VisitUploadZstdResponse

func (response UploadZstd400JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd404JSONResponse

type UploadZstd404JSONResponse struct{ NotFoundErrorJSONResponse }

func (UploadZstd404JSONResponse) VisitUploadZstdResponse

func (response UploadZstd404JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstd500JSONResponse

type UploadZstd500JSONResponse struct{ InternalErrorJSONResponse }

func (UploadZstd500JSONResponse) VisitUploadZstdResponse

func (response UploadZstd500JSONResponse) VisitUploadZstdResponse(w http.ResponseWriter) error

type UploadZstdMultipartBody

type UploadZstdMultipartBody struct {
	// Archive The tar.zst archive file.
	Archive openapi_types.File `json:"archive"`

	// DestPath Absolute destination directory to extract the archive to.
	DestPath string `json:"dest_path"`

	// StripComponents Number of leading path components to strip during extraction (like tar --strip-components).
	StripComponents *int `json:"strip_components,omitempty"`
}

UploadZstdMultipartBody defines parameters for UploadZstd.

type UploadZstdMultipartRequestBody

type UploadZstdMultipartRequestBody UploadZstdMultipartBody

UploadZstdMultipartRequestBody defines body for UploadZstd for multipart/form-data ContentType.

type UploadZstdRequestObject

type UploadZstdRequestObject struct {
	Body *multipart.Reader
}

type UploadZstdResponse

type UploadZstdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON404      *NotFoundError
	JSON500      *InternalError
}

func ParseUploadZstdResponse

func ParseUploadZstdResponse(rsp *http.Response) (*UploadZstdResponse, error)

ParseUploadZstdResponse parses an HTTP response from a UploadZstdWithResponse call

func (UploadZstdResponse) Status

func (r UploadZstdResponse) Status() string

Status returns HTTPResponse.Status

func (UploadZstdResponse) StatusCode

func (r UploadZstdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadZstdResponseObject

type UploadZstdResponseObject interface {
	VisitUploadZstdResponse(w http.ResponseWriter) error
}

type WriteClipboard200Response

type WriteClipboard200Response struct {
}

func (WriteClipboard200Response) VisitWriteClipboardResponse

func (response WriteClipboard200Response) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboard400JSONResponse

type WriteClipboard400JSONResponse struct{ BadRequestErrorJSONResponse }

func (WriteClipboard400JSONResponse) VisitWriteClipboardResponse

func (response WriteClipboard400JSONResponse) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboard500JSONResponse

type WriteClipboard500JSONResponse struct{ InternalErrorJSONResponse }

func (WriteClipboard500JSONResponse) VisitWriteClipboardResponse

func (response WriteClipboard500JSONResponse) VisitWriteClipboardResponse(w http.ResponseWriter) error

type WriteClipboardJSONRequestBody

type WriteClipboardJSONRequestBody = WriteClipboardRequest

WriteClipboardJSONRequestBody defines body for WriteClipboard for application/json ContentType.

type WriteClipboardRequest

type WriteClipboardRequest struct {
	// Text Text to write to the system clipboard
	Text string `json:"text"`
}

WriteClipboardRequest defines model for WriteClipboardRequest.

type WriteClipboardRequestObject

type WriteClipboardRequestObject struct {
	Body *WriteClipboardJSONRequestBody
}

type WriteClipboardResponse

type WriteClipboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequestError
	JSON500      *InternalError
}

func ParseWriteClipboardResponse

func ParseWriteClipboardResponse(rsp *http.Response) (*WriteClipboardResponse, error)

ParseWriteClipboardResponse parses an HTTP response from a WriteClipboardWithResponse call

func (WriteClipboardResponse) Status

func (r WriteClipboardResponse) Status() string

Status returns HTTPResponse.Status

func (WriteClipboardResponse) StatusCode

func (r WriteClipboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WriteClipboardResponseObject

type WriteClipboardResponseObject interface {
	VisitWriteClipboardResponse(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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL