Documentation
¶
Index ¶
- Constants
- func Execute(m Metadata)
- func PrintTableNoPad(data pterm.TableData, hasHeader bool)
- type APIKeysCmd
- func (c APIKeysCmd) Create(ctx context.Context, in APIKeysCreateInput) error
- func (c APIKeysCmd) Delete(ctx context.Context, in APIKeysDeleteInput) error
- func (c APIKeysCmd) Get(ctx context.Context, in APIKeysGetInput) error
- func (c APIKeysCmd) List(ctx context.Context, in APIKeysListInput) error
- func (c APIKeysCmd) Rotate(ctx context.Context, in APIKeysRotateInput) error
- func (c APIKeysCmd) Update(ctx context.Context, in APIKeysUpdateInput) error
- type APIKeysCreateInput
- type APIKeysDeleteInput
- type APIKeysGetInput
- type APIKeysListInput
- type APIKeysRotateInput
- type APIKeysService
- type APIKeysUpdateInput
- type AuditLogsCmd
- type AuditLogsDownloadInput
- type AuditLogsExportCmd
- func (c AuditLogsExportCmd) Create(ctx context.Context, in AuditLogsExportCreateInput) error
- func (c AuditLogsExportCmd) Delete(ctx context.Context, in AuditLogsExportDeleteInput) error
- func (c AuditLogsExportCmd) Get(ctx context.Context, in AuditLogsExportGetInput) error
- func (c AuditLogsExportCmd) List(ctx context.Context, in AuditLogsExportListInput) error
- func (c AuditLogsExportCmd) SetStatus(ctx context.Context, in AuditLogsExportStatusInput) error
- func (c AuditLogsExportCmd) Test(ctx context.Context, in AuditLogsExportTestInput) error
- func (c AuditLogsExportCmd) Update(ctx context.Context, in AuditLogsExportUpdateInput) error
- type AuditLogsExportCreateInput
- type AuditLogsExportDeleteInput
- type AuditLogsExportGetInput
- type AuditLogsExportListInput
- type AuditLogsExportService
- type AuditLogsExportStatusInput
- type AuditLogsExportTestInput
- type AuditLogsExportUpdateInput
- type AuditLogsSearchInput
- type AuditLogsService
- type AuthConnectionCmd
- func (c AuthConnectionCmd) Create(ctx context.Context, in AuthConnectionCreateInput) error
- func (c AuthConnectionCmd) Delete(ctx context.Context, in AuthConnectionDeleteInput) error
- func (c AuthConnectionCmd) Follow(ctx context.Context, in AuthConnectionFollowInput) error
- func (c AuthConnectionCmd) Get(ctx context.Context, in AuthConnectionGetInput) error
- func (c AuthConnectionCmd) List(ctx context.Context, in AuthConnectionListInput) error
- func (c AuthConnectionCmd) Login(ctx context.Context, in AuthConnectionLoginInput) error
- func (c AuthConnectionCmd) Submit(ctx context.Context, in AuthConnectionSubmitInput) error
- func (c AuthConnectionCmd) Timeline(ctx context.Context, in AuthConnectionTimelineInput) error
- func (c AuthConnectionCmd) Update(ctx context.Context, in AuthConnectionUpdateInput) error
- type AuthConnectionCreateInput
- type AuthConnectionDeleteInput
- type AuthConnectionFollowInput
- type AuthConnectionGetInput
- type AuthConnectionListInput
- type AuthConnectionLoginInput
- type AuthConnectionService
- type AuthConnectionSubmitInput
- type AuthConnectionTimelineInput
- type AuthConnectionUpdateInput
- type AuthContextCmd
- type AuthContextGetInput
- type AuthContextService
- type BoolFlag
- type BrowserComputerService
- type BrowserFSService
- type BrowserFWatchService
- type BrowserLogService
- type BrowserPlaywrightExecutorService
- type BrowserPlaywrightService
- type BrowserPoolsAcquireInput
- type BrowserPoolsCmd
- func (c BrowserPoolsCmd) Acquire(ctx context.Context, in BrowserPoolsAcquireInput) error
- func (c BrowserPoolsCmd) Create(ctx context.Context, in BrowserPoolsCreateInput) error
- func (c BrowserPoolsCmd) Delete(ctx context.Context, in BrowserPoolsDeleteInput) error
- func (c BrowserPoolsCmd) Flush(ctx context.Context, in BrowserPoolsFlushInput) error
- func (c BrowserPoolsCmd) Get(ctx context.Context, in BrowserPoolsGetInput) error
- func (c BrowserPoolsCmd) List(ctx context.Context, in BrowserPoolsListInput) error
- func (c BrowserPoolsCmd) Release(ctx context.Context, in BrowserPoolsReleaseInput) error
- func (c BrowserPoolsCmd) Update(ctx context.Context, in BrowserPoolsUpdateInput) error
- type BrowserPoolsCreateInput
- type BrowserPoolsDeleteInput
- type BrowserPoolsFlushInput
- type BrowserPoolsGetInput
- type BrowserPoolsListInput
- type BrowserPoolsReleaseInput
- type BrowserPoolsService
- type BrowserPoolsUpdateInput
- type BrowserProcessService
- type BrowserReplaysService
- type BrowserTelemetryService
- type BrowserWebMCPCustomToolsService
- type BrowserWebMCPService
- type BrowsersCmd
- func (b BrowsersCmd) ComputerBatch(ctx context.Context, in BrowsersComputerBatchInput) error
- func (b BrowsersCmd) ComputerClickMouse(ctx context.Context, in BrowsersComputerClickMouseInput) error
- func (b BrowsersCmd) ComputerDragMouse(ctx context.Context, in BrowsersComputerDragMouseInput) error
- func (b BrowsersCmd) ComputerGetMousePosition(ctx context.Context, in BrowsersComputerGetMousePositionInput) error
- func (b BrowsersCmd) ComputerMoveMouse(ctx context.Context, in BrowsersComputerMoveMouseInput) error
- func (b BrowsersCmd) ComputerPressKey(ctx context.Context, in BrowsersComputerPressKeyInput) error
- func (b BrowsersCmd) ComputerReadClipboard(ctx context.Context, in BrowsersComputerReadClipboardInput) error
- func (b BrowsersCmd) ComputerScreenshot(ctx context.Context, in BrowsersComputerScreenshotInput) error
- func (b BrowsersCmd) ComputerScroll(ctx context.Context, in BrowsersComputerScrollInput) error
- func (b BrowsersCmd) ComputerSetCursor(ctx context.Context, in BrowsersComputerSetCursorInput) error
- func (b BrowsersCmd) ComputerTypeText(ctx context.Context, in BrowsersComputerTypeTextInput) error
- func (b BrowsersCmd) ComputerWriteClipboard(ctx context.Context, in BrowsersComputerWriteClipboardInput) error
- func (b BrowsersCmd) Create(ctx context.Context, in BrowsersCreateInput) error
- func (b BrowsersCmd) Curl(ctx context.Context, in BrowsersCurlInput) error
- func (b BrowsersCmd) Delete(ctx context.Context, in BrowsersDeleteInput) error
- func (b BrowsersCmd) ExtensionsUpload(ctx context.Context, in BrowsersExtensionsUploadInput) error
- func (b BrowsersCmd) FSDeleteDirectory(ctx context.Context, in BrowsersFSDeleteDirInput) error
- func (b BrowsersCmd) FSDeleteFile(ctx context.Context, in BrowsersFSDeleteFileInput) error
- func (b BrowsersCmd) FSDownloadDirZip(ctx context.Context, in BrowsersFSDownloadDirZipInput) error
- func (b BrowsersCmd) FSFileInfo(ctx context.Context, in BrowsersFSFileInfoInput) error
- func (b BrowsersCmd) FSListFiles(ctx context.Context, in BrowsersFSListFilesInput) error
- func (b BrowsersCmd) FSMove(ctx context.Context, in BrowsersFSMoveInput) error
- func (b BrowsersCmd) FSNewDirectory(ctx context.Context, in BrowsersFSNewDirInput) error
- func (b BrowsersCmd) FSReadFile(ctx context.Context, in BrowsersFSReadFileInput) error
- func (b BrowsersCmd) FSSetPermissions(ctx context.Context, in BrowsersFSSetPermsInput) error
- func (b BrowsersCmd) FSUpload(ctx context.Context, in BrowsersFSUploadInput) error
- func (b BrowsersCmd) FSUploadZip(ctx context.Context, in BrowsersFSUploadZipInput) error
- func (b BrowsersCmd) FSWatchEvents(ctx context.Context, in BrowsersFSWatchEventsInput) error
- func (b BrowsersCmd) FSWatchStart(ctx context.Context, in BrowsersFSWatchStartInput) error
- func (b BrowsersCmd) FSWatchStop(ctx context.Context, in BrowsersFSWatchStopInput) error
- func (b BrowsersCmd) FSWriteFile(ctx context.Context, in BrowsersFSWriteFileInput) error
- func (b BrowsersCmd) Get(ctx context.Context, in BrowsersGetInput) error
- func (b BrowsersCmd) List(ctx context.Context, in BrowsersListInput) error
- func (b BrowsersCmd) LogsStream(ctx context.Context, in BrowsersLogsStreamInput) error
- func (b BrowsersCmd) PlaywrightExecute(ctx context.Context, in BrowsersPlaywrightExecuteInput) error
- func (b BrowsersCmd) PlaywrightExecutorsDelete(ctx context.Context, in BrowsersPlaywrightExecutorsDeleteInput) error
- func (b BrowsersCmd) PlaywrightExecutorsList(ctx context.Context, in BrowsersPlaywrightExecutorsListInput) error
- func (b BrowsersCmd) ProcessExec(ctx context.Context, in BrowsersProcessExecInput) error
- func (b BrowsersCmd) ProcessKill(ctx context.Context, in BrowsersProcessKillInput) error
- func (b BrowsersCmd) ProcessResize(ctx context.Context, in BrowsersProcessResizeInput) error
- func (b BrowsersCmd) ProcessSpawn(ctx context.Context, in BrowsersProcessSpawnInput) error
- func (b BrowsersCmd) ProcessStatus(ctx context.Context, in BrowsersProcessStatusInput) error
- func (b BrowsersCmd) ProcessStdin(ctx context.Context, in BrowsersProcessStdinInput) error
- func (b BrowsersCmd) ProcessStdoutStream(ctx context.Context, in BrowsersProcessStdoutStreamInput) error
- func (b BrowsersCmd) Repl(ctx context.Context, in BrowsersReplInput) error
- func (b BrowsersCmd) ReplaysDownload(ctx context.Context, in BrowsersReplaysDownloadInput) error
- func (b BrowsersCmd) ReplaysList(ctx context.Context, in BrowsersReplaysListInput) error
- func (b BrowsersCmd) ReplaysStart(ctx context.Context, in BrowsersReplaysStartInput) error
- func (b BrowsersCmd) ReplaysStop(ctx context.Context, in BrowsersReplaysStopInput) error
- func (b BrowsersCmd) SaveProfile(ctx context.Context, in BrowsersSaveProfileInput) error
- func (b BrowsersCmd) TelemetryEvents(ctx context.Context, in BrowsersTelemetryEventsInput) error
- func (b BrowsersCmd) TelemetryStream(ctx context.Context, in BrowsersTelemetryStreamInput) error
- func (b BrowsersCmd) Update(ctx context.Context, in BrowsersUpdateInput) error
- func (b BrowsersCmd) View(ctx context.Context, in BrowsersViewInput) error
- func (b BrowsersCmd) WebMCPInvoke(ctx context.Context, in BrowsersWebMCPInvokeInput) error
- func (b BrowsersCmd) WebMCPList(ctx context.Context, in BrowsersWebMCPListInput) error
- type BrowsersComputerBatchInput
- type BrowsersComputerClickMouseInput
- type BrowsersComputerDragMouseInput
- type BrowsersComputerGetMousePositionInput
- type BrowsersComputerMoveMouseInput
- type BrowsersComputerPressKeyInput
- type BrowsersComputerReadClipboardInput
- type BrowsersComputerScreenshotInput
- type BrowsersComputerScrollInput
- type BrowsersComputerSetCursorInput
- type BrowsersComputerTypeTextInput
- type BrowsersComputerWriteClipboardInput
- type BrowsersCreateInput
- type BrowsersCurlInput
- type BrowsersDeleteInput
- type BrowsersExtensionsUploadInput
- type BrowsersFSDeleteDirInput
- type BrowsersFSDeleteFileInput
- type BrowsersFSDownloadDirZipInput
- type BrowsersFSFileInfoInput
- type BrowsersFSListFilesInput
- type BrowsersFSMoveInput
- type BrowsersFSNewDirInput
- type BrowsersFSReadFileInput
- type BrowsersFSSetPermsInput
- type BrowsersFSUploadInput
- type BrowsersFSUploadZipInput
- type BrowsersFSWatchEventsInput
- type BrowsersFSWatchStartInput
- type BrowsersFSWatchStopInput
- type BrowsersFSWriteFileInput
- type BrowsersGetInput
- type BrowsersListInput
- type BrowsersLogsStreamInput
- type BrowsersPlaywrightExecuteInput
- type BrowsersPlaywrightExecutorsDeleteInput
- type BrowsersPlaywrightExecutorsListInput
- type BrowsersProcessExecInput
- type BrowsersProcessKillInput
- type BrowsersProcessResizeInput
- type BrowsersProcessSpawnInput
- type BrowsersProcessStatusInput
- type BrowsersProcessStdinInput
- type BrowsersProcessStdoutStreamInput
- type BrowsersReplInput
- type BrowsersReplaysDownloadInput
- type BrowsersReplaysListInput
- type BrowsersReplaysStartInput
- type BrowsersReplaysStopInput
- type BrowsersSaveProfileInput
- type BrowsersService
- type BrowsersTelemetryEventsInput
- type BrowsersTelemetryStreamInput
- type BrowsersUpdateInput
- type BrowsersViewInput
- type BrowsersWebMCPCustomToolsAddInput
- type BrowsersWebMCPCustomToolsCmd
- func (b BrowsersWebMCPCustomToolsCmd) Add(ctx context.Context, in BrowsersWebMCPCustomToolsAddInput) error
- func (b BrowsersWebMCPCustomToolsCmd) List(ctx context.Context, in BrowsersWebMCPCustomToolsListInput) error
- func (b BrowsersWebMCPCustomToolsCmd) Remove(ctx context.Context, identifier, id string) error
- type BrowsersWebMCPCustomToolsListInput
- type BrowsersWebMCPInvokeInput
- type BrowsersWebMCPListInput
- type CreateCmd
- type CredentialProvidersCmd
- func (c CredentialProvidersCmd) Create(ctx context.Context, in CredentialProvidersCreateInput) error
- func (c CredentialProvidersCmd) Delete(ctx context.Context, in CredentialProvidersDeleteInput) error
- func (c CredentialProvidersCmd) Get(ctx context.Context, in CredentialProvidersGetInput) error
- func (c CredentialProvidersCmd) List(ctx context.Context, in CredentialProvidersListInput) error
- func (c CredentialProvidersCmd) ListItems(ctx context.Context, in CredentialProvidersListItemsInput) error
- func (c CredentialProvidersCmd) Test(ctx context.Context, in CredentialProvidersTestInput) error
- func (c CredentialProvidersCmd) Update(ctx context.Context, in CredentialProvidersUpdateInput) error
- type CredentialProvidersCreateInput
- type CredentialProvidersDeleteInput
- type CredentialProvidersGetInput
- type CredentialProvidersListInput
- type CredentialProvidersListItemsInput
- type CredentialProvidersService
- type CredentialProvidersTestInput
- type CredentialProvidersUpdateInput
- type CredentialsCmd
- func (c CredentialsCmd) Create(ctx context.Context, in CredentialsCreateInput) error
- func (c CredentialsCmd) Delete(ctx context.Context, in CredentialsDeleteInput) error
- func (c CredentialsCmd) Get(ctx context.Context, in CredentialsGetInput) error
- func (c CredentialsCmd) List(ctx context.Context, in CredentialsListInput) error
- func (c CredentialsCmd) TotpCode(ctx context.Context, in CredentialsTotpCodeInput) error
- func (c CredentialsCmd) Update(ctx context.Context, in CredentialsUpdateInput) error
- type CredentialsCreateInput
- type CredentialsDeleteInput
- type CredentialsGetInput
- type CredentialsListInput
- type CredentialsService
- type CredentialsTotpCodeInput
- type CredentialsUpdateInput
- type ExtensionsCmd
- func (e ExtensionsCmd) Delete(ctx context.Context, in ExtensionsDeleteInput) error
- func (e ExtensionsCmd) Download(ctx context.Context, in ExtensionsDownloadInput) error
- func (e ExtensionsCmd) DownloadWebStore(ctx context.Context, in ExtensionsDownloadWebStoreInput) error
- func (e ExtensionsCmd) Get(ctx context.Context, in ExtensionsGetInput) error
- func (e ExtensionsCmd) List(ctx context.Context, in ExtensionsListInput) error
- func (e ExtensionsCmd) Upload(ctx context.Context, in ExtensionsUploadInput) error
- type ExtensionsDeleteInput
- type ExtensionsDownloadInput
- type ExtensionsDownloadWebStoreInput
- type ExtensionsGetInput
- type ExtensionsListInput
- type ExtensionsService
- type ExtensionsUploadInput
- type Int64Flag
- type JWTClaims
- type Metadata
- type OrgCmd
- type OrgEntitlementsInput
- type OrgEntitlementsService
- type OrgLimitsGetInput
- type OrgLimitsService
- type OrgLimitsSetInput
- type ProfilesCmd
- func (p ProfilesCmd) Create(ctx context.Context, in ProfilesCreateInput) error
- func (p ProfilesCmd) Delete(ctx context.Context, in ProfilesDeleteInput) error
- func (p ProfilesCmd) Download(ctx context.Context, in ProfilesDownloadInput) error
- func (p ProfilesCmd) Get(ctx context.Context, in ProfilesGetInput) error
- func (p ProfilesCmd) List(ctx context.Context, in ProfilesListInput) error
- func (p ProfilesCmd) Update(ctx context.Context, in ProfilesUpdateInput) error
- type ProfilesCreateInput
- type ProfilesDeleteInput
- type ProfilesDownloadInput
- type ProfilesGetInput
- type ProfilesListInput
- type ProfilesService
- type ProfilesUpdateInput
- type ProjectLimitsService
- type ProjectListService
- type ProjectsCmd
- func (c ProjectsCmd) Create(ctx context.Context, in ProjectsCreateInput) error
- func (c ProjectsCmd) Delete(ctx context.Context, in ProjectsDeleteInput) error
- func (c ProjectsCmd) Get(ctx context.Context, in ProjectsGetInput) error
- func (c ProjectsCmd) LimitsGet(ctx context.Context, in ProjectsLimitsGetInput) error
- func (c ProjectsCmd) LimitsSet(ctx context.Context, in ProjectsLimitsSetInput) error
- func (c ProjectsCmd) List(ctx context.Context, in ProjectsListInput) error
- func (c ProjectsCmd) Update(ctx context.Context, in ProjectsUpdateInput) error
- type ProjectsCreateInput
- type ProjectsDeleteInput
- type ProjectsGetInput
- type ProjectsLimitsGetInput
- type ProjectsLimitsSetInput
- type ProjectsListInput
- type ProjectsService
- type ProjectsUpdateInput
- type TelemetryDestinationsCmd
- func (c TelemetryDestinationsCmd) Create(ctx context.Context, in TelemetryDestinationsCreateInput) error
- func (c TelemetryDestinationsCmd) Delete(ctx context.Context, in TelemetryDestinationsDeleteInput) error
- func (c TelemetryDestinationsCmd) Get(ctx context.Context, in TelemetryDestinationsGetInput) error
- func (c TelemetryDestinationsCmd) List(ctx context.Context, in TelemetryDestinationsListInput) error
- func (c TelemetryDestinationsCmd) Update(ctx context.Context, in TelemetryDestinationsUpdateInput) error
- type TelemetryDestinationsCreateInput
- type TelemetryDestinationsDeleteInput
- type TelemetryDestinationsGetInput
- type TelemetryDestinationsListInput
- type TelemetryDestinationsService
- type TelemetryDestinationsUpdateInput
- type UpgradeCmd
- type UpgradeInput
- type VaultProviderConfigsCmd
- type VaultsCmd
- func (c VaultsCmd) Create(ctx context.Context, name, output string) error
- func (c VaultsCmd) CreateWallet(ctx context.Context, vault, key string, ...) error
- func (c VaultsCmd) Delete(ctx context.Context, vault, key string, yes bool) error
- func (c VaultsCmd) Events(ctx context.Context, vault, key, after string, wait int64, output string) error
- func (c VaultsCmd) Get(ctx context.Context, vault, output string) error
- func (c VaultsCmd) GetEncryptionKey(ctx context.Context, vault, output string) error
- func (c VaultsCmd) GetItem(ctx context.Context, vault, key string, wait int64, expand []string, ...) error
- func (c VaultsCmd) Invoke(ctx context.Context, vault, key, operation string, ...) error
- func (c VaultsCmd) List(ctx context.Context, limit, offset int64, query, project, output string) error
- func (c VaultsCmd) ListItems(ctx context.Context, vault, output string) error
- func (c VaultsCmd) SaveCard(ctx context.Context, vault, key string, ...) error
- func (c VaultsCmd) SavePaymentRequest(ctx context.Context, vault, key string, ...) error
Constants ¶
const (
MaxExtensionSizeBytes = 50 * 1024 * 1024 // 50MB
)
Variables ¶
This section is empty.
Functions ¶
func PrintTableNoPad ¶
PrintTableNoPad is a wrapper around pkg/table.PrintTableNoPad for backwards compatibility
Types ¶
type APIKeysCmd ¶ added in v0.19.3
type APIKeysCmd struct {
// contains filtered or unexported fields
}
func (APIKeysCmd) Create ¶ added in v0.19.3
func (c APIKeysCmd) Create(ctx context.Context, in APIKeysCreateInput) error
func (APIKeysCmd) Delete ¶ added in v0.19.3
func (c APIKeysCmd) Delete(ctx context.Context, in APIKeysDeleteInput) error
func (APIKeysCmd) Get ¶ added in v0.19.3
func (c APIKeysCmd) Get(ctx context.Context, in APIKeysGetInput) error
func (APIKeysCmd) List ¶ added in v0.19.3
func (c APIKeysCmd) List(ctx context.Context, in APIKeysListInput) error
func (APIKeysCmd) Rotate ¶ added in v0.25.0
func (c APIKeysCmd) Rotate(ctx context.Context, in APIKeysRotateInput) error
Rotate issues a replacement API key. The rotated key keeps working until its grace period elapses, so this is disruptive but not immediately breaking -- it still prompts, since the old key does eventually stop working.
func (APIKeysCmd) Update ¶ added in v0.19.3
func (c APIKeysCmd) Update(ctx context.Context, in APIKeysUpdateInput) error
type APIKeysCreateInput ¶ added in v0.19.3
type APIKeysDeleteInput ¶ added in v0.19.3
type APIKeysGetInput ¶ added in v0.19.3
type APIKeysListInput ¶ added in v0.19.3
type APIKeysRotateInput ¶ added in v0.25.0
type APIKeysService ¶ added in v0.19.3
type APIKeysService interface {
New(ctx context.Context, body kernel.APIKeyNewParams, opts ...option.RequestOption) (*kernel.CreatedAPIKey, error)
Get(ctx context.Context, id string, query kernel.APIKeyGetParams, opts ...option.RequestOption) (*kernel.APIKey, error)
Update(ctx context.Context, id string, body kernel.APIKeyUpdateParams, opts ...option.RequestOption) (*kernel.APIKey, error)
List(ctx context.Context, query kernel.APIKeyListParams, opts ...option.RequestOption) (*pagination.OffsetPagination[kernel.APIKey], error)
Rotate(ctx context.Context, id string, body kernel.APIKeyRotateParams, opts ...option.RequestOption) (*kernel.CreatedAPIKey, error)
Delete(ctx context.Context, id string, opts ...option.RequestOption) error
}
type APIKeysUpdateInput ¶ added in v0.19.3
type AuditLogsCmd ¶ added in v0.21.0
type AuditLogsCmd struct {
// contains filtered or unexported fields
}
func (AuditLogsCmd) Download ¶ added in v0.22.0
func (c AuditLogsCmd) Download(ctx context.Context, in AuditLogsDownloadInput) error
func (AuditLogsCmd) Search ¶ added in v0.21.0
func (c AuditLogsCmd) Search(ctx context.Context, in AuditLogsSearchInput) error
type AuditLogsDownloadInput ¶ added in v0.22.0
type AuditLogsExportCmd ¶ added in v0.27.1
type AuditLogsExportCmd struct {
// contains filtered or unexported fields
}
func (AuditLogsExportCmd) Create ¶ added in v0.27.1
func (c AuditLogsExportCmd) Create(ctx context.Context, in AuditLogsExportCreateInput) error
func (AuditLogsExportCmd) Delete ¶ added in v0.27.1
func (c AuditLogsExportCmd) Delete(ctx context.Context, in AuditLogsExportDeleteInput) error
func (AuditLogsExportCmd) Get ¶ added in v0.27.1
func (c AuditLogsExportCmd) Get(ctx context.Context, in AuditLogsExportGetInput) error
func (AuditLogsExportCmd) List ¶ added in v0.27.1
func (c AuditLogsExportCmd) List(ctx context.Context, in AuditLogsExportListInput) error
func (AuditLogsExportCmd) SetStatus ¶ added in v0.27.1
func (c AuditLogsExportCmd) SetStatus(ctx context.Context, in AuditLogsExportStatusInput) error
func (AuditLogsExportCmd) Test ¶ added in v0.27.1
func (c AuditLogsExportCmd) Test(ctx context.Context, in AuditLogsExportTestInput) error
func (AuditLogsExportCmd) Update ¶ added in v0.27.1
func (c AuditLogsExportCmd) Update(ctx context.Context, in AuditLogsExportUpdateInput) error
type AuditLogsExportCreateInput ¶ added in v0.27.1
type AuditLogsExportDeleteInput ¶ added in v0.27.1
type AuditLogsExportDeleteInput struct {
ID string
}
type AuditLogsExportGetInput ¶ added in v0.27.1
type AuditLogsExportListInput ¶ added in v0.27.1
type AuditLogsExportService ¶ added in v0.27.1
type AuditLogsExportService interface {
Create(ctx context.Context, body kernel.AuditLogExportDestinationNewParams) (*kernel.AuditLogExportDestination, error)
List(ctx context.Context, query kernel.AuditLogExportDestinationListParams) ([]kernel.AuditLogExportDestination, auditLogExportListPageInfo, error)
Get(ctx context.Context, id string) (*kernel.AuditLogExportDestination, error)
Update(ctx context.Context, id string, body kernel.AuditLogExportDestinationUpdateParams) (*kernel.AuditLogExportDestination, error)
Delete(ctx context.Context, id string) error
Test(ctx context.Context, id string) (*kernel.AuditLogExportDestinationTestResult, error)
}
type AuditLogsExportStatusInput ¶ added in v0.27.1
type AuditLogsExportTestInput ¶ added in v0.27.1
type AuditLogsExportUpdateInput ¶ added in v0.27.1
type AuditLogsSearchInput ¶ added in v0.21.0
type AuditLogsService ¶ added in v0.21.0
type AuditLogsService interface {
ListAutoPaging(ctx context.Context, query kernel.AuditLogListParams, opts ...option.RequestOption) *pagination.PageTokenPaginationAutoPager[kernel.AuditLogEntry]
ExportChunk(ctx context.Context, query kernel.AuditLogExportChunkParams, opts ...option.RequestOption) (*http.Response, error)
}
type AuthConnectionCmd ¶ added in v0.14.8
type AuthConnectionCmd struct {
// contains filtered or unexported fields
}
AuthConnectionCmd handles auth connection operations independent of cobra.
func (AuthConnectionCmd) Create ¶ added in v0.14.8
func (c AuthConnectionCmd) Create(ctx context.Context, in AuthConnectionCreateInput) error
func (AuthConnectionCmd) Delete ¶ added in v0.14.8
func (c AuthConnectionCmd) Delete(ctx context.Context, in AuthConnectionDeleteInput) error
func (AuthConnectionCmd) Follow ¶ added in v0.14.8
func (c AuthConnectionCmd) Follow(ctx context.Context, in AuthConnectionFollowInput) error
func (AuthConnectionCmd) Get ¶ added in v0.14.8
func (c AuthConnectionCmd) Get(ctx context.Context, in AuthConnectionGetInput) error
func (AuthConnectionCmd) List ¶ added in v0.14.8
func (c AuthConnectionCmd) List(ctx context.Context, in AuthConnectionListInput) error
func (AuthConnectionCmd) Login ¶ added in v0.14.8
func (c AuthConnectionCmd) Login(ctx context.Context, in AuthConnectionLoginInput) error
func (AuthConnectionCmd) Submit ¶ added in v0.14.8
func (c AuthConnectionCmd) Submit(ctx context.Context, in AuthConnectionSubmitInput) error
func (AuthConnectionCmd) Timeline ¶ added in v0.25.0
func (c AuthConnectionCmd) Timeline(ctx context.Context, in AuthConnectionTimelineInput) error
func (AuthConnectionCmd) Update ¶ added in v0.15.7
func (c AuthConnectionCmd) Update(ctx context.Context, in AuthConnectionUpdateInput) error
type AuthConnectionCreateInput ¶ added in v0.14.8
type AuthConnectionCreateInput struct {
Domain string
ProfileName string
LoginURL string
AllowedDomains []string
CredentialName string
CredentialProvider string
CredentialPath string
CredentialAuto bool
ProxyID string
ProxyName string
ProxyMode string
Region string
Stealth BoolFlag
SaveCredentials bool
NoSaveCredentials bool
HealthCheckInterval int
NoHealthChecks bool
NoAutoReauth bool
Hitl BoolFlag
RecordSession BoolFlag
Telemetry string
TelemetryCdpExclude string
TelemetryExport string
TelemetryStorage string
Output string
}
type AuthConnectionDeleteInput ¶ added in v0.14.8
type AuthConnectionFollowInput ¶ added in v0.14.8
type AuthConnectionGetInput ¶ added in v0.14.8
type AuthConnectionListInput ¶ added in v0.14.8
type AuthConnectionLoginInput ¶ added in v0.14.8
type AuthConnectionService ¶ added in v0.14.8
type AuthConnectionService interface {
New(ctx context.Context, body kernel.AuthConnectionNewParams, opts ...option.RequestOption) (res *kernel.ManagedAuth, err error)
Get(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.ManagedAuth, err error)
Update(ctx context.Context, id string, body kernel.AuthConnectionUpdateParams, opts ...option.RequestOption) (res *kernel.ManagedAuth, err error)
List(ctx context.Context, query kernel.AuthConnectionListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.ManagedAuth], err error)
Delete(ctx context.Context, id string, opts ...option.RequestOption) (err error)
Login(ctx context.Context, id string, body kernel.AuthConnectionLoginParams, opts ...option.RequestOption) (res *kernel.LoginResponse, err error)
Submit(ctx context.Context, id string, body kernel.AuthConnectionSubmitParams, opts ...option.RequestOption) (res *kernel.SubmitFieldsResponse, err error)
Timeline(ctx context.Context, id string, query kernel.AuthConnectionTimelineParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.ManagedAuthTimelineEvent], err error)
FollowStreaming(ctx context.Context, id string, opts ...option.RequestOption) (stream *ssestream.Stream[kernel.AuthConnectionFollowResponseUnion])
}
AuthConnectionService defines the subset of the Kernel SDK auth connection client that we use.
type AuthConnectionSubmitInput ¶ added in v0.14.8
type AuthConnectionSubmitInput struct {
ID string
// FieldValues holds legacy --field name=value pairs, submitted as `fields`.
FieldValues map[string]string
// CanonicalFieldValues holds --field-value id=value pairs, submitted as the
// canonical `field_values` keyed by the field IDs the API returned.
CanonicalFieldValues map[string]string
// SelectedChoiceID is the canonical choice ID from the API's `choices` list.
SelectedChoiceID string
// InteractionID pins the submission to the canonical interaction the values
// were read from. Left empty, the CLI reads the connection's current
// interaction ID, since the API requires one for canonical submissions.
InteractionID string
MfaOptionID string
SignInOptionID string
SSOButtonSelector string
SSOProvider string
Output string
}
type AuthConnectionTimelineInput ¶ added in v0.25.0
type AuthConnectionUpdateInput ¶ added in v0.15.7
type AuthConnectionUpdateInput struct {
ID string
LoginURL string
LoginURLSet bool
AllowedDomains []string
AllowedDomainsSet bool
CredentialName string
CredentialNameSet bool
CredentialProvider string
CredentialProviderSet bool
CredentialPath string
CredentialPathSet bool
CredentialAuto BoolFlag
ProxyID string
ProxyIDSet bool
ProxyName string
ProxyNameSet bool
ProxyMode string
Region string
Stealth BoolFlag
SaveCredentials BoolFlag
HealthCheckInterval int
HealthCheckIntervalSet bool
HealthChecks BoolFlag
AutoReauth BoolFlag
Hitl BoolFlag
RecordSession BoolFlag
Telemetry string
TelemetryCdpExclude string
TelemetryExport string
TelemetryStorage string
Output string
}
type AuthContextCmd ¶ added in v0.30.0
type AuthContextCmd struct {
// contains filtered or unexported fields
}
AuthContextCmd handles auth context operations independent of cobra.
func (AuthContextCmd) Get ¶ added in v0.30.0
func (c AuthContextCmd) Get(ctx context.Context, in AuthContextGetInput) error
type AuthContextGetInput ¶ added in v0.30.0
type AuthContextGetInput struct {
Output string
}
type AuthContextService ¶ added in v0.30.0
type AuthContextService interface {
Get(ctx context.Context, opts ...option.RequestOption) (res *kernel.AuthContext, err error)
}
AuthContextService defines the subset of the Kernel SDK auth context client that we use.
type BrowserComputerService ¶
type BrowserComputerService interface {
Batch(ctx context.Context, idOrName string, body kernel.BrowserComputerBatchParams, opts ...option.RequestOption) (err error)
CaptureScreenshot(ctx context.Context, idOrName string, body kernel.BrowserComputerCaptureScreenshotParams, opts ...option.RequestOption) (res *http.Response, err error)
ClickMouse(ctx context.Context, idOrName string, body kernel.BrowserComputerClickMouseParams, opts ...option.RequestOption) (err error)
DragMouse(ctx context.Context, idOrName string, body kernel.BrowserComputerDragMouseParams, opts ...option.RequestOption) (err error)
GetMousePosition(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.BrowserComputerGetMousePositionResponse, err error)
MoveMouse(ctx context.Context, idOrName string, body kernel.BrowserComputerMoveMouseParams, opts ...option.RequestOption) (err error)
PressKey(ctx context.Context, idOrName string, body kernel.BrowserComputerPressKeyParams, opts ...option.RequestOption) (err error)
ReadClipboard(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.BrowserComputerReadClipboardResponse, err error)
Scroll(ctx context.Context, idOrName string, body kernel.BrowserComputerScrollParams, opts ...option.RequestOption) (err error)
SetCursorVisibility(ctx context.Context, idOrName string, body kernel.BrowserComputerSetCursorVisibilityParams, opts ...option.RequestOption) (res *kernel.BrowserComputerSetCursorVisibilityResponse, err error)
TypeText(ctx context.Context, idOrName string, body kernel.BrowserComputerTypeTextParams, opts ...option.RequestOption) (err error)
WriteClipboard(ctx context.Context, idOrName string, body kernel.BrowserComputerWriteClipboardParams, opts ...option.RequestOption) (err error)
}
BrowserComputerService defines the subset we use for OS-level mouse & screen.
type BrowserFSService ¶
type BrowserFSService interface {
NewDirectory(ctx context.Context, idOrName string, body kernel.BrowserFNewDirectoryParams, opts ...option.RequestOption) (err error)
DeleteDirectory(ctx context.Context, idOrName string, body kernel.BrowserFDeleteDirectoryParams, opts ...option.RequestOption) (err error)
DeleteFile(ctx context.Context, idOrName string, body kernel.BrowserFDeleteFileParams, opts ...option.RequestOption) (err error)
DownloadDirZip(ctx context.Context, idOrName string, query kernel.BrowserFDownloadDirZipParams, opts ...option.RequestOption) (res *http.Response, err error)
FileInfo(ctx context.Context, idOrName string, query kernel.BrowserFFileInfoParams, opts ...option.RequestOption) (res *kernel.BrowserFFileInfoResponse, err error)
ListFiles(ctx context.Context, idOrName string, query kernel.BrowserFListFilesParams, opts ...option.RequestOption) (res *[]kernel.BrowserFListFilesResponse, err error)
Move(ctx context.Context, idOrName string, body kernel.BrowserFMoveParams, opts ...option.RequestOption) (err error)
ReadFile(ctx context.Context, idOrName string, query kernel.BrowserFReadFileParams, opts ...option.RequestOption) (res *http.Response, err error)
SetFilePermissions(ctx context.Context, idOrName string, body kernel.BrowserFSetFilePermissionsParams, opts ...option.RequestOption) (err error)
Upload(ctx context.Context, idOrName string, body kernel.BrowserFUploadParams, opts ...option.RequestOption) (err error)
UploadZip(ctx context.Context, idOrName string, body kernel.BrowserFUploadZipParams, opts ...option.RequestOption) (err error)
WriteFile(ctx context.Context, idOrName string, contents io.Reader, body kernel.BrowserFWriteFileParams, opts ...option.RequestOption) (err error)
}
BrowserFSService defines the subset we use for browser filesystem APIs.
type BrowserFWatchService ¶ added in v0.14.0
type BrowserFWatchService interface {
EventsStreaming(ctx context.Context, watchID string, query kernel.BrowserFWatchEventsParams, opts ...option.RequestOption) (stream *ssestream.Stream[kernel.BrowserFWatchEventsResponse])
Start(ctx context.Context, idOrName string, body kernel.BrowserFWatchStartParams, opts ...option.RequestOption) (res *kernel.BrowserFWatchStartResponse, err error)
Stop(ctx context.Context, watchID string, body kernel.BrowserFWatchStopParams, opts ...option.RequestOption) (err error)
}
BrowserFWatchService defines the subset we use for browser filesystem watch APIs.
type BrowserLogService ¶
type BrowserLogService interface {
StreamStreaming(ctx context.Context, idOrName string, query kernel.BrowserLogStreamParams, opts ...option.RequestOption) (stream *ssestream.Stream[shared.LogEvent])
}
BrowserLogService defines the subset we use for browser log APIs.
type BrowserPlaywrightExecutorService ¶ added in v0.46.0
type BrowserPlaywrightExecutorService interface {
List(ctx context.Context, idOrName string, opts ...option.RequestOption) (*kernel.ExecutorList, error)
Delete(ctx context.Context, name string, params kernel.BrowserPlaywrightExecutorDeleteParams, opts ...option.RequestOption) error
}
BrowserPlaywrightExecutorService defines the subset we use for Playwright executors.
type BrowserPlaywrightService ¶
type BrowserPlaywrightService interface {
Execute(ctx context.Context, idOrName string, body kernel.BrowserPlaywrightExecuteParams, opts ...option.RequestOption) (res *kernel.BrowserPlaywrightExecuteResponse, err error)
}
BrowserPlaywrightService defines the subset we use for Playwright execution.
type BrowserPoolsCmd ¶
type BrowserPoolsCmd struct {
// contains filtered or unexported fields
}
func (BrowserPoolsCmd) Acquire ¶
func (c BrowserPoolsCmd) Acquire(ctx context.Context, in BrowserPoolsAcquireInput) error
func (BrowserPoolsCmd) Create ¶
func (c BrowserPoolsCmd) Create(ctx context.Context, in BrowserPoolsCreateInput) error
func (BrowserPoolsCmd) Delete ¶
func (c BrowserPoolsCmd) Delete(ctx context.Context, in BrowserPoolsDeleteInput) error
func (BrowserPoolsCmd) Flush ¶
func (c BrowserPoolsCmd) Flush(ctx context.Context, in BrowserPoolsFlushInput) error
func (BrowserPoolsCmd) Get ¶
func (c BrowserPoolsCmd) Get(ctx context.Context, in BrowserPoolsGetInput) error
func (BrowserPoolsCmd) List ¶
func (c BrowserPoolsCmd) List(ctx context.Context, in BrowserPoolsListInput) error
func (BrowserPoolsCmd) Release ¶
func (c BrowserPoolsCmd) Release(ctx context.Context, in BrowserPoolsReleaseInput) error
func (BrowserPoolsCmd) Update ¶
func (c BrowserPoolsCmd) Update(ctx context.Context, in BrowserPoolsUpdateInput) error
type BrowserPoolsCreateInput ¶
type BrowserPoolsCreateInput struct {
Name string
Size int64
FillRate int64
TimeoutSeconds int64
Stealth BoolFlag
Headless BoolFlag
Kiosk BoolFlag
Memory string
RefreshOnProfileUpdate BoolFlag
ProfileID string
ProfileName string
ProxyID string
Region string
PrivateHosts []string
ProxyRoutes []string
AllowedHosts []string
AllowedHostsProvided bool
StartURL string
Extensions []string
Viewport string
ChromePolicy string
ChromePolicyFile string
Telemetry string
TelemetryCdpExclude string
Output string
}
type BrowserPoolsDeleteInput ¶
type BrowserPoolsFlushInput ¶
type BrowserPoolsFlushInput struct {
IDOrName string
}
type BrowserPoolsGetInput ¶
type BrowserPoolsListInput ¶
type BrowserPoolsService ¶
type BrowserPoolsService interface {
List(ctx context.Context, query kernel.BrowserPoolListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.BrowserPool], err error)
New(ctx context.Context, body kernel.BrowserPoolNewParams, opts ...option.RequestOption) (res *kernel.BrowserPool, err error)
Get(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.BrowserPool, err error)
Update(ctx context.Context, id string, body kernel.BrowserPoolUpdateParams, opts ...option.RequestOption) (res *kernel.BrowserPool, err error)
Delete(ctx context.Context, id string, body kernel.BrowserPoolDeleteParams, opts ...option.RequestOption) (err error)
Acquire(ctx context.Context, id string, body kernel.BrowserPoolAcquireParams, opts ...option.RequestOption) (res *kernel.BrowserPoolAcquireResponse, err error)
Release(ctx context.Context, id string, body kernel.BrowserPoolReleaseParams, opts ...option.RequestOption) (err error)
Flush(ctx context.Context, id string, opts ...option.RequestOption) (err error)
}
BrowserPoolsService defines the subset of the Kernel SDK browser pools client that we use.
type BrowserPoolsUpdateInput ¶
type BrowserPoolsUpdateInput struct {
IDOrName string
Name string
Size int64
FillRate Int64Flag
TimeoutSeconds int64
Stealth BoolFlag
Headless BoolFlag
Kiosk BoolFlag
Memory string
RefreshOnProfileUpdate BoolFlag
ProfileID string
ProfileName string
ClearProfile bool
ProxyID string
ClearProxy bool
StartURL string
ClearStartURL bool
Extensions []string
ClearExtensions bool
PrivateHosts []string
ClearPrivateHosts bool
ProxyRoutes []string
ClearProxyRoutes bool
AllowedHosts []string
AllowedHostsProvided bool
ClearAllowedHosts bool
ExpectedNetwork string
ExpectedNetworkSet bool
Viewport string
ChromePolicy string
ChromePolicyFile string
ClearChromePolicy bool
Telemetry string
TelemetryCdpExclude string
DiscardAllIdle BoolFlag
Output string
}
type BrowserProcessService ¶
type BrowserProcessService interface {
Exec(ctx context.Context, idOrName string, body kernel.BrowserProcessExecParams, opts ...option.RequestOption) (res *kernel.BrowserProcessExecResponse, err error)
Kill(ctx context.Context, processID string, params kernel.BrowserProcessKillParams, opts ...option.RequestOption) (res *kernel.BrowserProcessKillResponse, err error)
Resize(ctx context.Context, processID string, params kernel.BrowserProcessResizeParams, opts ...option.RequestOption) (res *kernel.BrowserProcessResizeResponse, err error)
Spawn(ctx context.Context, idOrName string, body kernel.BrowserProcessSpawnParams, opts ...option.RequestOption) (res *kernel.BrowserProcessSpawnResponse, err error)
Status(ctx context.Context, processID string, query kernel.BrowserProcessStatusParams, opts ...option.RequestOption) (res *kernel.BrowserProcessStatusResponse, err error)
Stdin(ctx context.Context, processID string, params kernel.BrowserProcessStdinParams, opts ...option.RequestOption) (res *kernel.BrowserProcessStdinResponse, err error)
StdoutStreamStreaming(ctx context.Context, processID string, query kernel.BrowserProcessStdoutStreamParams, opts ...option.RequestOption) (stream *ssestream.Stream[kernel.BrowserProcessStdoutStreamResponse])
}
BrowserProcessService defines the subset we use for browser process APIs.
type BrowserReplaysService ¶
type BrowserReplaysService interface {
List(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *[]kernel.BrowserReplayListResponse, err error)
Download(ctx context.Context, replayID string, query kernel.BrowserReplayDownloadParams, opts ...option.RequestOption) (res *http.Response, err error)
Start(ctx context.Context, idOrName string, body kernel.BrowserReplayStartParams, opts ...option.RequestOption) (res *kernel.BrowserReplayStartResponse, err error)
Stop(ctx context.Context, replayID string, body kernel.BrowserReplayStopParams, opts ...option.RequestOption) (err error)
}
BrowserReplaysService defines the subset we use for browser replays.
type BrowserTelemetryService ¶ added in v0.19.3
type BrowserTelemetryService interface {
StreamStreaming(ctx context.Context, id string, query kernel.BrowserTelemetryStreamParams, opts ...option.RequestOption) (stream *ssestream.Stream[kernel.BrowserTelemetryStreamResponse])
Events(ctx context.Context, id string, query kernel.BrowserTelemetryEventsParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.BrowserTelemetryEventsResponse], err error)
EventsAutoPaging(ctx context.Context, id string, query kernel.BrowserTelemetryEventsParams, opts ...option.RequestOption) *pagination.OffsetPaginationAutoPager[kernel.BrowserTelemetryEventsResponse]
}
BrowserTelemetryService defines the subset we use for browser telemetry streaming.
type BrowserWebMCPCustomToolsService ¶ added in v0.41.0
type BrowserWebMCPCustomToolsService interface {
List(ctx context.Context, idOrName string, opts ...option.RequestOption) (*kernel.CustomToolsResponse, error)
Add(ctx context.Context, idOrName string, body kernel.BrowserWebmcpCustomToolAddParams, opts ...option.RequestOption) (*kernel.CustomToolsResponse, error)
Remove(ctx context.Context, id string, body kernel.BrowserWebmcpCustomToolRemoveParams, opts ...option.RequestOption) error
}
type BrowserWebMCPService ¶ added in v0.35.0
type BrowserWebMCPService interface {
ListTools(ctx context.Context, idOrName string, query kernel.BrowserWebmcpListToolsParams, opts ...option.RequestOption) (*kernel.ToolsResponse, error)
InvokeTool(ctx context.Context, idOrName string, body kernel.BrowserWebmcpInvokeToolParams, opts ...option.RequestOption) (*kernel.InvocationResult, error)
}
BrowserWebMCPService defines the subset we use for WebMCP tools.
type BrowsersCmd ¶
type BrowsersCmd struct {
// contains filtered or unexported fields
}
BrowsersCmd is a cobra-independent command handler for browsers operations.
func (BrowsersCmd) ComputerBatch ¶ added in v0.14.11
func (b BrowsersCmd) ComputerBatch(ctx context.Context, in BrowsersComputerBatchInput) error
func (BrowsersCmd) ComputerClickMouse ¶
func (b BrowsersCmd) ComputerClickMouse(ctx context.Context, in BrowsersComputerClickMouseInput) error
func (BrowsersCmd) ComputerDragMouse ¶
func (b BrowsersCmd) ComputerDragMouse(ctx context.Context, in BrowsersComputerDragMouseInput) error
func (BrowsersCmd) ComputerGetMousePosition ¶ added in v0.14.11
func (b BrowsersCmd) ComputerGetMousePosition(ctx context.Context, in BrowsersComputerGetMousePositionInput) error
func (BrowsersCmd) ComputerMoveMouse ¶
func (b BrowsersCmd) ComputerMoveMouse(ctx context.Context, in BrowsersComputerMoveMouseInput) error
func (BrowsersCmd) ComputerPressKey ¶
func (b BrowsersCmd) ComputerPressKey(ctx context.Context, in BrowsersComputerPressKeyInput) error
func (BrowsersCmd) ComputerReadClipboard ¶ added in v0.15.6
func (b BrowsersCmd) ComputerReadClipboard(ctx context.Context, in BrowsersComputerReadClipboardInput) error
func (BrowsersCmd) ComputerScreenshot ¶
func (b BrowsersCmd) ComputerScreenshot(ctx context.Context, in BrowsersComputerScreenshotInput) error
func (BrowsersCmd) ComputerScroll ¶
func (b BrowsersCmd) ComputerScroll(ctx context.Context, in BrowsersComputerScrollInput) error
func (BrowsersCmd) ComputerSetCursor ¶
func (b BrowsersCmd) ComputerSetCursor(ctx context.Context, in BrowsersComputerSetCursorInput) error
func (BrowsersCmd) ComputerTypeText ¶
func (b BrowsersCmd) ComputerTypeText(ctx context.Context, in BrowsersComputerTypeTextInput) error
func (BrowsersCmd) ComputerWriteClipboard ¶ added in v0.15.6
func (b BrowsersCmd) ComputerWriteClipboard(ctx context.Context, in BrowsersComputerWriteClipboardInput) error
func (BrowsersCmd) Create ¶
func (b BrowsersCmd) Create(ctx context.Context, in BrowsersCreateInput) error
func (BrowsersCmd) Curl ¶ added in v0.18.0
func (b BrowsersCmd) Curl(ctx context.Context, in BrowsersCurlInput) error
func (BrowsersCmd) Delete ¶
func (b BrowsersCmd) Delete(ctx context.Context, in BrowsersDeleteInput) error
func (BrowsersCmd) ExtensionsUpload ¶
func (b BrowsersCmd) ExtensionsUpload(ctx context.Context, in BrowsersExtensionsUploadInput) error
func (BrowsersCmd) FSDeleteDirectory ¶
func (b BrowsersCmd) FSDeleteDirectory(ctx context.Context, in BrowsersFSDeleteDirInput) error
func (BrowsersCmd) FSDeleteFile ¶
func (b BrowsersCmd) FSDeleteFile(ctx context.Context, in BrowsersFSDeleteFileInput) error
func (BrowsersCmd) FSDownloadDirZip ¶
func (b BrowsersCmd) FSDownloadDirZip(ctx context.Context, in BrowsersFSDownloadDirZipInput) error
func (BrowsersCmd) FSFileInfo ¶
func (b BrowsersCmd) FSFileInfo(ctx context.Context, in BrowsersFSFileInfoInput) error
func (BrowsersCmd) FSListFiles ¶
func (b BrowsersCmd) FSListFiles(ctx context.Context, in BrowsersFSListFilesInput) error
func (BrowsersCmd) FSMove ¶
func (b BrowsersCmd) FSMove(ctx context.Context, in BrowsersFSMoveInput) error
func (BrowsersCmd) FSNewDirectory ¶
func (b BrowsersCmd) FSNewDirectory(ctx context.Context, in BrowsersFSNewDirInput) error
func (BrowsersCmd) FSReadFile ¶
func (b BrowsersCmd) FSReadFile(ctx context.Context, in BrowsersFSReadFileInput) error
func (BrowsersCmd) FSSetPermissions ¶
func (b BrowsersCmd) FSSetPermissions(ctx context.Context, in BrowsersFSSetPermsInput) error
func (BrowsersCmd) FSUpload ¶
func (b BrowsersCmd) FSUpload(ctx context.Context, in BrowsersFSUploadInput) error
func (BrowsersCmd) FSUploadZip ¶
func (b BrowsersCmd) FSUploadZip(ctx context.Context, in BrowsersFSUploadZipInput) error
func (BrowsersCmd) FSWatchEvents ¶ added in v0.14.0
func (b BrowsersCmd) FSWatchEvents(ctx context.Context, in BrowsersFSWatchEventsInput) error
func (BrowsersCmd) FSWatchStart ¶ added in v0.14.0
func (b BrowsersCmd) FSWatchStart(ctx context.Context, in BrowsersFSWatchStartInput) error
FS Watch
func (BrowsersCmd) FSWatchStop ¶ added in v0.14.0
func (b BrowsersCmd) FSWatchStop(ctx context.Context, in BrowsersFSWatchStopInput) error
func (BrowsersCmd) FSWriteFile ¶
func (b BrowsersCmd) FSWriteFile(ctx context.Context, in BrowsersFSWriteFileInput) error
func (BrowsersCmd) Get ¶
func (b BrowsersCmd) Get(ctx context.Context, in BrowsersGetInput) error
func (BrowsersCmd) List ¶
func (b BrowsersCmd) List(ctx context.Context, in BrowsersListInput) error
func (BrowsersCmd) LogsStream ¶
func (b BrowsersCmd) LogsStream(ctx context.Context, in BrowsersLogsStreamInput) error
func (BrowsersCmd) PlaywrightExecute ¶
func (b BrowsersCmd) PlaywrightExecute(ctx context.Context, in BrowsersPlaywrightExecuteInput) error
func (BrowsersCmd) PlaywrightExecutorsDelete ¶ added in v0.46.0
func (b BrowsersCmd) PlaywrightExecutorsDelete(ctx context.Context, in BrowsersPlaywrightExecutorsDeleteInput) error
func (BrowsersCmd) PlaywrightExecutorsList ¶ added in v0.46.0
func (b BrowsersCmd) PlaywrightExecutorsList(ctx context.Context, in BrowsersPlaywrightExecutorsListInput) error
func (BrowsersCmd) ProcessExec ¶
func (b BrowsersCmd) ProcessExec(ctx context.Context, in BrowsersProcessExecInput) error
func (BrowsersCmd) ProcessKill ¶
func (b BrowsersCmd) ProcessKill(ctx context.Context, in BrowsersProcessKillInput) error
func (BrowsersCmd) ProcessResize ¶ added in v0.14.0
func (b BrowsersCmd) ProcessResize(ctx context.Context, in BrowsersProcessResizeInput) error
func (BrowsersCmd) ProcessSpawn ¶
func (b BrowsersCmd) ProcessSpawn(ctx context.Context, in BrowsersProcessSpawnInput) error
func (BrowsersCmd) ProcessStatus ¶
func (b BrowsersCmd) ProcessStatus(ctx context.Context, in BrowsersProcessStatusInput) error
func (BrowsersCmd) ProcessStdin ¶
func (b BrowsersCmd) ProcessStdin(ctx context.Context, in BrowsersProcessStdinInput) error
func (BrowsersCmd) ProcessStdoutStream ¶
func (b BrowsersCmd) ProcessStdoutStream(ctx context.Context, in BrowsersProcessStdoutStreamInput) error
func (BrowsersCmd) Repl ¶ added in v0.38.2
func (b BrowsersCmd) Repl(ctx context.Context, in BrowsersReplInput) error
func (BrowsersCmd) ReplaysDownload ¶
func (b BrowsersCmd) ReplaysDownload(ctx context.Context, in BrowsersReplaysDownloadInput) error
func (BrowsersCmd) ReplaysList ¶
func (b BrowsersCmd) ReplaysList(ctx context.Context, in BrowsersReplaysListInput) error
func (BrowsersCmd) ReplaysStart ¶
func (b BrowsersCmd) ReplaysStart(ctx context.Context, in BrowsersReplaysStartInput) error
func (BrowsersCmd) ReplaysStop ¶
func (b BrowsersCmd) ReplaysStop(ctx context.Context, in BrowsersReplaysStopInput) error
func (BrowsersCmd) SaveProfile ¶ added in v0.51.0
func (b BrowsersCmd) SaveProfile(ctx context.Context, in BrowsersSaveProfileInput) error
func (BrowsersCmd) TelemetryEvents ¶ added in v0.21.0
func (b BrowsersCmd) TelemetryEvents(ctx context.Context, in BrowsersTelemetryEventsInput) error
func (BrowsersCmd) TelemetryStream ¶ added in v0.19.3
func (b BrowsersCmd) TelemetryStream(ctx context.Context, in BrowsersTelemetryStreamInput) error
func (BrowsersCmd) Update ¶ added in v0.13.5
func (b BrowsersCmd) Update(ctx context.Context, in BrowsersUpdateInput) error
func (BrowsersCmd) View ¶
func (b BrowsersCmd) View(ctx context.Context, in BrowsersViewInput) error
func (BrowsersCmd) WebMCPInvoke ¶ added in v0.35.0
func (b BrowsersCmd) WebMCPInvoke(ctx context.Context, in BrowsersWebMCPInvokeInput) error
func (BrowsersCmd) WebMCPList ¶ added in v0.35.0
func (b BrowsersCmd) WebMCPList(ctx context.Context, in BrowsersWebMCPListInput) error
type BrowsersComputerBatchInput ¶ added in v0.14.11
type BrowsersComputerClickMouseInput ¶
type BrowsersComputerClickMouseInput struct {
Identifier string
X int64
Y int64
NumClicks int64
Button string
ClickType string
HoldKeys []string
}
Computer (mouse/screen)
type BrowsersComputerGetMousePositionInput ¶ added in v0.14.11
type BrowsersComputerReadClipboardInput ¶ added in v0.15.6
type BrowsersComputerWriteClipboardInput ¶ added in v0.15.6
type BrowsersCreateInput ¶
type BrowsersCreateInput struct {
TimeoutSeconds int
Stealth BoolFlag
Headless BoolFlag
GPU BoolFlag
Memory string
VideoMemory string
FingerprintOS string
InvocationID string
Kiosk BoolFlag
ProfileID string
ProfileName string
ProfileSaveChanges BoolFlag
ProxyID string
ProxyName string
ProxyMode string
Region string
PrivateHosts []string
AllowedHosts []string
AllowedHostsProvided bool
ProxyRoutes []string
StartURL string
Timezone string
Locale string
Extensions []string
Vaults []string
Viewport string
Telemetry string
TelemetryCdpExclude string
TelemetryExport string
TelemetryStorage string
ChromePolicy string
ChromePolicyFile string
Name string
Tags map[string]string
Output string
}
Inputs for each command
type BrowsersCurlInput ¶ added in v0.18.0
type BrowsersDeleteInput ¶
type BrowsersDeleteInput struct {
Identifier string
}
type BrowsersFSFileInfoInput ¶
type BrowsersFSMoveInput ¶
type BrowsersFSNewDirInput ¶
FS (minimal scaffolding)
type BrowsersFSReadFileInput ¶
type BrowsersFSSetPermsInput ¶
type BrowsersFSUploadInput ¶
type BrowsersFSUploadInput struct {
Identifier string
Mappings []struct {
Local string
Dest string
}
DestDir string
Paths []string
}
Upload inputs
type BrowsersFSWatchEventsInput ¶ added in v0.14.0
type BrowsersFSWatchStartInput ¶ added in v0.14.0
type BrowsersFSWatchStartInput struct {
Identifier string
Path string
Recursive BoolFlag
Output string
}
FS Watch
type BrowsersFSWatchStopInput ¶ added in v0.14.0
type BrowsersGetInput ¶
type BrowsersListInput ¶
type BrowsersLogsStreamInput ¶
type BrowsersLogsStreamInput struct {
Identifier string
Source string
Follow BoolFlag
Path string
SupervisorProcess string
}
Logs
type BrowsersPlaywrightExecutorsDeleteInput ¶ added in v0.46.0
type BrowsersPlaywrightExecutorsListInput ¶ added in v0.46.0
type BrowsersProcessExecInput ¶
type BrowsersProcessExecInput struct {
Identifier string
Command string
Args []string
Cwd string
Timeout int
AsUser string
AsRoot BoolFlag
Env []string
Output string
}
Process
type BrowsersProcessResizeInput ¶ added in v0.14.0
type BrowsersReplInput ¶ added in v0.38.2
type BrowsersReplInput struct {
Identifier string
Code string
Reset bool
TimeoutSec int64
ImageDir string
Output string
}
REPL
type BrowsersReplaysListInput ¶
Replays
type BrowsersSaveProfileInput ¶ added in v0.51.0
type BrowsersService ¶
type BrowsersService interface {
Get(ctx context.Context, idOrName string, query kernel.BrowserGetParams, opts ...option.RequestOption) (res *kernel.BrowserGetResponse, err error)
List(ctx context.Context, query kernel.BrowserListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.BrowserListResponse], err error)
New(ctx context.Context, body kernel.BrowserNewParams, opts ...option.RequestOption) (res *kernel.BrowserNewResponse, err error)
Update(ctx context.Context, idOrName string, body kernel.BrowserUpdateParams, opts ...option.RequestOption) (res *kernel.BrowserUpdateResponse, err error)
DeleteByID(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
HTTPClient(id string, opts ...option.RequestOption) (*http.Client, error)
LoadExtensions(ctx context.Context, idOrName string, body kernel.BrowserLoadExtensionsParams, opts ...option.RequestOption) (err error)
Repl(ctx context.Context, idOrName string, body kernel.BrowserReplParams, opts ...option.RequestOption) (res *kernel.BrowserReplResult, err error)
SaveProfile(ctx context.Context, idOrName string, body kernel.BrowserSaveProfileParams, opts ...option.RequestOption) (res *kernel.Profile, err error)
}
BrowsersService defines the subset of the Kernel SDK browser client that we use. See https://github.com/kernel/kernel-go-sdk/blob/main/browser.go
type BrowsersTelemetryEventsInput ¶ added in v0.21.0
type BrowsersTelemetryStreamInput ¶ added in v0.19.3
type BrowsersUpdateInput ¶ added in v0.13.5
type BrowsersUpdateInput struct {
Identifier string
ProxyID string
ProxyName string
ProxyMode string
ClearProxy bool
DisableDefaultProxy BoolFlag
ProfileID string
ProfileName string
ProfileSaveChanges BoolFlag
Viewport string
Force bool
Telemetry string
TelemetryCdpExclude string
Name string
SetName bool
ClearName bool
Tags map[string]string
TagsProvided bool
ClearTags bool
StartURL string
// Timezone and Locale set the session's location overrides when SetTimezone
// and SetLocale are set; ClearTimezone and ClearLocale remove them.
Timezone string
SetTimezone bool
ClearTimezone bool
Locale string
SetLocale bool
ClearLocale bool
// AllowedHosts replaces the session's egress allowlist when
// AllowedHostsProvided is set; ClearAllowedHosts removes it.
AllowedHosts []string
AllowedHostsProvided bool
ClearAllowedHosts bool
ExpectedAllowlistRevision string
MutationID string
Output string
}
type BrowsersViewInput ¶
type BrowsersWebMCPCustomToolsAddInput ¶ added in v0.41.0
type BrowsersWebMCPCustomToolsCmd ¶ added in v0.41.0
type BrowsersWebMCPCustomToolsCmd struct {
// contains filtered or unexported fields
}
func (BrowsersWebMCPCustomToolsCmd) Add ¶ added in v0.41.0
func (b BrowsersWebMCPCustomToolsCmd) Add(ctx context.Context, in BrowsersWebMCPCustomToolsAddInput) error
func (BrowsersWebMCPCustomToolsCmd) List ¶ added in v0.41.0
func (b BrowsersWebMCPCustomToolsCmd) List(ctx context.Context, in BrowsersWebMCPCustomToolsListInput) error
type BrowsersWebMCPCustomToolsListInput ¶ added in v0.41.0
type BrowsersWebMCPInvokeInput ¶ added in v0.35.0
type BrowsersWebMCPListInput ¶ added in v0.35.0
type CreateCmd ¶
type CreateCmd struct {
// contains filtered or unexported fields
}
CreateCmd is a cobra-independent command handler for create operations
type CredentialProvidersCmd ¶ added in v0.14.0
type CredentialProvidersCmd struct {
// contains filtered or unexported fields
}
CredentialProvidersCmd handles credential provider operations independent of cobra.
func (CredentialProvidersCmd) Create ¶ added in v0.14.0
func (c CredentialProvidersCmd) Create(ctx context.Context, in CredentialProvidersCreateInput) error
func (CredentialProvidersCmd) Delete ¶ added in v0.14.0
func (c CredentialProvidersCmd) Delete(ctx context.Context, in CredentialProvidersDeleteInput) error
func (CredentialProvidersCmd) Get ¶ added in v0.14.0
func (c CredentialProvidersCmd) Get(ctx context.Context, in CredentialProvidersGetInput) error
func (CredentialProvidersCmd) List ¶ added in v0.14.0
func (c CredentialProvidersCmd) List(ctx context.Context, in CredentialProvidersListInput) error
func (CredentialProvidersCmd) ListItems ¶ added in v0.14.8
func (c CredentialProvidersCmd) ListItems(ctx context.Context, in CredentialProvidersListItemsInput) error
func (CredentialProvidersCmd) Test ¶ added in v0.14.0
func (c CredentialProvidersCmd) Test(ctx context.Context, in CredentialProvidersTestInput) error
func (CredentialProvidersCmd) Update ¶ added in v0.14.0
func (c CredentialProvidersCmd) Update(ctx context.Context, in CredentialProvidersUpdateInput) error
type CredentialProvidersCreateInput ¶ added in v0.14.0
type CredentialProvidersDeleteInput ¶ added in v0.14.0
type CredentialProvidersGetInput ¶ added in v0.14.0
type CredentialProvidersListInput ¶ added in v0.14.0
type CredentialProvidersListItemsInput ¶ added in v0.14.8
type CredentialProvidersService ¶ added in v0.14.0
type CredentialProvidersService interface {
New(ctx context.Context, body kernel.CredentialProviderNewParams, opts ...option.RequestOption) (res *kernel.CredentialProvider, err error)
Get(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.CredentialProvider, err error)
Update(ctx context.Context, id string, body kernel.CredentialProviderUpdateParams, opts ...option.RequestOption) (res *kernel.CredentialProvider, err error)
List(ctx context.Context, query kernel.CredentialProviderListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.CredentialProvider], err error)
Delete(ctx context.Context, id string, opts ...option.RequestOption) (err error)
Test(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.CredentialProviderTestResult, err error)
ListItems(ctx context.Context, id string, opts ...option.RequestOption) (res *kernel.CredentialProviderListItemsResponse, err error)
}
CredentialProvidersService defines the subset of the Kernel SDK credential provider client that we use.
type CredentialProvidersTestInput ¶ added in v0.14.0
type CredentialProvidersUpdateInput ¶ added in v0.14.0
type CredentialsCmd ¶ added in v0.14.0
type CredentialsCmd struct {
// contains filtered or unexported fields
}
CredentialsCmd handles credential operations independent of cobra.
func (CredentialsCmd) Create ¶ added in v0.14.0
func (c CredentialsCmd) Create(ctx context.Context, in CredentialsCreateInput) error
func (CredentialsCmd) Delete ¶ added in v0.14.0
func (c CredentialsCmd) Delete(ctx context.Context, in CredentialsDeleteInput) error
func (CredentialsCmd) Get ¶ added in v0.14.0
func (c CredentialsCmd) Get(ctx context.Context, in CredentialsGetInput) error
func (CredentialsCmd) List ¶ added in v0.14.0
func (c CredentialsCmd) List(ctx context.Context, in CredentialsListInput) error
func (CredentialsCmd) TotpCode ¶ added in v0.14.0
func (c CredentialsCmd) TotpCode(ctx context.Context, in CredentialsTotpCodeInput) error
func (CredentialsCmd) Update ¶ added in v0.14.0
func (c CredentialsCmd) Update(ctx context.Context, in CredentialsUpdateInput) error
type CredentialsCreateInput ¶ added in v0.14.0
type CredentialsDeleteInput ¶ added in v0.14.0
type CredentialsGetInput ¶ added in v0.14.0
type CredentialsListInput ¶ added in v0.14.0
type CredentialsService ¶ added in v0.14.0
type CredentialsService interface {
New(ctx context.Context, body kernel.CredentialNewParams, opts ...option.RequestOption) (res *kernel.Credential, err error)
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.Credential, err error)
Update(ctx context.Context, idOrName string, body kernel.CredentialUpdateParams, opts ...option.RequestOption) (res *kernel.Credential, err error)
List(ctx context.Context, query kernel.CredentialListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.Credential], err error)
Delete(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
TotpCode(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.CredentialTotpCodeResponse, err error)
}
CredentialsService defines the subset of the Kernel SDK credential client that we use.
type CredentialsTotpCodeInput ¶ added in v0.14.0
type CredentialsUpdateInput ¶ added in v0.14.0
type ExtensionsCmd ¶
type ExtensionsCmd struct {
// contains filtered or unexported fields
}
ExtensionsCmd handles extension operations independent of cobra.
func (ExtensionsCmd) Delete ¶
func (e ExtensionsCmd) Delete(ctx context.Context, in ExtensionsDeleteInput) error
func (ExtensionsCmd) Download ¶
func (e ExtensionsCmd) Download(ctx context.Context, in ExtensionsDownloadInput) error
func (ExtensionsCmd) DownloadWebStore ¶
func (e ExtensionsCmd) DownloadWebStore(ctx context.Context, in ExtensionsDownloadWebStoreInput) error
func (ExtensionsCmd) Get ¶ added in v0.21.0
func (e ExtensionsCmd) Get(ctx context.Context, in ExtensionsGetInput) error
func (ExtensionsCmd) List ¶
func (e ExtensionsCmd) List(ctx context.Context, in ExtensionsListInput) error
func (ExtensionsCmd) Upload ¶
func (e ExtensionsCmd) Upload(ctx context.Context, in ExtensionsUploadInput) error
type ExtensionsDeleteInput ¶
type ExtensionsDownloadInput ¶
type ExtensionsGetInput ¶ added in v0.21.0
type ExtensionsListInput ¶
type ExtensionsService ¶
type ExtensionsService interface {
List(ctx context.Context, query kernel.ExtensionListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.ExtensionListResponse], err error)
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.ExtensionGetResponse, err error)
Delete(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
Download(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *http.Response, err error)
DownloadFromChromeStore(ctx context.Context, query kernel.ExtensionDownloadFromChromeStoreParams, opts ...option.RequestOption) (res *http.Response, err error)
Upload(ctx context.Context, body kernel.ExtensionUploadParams, opts ...option.RequestOption) (res *kernel.ExtensionUploadResponse, err error)
}
ExtensionsService defines the subset of the Kernel SDK extension client that we use.
type ExtensionsUploadInput ¶
type Int64Flag ¶ added in v0.14.0
Int64Flag captures whether an int64 flag was set explicitly and its value.
type JWTClaims ¶
type JWTClaims struct {
Sub string `json:"sub"` // User ID
Email string `json:"email"` // User email
Exp int64 `json:"exp"` // Expiration time
Iss string `json:"iss"` // Issuer
OrgID string `json:"org_id"` // Organization ID
OrgName string `json:"org_name"` // Organization name
}
JWTClaims represents the claims in a JWT token
type OrgCmd ¶ added in v0.25.0
type OrgCmd struct {
// contains filtered or unexported fields
}
func (OrgCmd) Entitlements ¶ added in v0.32.0
func (c OrgCmd) Entitlements(ctx context.Context, in OrgEntitlementsInput) error
type OrgEntitlementsInput ¶ added in v0.32.0
type OrgEntitlementsInput struct {
Output string
}
type OrgEntitlementsService ¶ added in v0.32.0
type OrgEntitlementsService interface {
Get(ctx context.Context, opts ...option.RequestOption) (res *kernel.OrgEntitlements, err error)
}
OrgEntitlementsService defines the organization entitlements operation used by the CLI.
type OrgLimitsGetInput ¶ added in v0.25.0
type OrgLimitsGetInput struct {
Output string
}
type OrgLimitsService ¶ added in v0.25.0
type OrgLimitsService interface {
Get(ctx context.Context, opts ...option.RequestOption) (res *kernel.OrgLimits, err error)
Update(ctx context.Context, body kernel.OrganizationLimitUpdateParams, opts ...option.RequestOption) (res *kernel.OrgLimits, err error)
}
OrgLimitsService defines the subset of the Kernel SDK organization limits client that we use.
type OrgLimitsSetInput ¶ added in v0.25.0
type ProfilesCmd ¶
type ProfilesCmd struct {
// contains filtered or unexported fields
}
ProfilesCmd handles profile operations independent of cobra.
func (ProfilesCmd) Create ¶
func (p ProfilesCmd) Create(ctx context.Context, in ProfilesCreateInput) error
func (ProfilesCmd) Delete ¶
func (p ProfilesCmd) Delete(ctx context.Context, in ProfilesDeleteInput) error
func (ProfilesCmd) Download ¶
func (p ProfilesCmd) Download(ctx context.Context, in ProfilesDownloadInput) error
func (ProfilesCmd) Get ¶
func (p ProfilesCmd) Get(ctx context.Context, in ProfilesGetInput) error
func (ProfilesCmd) List ¶
func (p ProfilesCmd) List(ctx context.Context, in ProfilesListInput) error
func (ProfilesCmd) Update ¶ added in v0.25.0
func (p ProfilesCmd) Update(ctx context.Context, in ProfilesUpdateInput) error
type ProfilesCreateInput ¶
type ProfilesDeleteInput ¶
type ProfilesDownloadInput ¶
type ProfilesGetInput ¶
type ProfilesListInput ¶ added in v0.13.3
type ProfilesService ¶
type ProfilesService interface {
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.Profile, err error)
List(ctx context.Context, query kernel.ProfileListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.Profile], err error)
Delete(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
New(ctx context.Context, body kernel.ProfileNewParams, opts ...option.RequestOption) (res *kernel.Profile, err error)
Update(ctx context.Context, idOrName string, body kernel.ProfileUpdateParams, opts ...option.RequestOption) (res *kernel.Profile, err error)
Download(ctx context.Context, idOrName string, query kernel.ProfileDownloadParams, opts ...option.RequestOption) (res *http.Response, err error)
}
ProfilesService defines the subset of the Kernel SDK profile client that we use.
type ProfilesUpdateInput ¶ added in v0.25.0
type ProjectLimitsService ¶ added in v0.17.0
type ProjectLimitsService interface {
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.ProjectLimits, err error)
Update(ctx context.Context, idOrName string, body kernel.ProjectLimitUpdateParams, opts ...option.RequestOption) (res *kernel.ProjectLimits, err error)
}
type ProjectListService ¶ added in v0.17.0
type ProjectListService interface {
List(ctx context.Context, query kernel.ProjectListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.Project], err error)
}
type ProjectsCmd ¶ added in v0.17.0
type ProjectsCmd struct {
// contains filtered or unexported fields
}
func (ProjectsCmd) Create ¶ added in v0.17.0
func (c ProjectsCmd) Create(ctx context.Context, in ProjectsCreateInput) error
func (ProjectsCmd) Delete ¶ added in v0.17.0
func (c ProjectsCmd) Delete(ctx context.Context, in ProjectsDeleteInput) error
func (ProjectsCmd) Get ¶ added in v0.17.0
func (c ProjectsCmd) Get(ctx context.Context, in ProjectsGetInput) error
func (ProjectsCmd) LimitsGet ¶ added in v0.17.0
func (c ProjectsCmd) LimitsGet(ctx context.Context, in ProjectsLimitsGetInput) error
func (ProjectsCmd) LimitsSet ¶ added in v0.17.0
func (c ProjectsCmd) LimitsSet(ctx context.Context, in ProjectsLimitsSetInput) error
func (ProjectsCmd) List ¶ added in v0.17.0
func (c ProjectsCmd) List(ctx context.Context, in ProjectsListInput) error
func (ProjectsCmd) Update ¶ added in v0.25.0
func (c ProjectsCmd) Update(ctx context.Context, in ProjectsUpdateInput) error
type ProjectsCreateInput ¶ added in v0.17.0
type ProjectsCreateInput struct {
Name string
}
type ProjectsDeleteInput ¶ added in v0.17.0
type ProjectsDeleteInput struct {
Identifier string
}
type ProjectsGetInput ¶ added in v0.17.0
type ProjectsGetInput struct {
Identifier string
}
type ProjectsLimitsGetInput ¶ added in v0.17.0
type ProjectsLimitsSetInput ¶ added in v0.17.0
type ProjectsListInput ¶ added in v0.17.0
type ProjectsService ¶ added in v0.17.0
type ProjectsService interface {
ProjectListService
New(ctx context.Context, body kernel.ProjectNewParams, opts ...option.RequestOption) (res *kernel.Project, err error)
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.Project, err error)
Update(ctx context.Context, idOrName string, body kernel.ProjectUpdateParams, opts ...option.RequestOption) (res *kernel.Project, err error)
Delete(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
}
type ProjectsUpdateInput ¶ added in v0.25.0
type TelemetryDestinationsCmd ¶ added in v0.30.0
type TelemetryDestinationsCmd struct {
// contains filtered or unexported fields
}
TelemetryDestinationsCmd handles OTLP destination operations independent of cobra.
func (TelemetryDestinationsCmd) Create ¶ added in v0.30.0
func (c TelemetryDestinationsCmd) Create(ctx context.Context, in TelemetryDestinationsCreateInput) error
func (TelemetryDestinationsCmd) Delete ¶ added in v0.30.0
func (c TelemetryDestinationsCmd) Delete(ctx context.Context, in TelemetryDestinationsDeleteInput) error
func (TelemetryDestinationsCmd) Get ¶ added in v0.30.0
func (c TelemetryDestinationsCmd) Get(ctx context.Context, in TelemetryDestinationsGetInput) error
func (TelemetryDestinationsCmd) List ¶ added in v0.30.0
func (c TelemetryDestinationsCmd) List(ctx context.Context, in TelemetryDestinationsListInput) error
func (TelemetryDestinationsCmd) Update ¶ added in v0.30.0
func (c TelemetryDestinationsCmd) Update(ctx context.Context, in TelemetryDestinationsUpdateInput) error
type TelemetryDestinationsCreateInput ¶ added in v0.30.0
type TelemetryDestinationsDeleteInput ¶ added in v0.30.0
type TelemetryDestinationsGetInput ¶ added in v0.30.0
type TelemetryDestinationsListInput ¶ added in v0.30.0
type TelemetryDestinationsService ¶ added in v0.30.0
type TelemetryDestinationsService interface {
New(ctx context.Context, body kernel.TelemetryDestinationNewParams, opts ...option.RequestOption) (res *kernel.OtlpDestination, err error)
Get(ctx context.Context, idOrName string, opts ...option.RequestOption) (res *kernel.OtlpDestination, err error)
Update(ctx context.Context, idOrName string, body kernel.TelemetryDestinationUpdateParams, opts ...option.RequestOption) (res *kernel.OtlpDestination, err error)
List(ctx context.Context, query kernel.TelemetryDestinationListParams, opts ...option.RequestOption) (res *pagination.OffsetPagination[kernel.OtlpDestination], err error)
Delete(ctx context.Context, idOrName string, opts ...option.RequestOption) (err error)
}
TelemetryDestinationsService defines the subset of the Kernel SDK OTLP destination client that we use.
type TelemetryDestinationsUpdateInput ¶ added in v0.30.0
type TelemetryDestinationsUpdateInput struct {
Identifier string
// Nil means "leave as it is"; a non-nil empty Description clears it.
Name *string
Endpoint *string
Description *string
// Headers adds or replaces individual headers; RemoveHeaders deletes them.
// Both edit the stored map key by key rather than replacing it.
Headers map[string]string
RemoveHeaders []string
Output string
}
type UpgradeCmd ¶ added in v0.13.4
type UpgradeCmd struct {
// contains filtered or unexported fields
}
UpgradeCmd handles the upgrade command logic, separated from cobra.
func (UpgradeCmd) Run ¶ added in v0.13.4
func (u UpgradeCmd) Run(ctx context.Context, in UpgradeInput) error
Run executes the upgrade command logic.
type UpgradeInput ¶ added in v0.13.4
type UpgradeInput struct {
DryRun bool
}
UpgradeInput holds the input parameters for the upgrade command.
type VaultProviderConfigsCmd ¶ added in v0.36.0
type VaultProviderConfigsCmd struct {
// contains filtered or unexported fields
}
type VaultsCmd ¶ added in v0.34.0
type VaultsCmd struct {
// contains filtered or unexported fields
}
func (VaultsCmd) CreateWallet ¶ added in v0.34.0
func (VaultsCmd) GetEncryptionKey ¶ added in v0.47.0
Source Files
¶
- api_keys.go
- app.go
- audit_logs.go
- audit_logs_download.go
- audit_logs_export.go
- auth.go
- auth_connections.go
- auth_context.go
- browser_pools.go
- browser_proxy.go
- browser_vaults.go
- browsers.go
- browsers_playwright.go
- browsers_telemetry.go
- browsers_webmcp.go
- browsers_webmcp_custom_tools.go
- create.go
- credential_providers.go
- credentials.go
- deploy.go
- extensions.go
- flag_values.go
- invoke.go
- login.go
- logout.go
- logs.go
- offset_pagination.go
- org.go
- output.go
- profiles.go
- projects.go
- root.go
- search.go
- ssh.go
- status.go
- table.go
- telemetry_destinations.go
- upgrade.go
- vault_provider_configs.go
- vaults.go
- vaults_commands.go
- vaults_confirm_transaction.go
- vaults_credentials.go
- vaults_fill.go
- vaults_help.go
- vaults_kernel_errors.go
- vaults_link.go
- vaults_operation_params.go
- vaults_output.go
- vaults_passkeys.go
- vaults_policy.go
- vaults_prepare_checkout.go
- vaults_secrets.go
- vaults_wallet_spec.go
- vaults_webmcp.go