958 lines
35 KiB
Python
958 lines
35 KiB
Python
from typing import Any, Callable, Optional
|
|
|
|
|
|
__version__: str
|
|
|
|
|
|
class ServerNotRunningError(Exception): ...
|
|
class ExecutableNotFoundError(Exception): ...
|
|
class ExecutableNotSupportedError(Exception): ...
|
|
class ProcessNotFoundError(Exception): ...
|
|
class ProcessNotRespondingError(Exception): ...
|
|
class InvalidArgumentError(Exception): ...
|
|
class InvalidOperationError(Exception): ...
|
|
class PermissionDeniedError(Exception): ...
|
|
class AddressInUseError(Exception): ...
|
|
class TimedOutError(Exception): ...
|
|
class NotSupportedError(Exception): ...
|
|
class ProtocolError(Exception): ...
|
|
class TransportError(Exception): ...
|
|
class OperationCancelledError(Exception): ...
|
|
|
|
|
|
class GObject:
|
|
def on(self, signal: str, callback: Callable[..., Any]) -> None: ...
|
|
def off(self, signal: str, callback: Callable[..., Any]) -> None: ...
|
|
def notify(self, property_name: str) -> None: ...
|
|
|
|
|
|
class DeviceManager(GObject):
|
|
def __init__(self) -> None: ...
|
|
@staticmethod
|
|
def with_nonlocal_backends_only() -> DeviceManager: ...
|
|
@staticmethod
|
|
def with_socket_backend_only() -> DeviceManager: ...
|
|
def close(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def get_device_by_id(self, id: str, timeout: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def get_device_by_type(self, type: str, timeout: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def find_device_by_id(self, id: str, timeout: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def find_device_by_type(self, type: str, timeout: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enumerate_devices(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def add_remote_device(self, address: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def remove_remote_device(self, address: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def add_barebone_device(self, config: "BareboneConfig", options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def remove_barebone_device(self, device: "Device", callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Device(GObject):
|
|
@property
|
|
def id(self) -> str: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@property
|
|
def icon(self) -> Any: ...
|
|
@property
|
|
def dtype(self) -> str: ...
|
|
@property
|
|
def bus(self) -> "Bus": ...
|
|
def is_lost(self) -> bool: ...
|
|
def override_option(self, name: str, val: Any) -> None: ...
|
|
def query_system_parameters(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def get_frontmost_application(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enumerate_applications(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def get_process_by_pid(self, pid: int, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def get_process_by_name(self, name: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def find_process_by_pid(self, pid: int, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def find_process_by_name(self, name: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enumerate_processes(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enable_spawn_gating(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def disable_spawn_gating(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enumerate_pending_spawn(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enumerate_pending_children(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def spawn(self, program: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def input(self, pid: int, data: bytes, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def resume(self, pid: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def kill(self, pid: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def attach(self, pid: int, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def inject_library_file(self, pid: int, path: str, entrypoint: str, data: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def inject_library_blob(self, pid: int, blob: bytes, entrypoint: str, data: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def open_channel(self, address: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def open_service(self, address: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def unpair(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class RemoteDeviceOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def certificate(self) -> str: ...
|
|
@certificate.setter
|
|
def certificate(self, value: str) -> None: ...
|
|
@property
|
|
def origin(self) -> str: ...
|
|
@origin.setter
|
|
def origin(self, value: str) -> None: ...
|
|
@property
|
|
def token(self) -> str: ...
|
|
@token.setter
|
|
def token(self, value: str) -> None: ...
|
|
@property
|
|
def keepalive_interval(self) -> int: ...
|
|
@keepalive_interval.setter
|
|
def keepalive_interval(self, value: int) -> None: ...
|
|
|
|
|
|
class BareboneDeviceOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def id(self) -> str: ...
|
|
@id.setter
|
|
def id(self, value: str) -> None: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@name.setter
|
|
def name(self, value: str) -> None: ...
|
|
@property
|
|
def icon(self) -> Any: ...
|
|
|
|
|
|
class BareboneConfig(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def connection(self) -> "BareboneConnectionConfig": ...
|
|
@connection.setter
|
|
def connection(self, value: "BareboneConnectionConfig") -> None: ...
|
|
@property
|
|
def allocator(self) -> "BareboneAllocatorConfig": ...
|
|
@allocator.setter
|
|
def allocator(self, value: "BareboneAllocatorConfig") -> None: ...
|
|
@property
|
|
def agent(self) -> "BareboneAgentConfig": ...
|
|
@agent.setter
|
|
def agent(self, value: "BareboneAgentConfig") -> None: ...
|
|
@property
|
|
def image(self) -> "BareboneImageConfig": ...
|
|
@image.setter
|
|
def image(self, value: "BareboneImageConfig") -> None: ...
|
|
@property
|
|
def kernel(self) -> str: ...
|
|
@kernel.setter
|
|
def kernel(self, value: str) -> None: ...
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneConnectionConfig(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def host(self) -> str: ...
|
|
@host.setter
|
|
def host(self, value: str) -> None: ...
|
|
@property
|
|
def port(self) -> int: ...
|
|
@port.setter
|
|
def port(self, value: int) -> None: ...
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@pid.setter
|
|
def pid(self, value: int) -> None: ...
|
|
@property
|
|
def flavor(self) -> str: ...
|
|
@flavor.setter
|
|
def flavor(self, value: str) -> None: ...
|
|
|
|
|
|
class BareboneAllocatorConfig(GObject):
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneInvalidAllocatorConfig(BareboneAllocatorConfig):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class BarebonePhysicalAllocatorConfig(BareboneAllocatorConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def physical_base(self) -> "BareboneMemoryAddress": ...
|
|
@physical_base.setter
|
|
def physical_base(self, value: "BareboneMemoryAddress") -> None: ...
|
|
|
|
|
|
class BareboneTargetFunctionsAllocatorConfig(BareboneAllocatorConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def alloc_function(self) -> "BareboneMemoryAddress": ...
|
|
@alloc_function.setter
|
|
def alloc_function(self, value: "BareboneMemoryAddress") -> None: ...
|
|
@property
|
|
def free_function(self) -> "BareboneMemoryAddress": ...
|
|
@free_function.setter
|
|
def free_function(self, value: "BareboneMemoryAddress") -> None: ...
|
|
@property
|
|
def alloc_flags(self) -> int: ...
|
|
@alloc_flags.setter
|
|
def alloc_flags(self, value: int) -> None: ...
|
|
def clear_alloc_arguments(self) -> None: ...
|
|
def add_alloc_argument(self, argument: "BareboneCallArgument") -> None: ...
|
|
def clear_free_arguments(self) -> None: ...
|
|
def add_free_argument(self, argument: "BareboneCallArgument") -> None: ...
|
|
|
|
|
|
class BareboneCallArgument(GObject):
|
|
def __init__(self, role: str, value: int) -> None: ...
|
|
@property
|
|
def role(self) -> str: ...
|
|
@property
|
|
def value(self) -> int: ...
|
|
|
|
|
|
class BareboneAgentConfig(GObject):
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneInvalidAgentConfig(BareboneAgentConfig):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class BareboneInjectedAgentConfig(BareboneAgentConfig):
|
|
def __init__(self) -> None: ...
|
|
@staticmethod
|
|
def from_bytes(image: bytes, transport: "BareboneInjectingTransportConfig") -> BareboneInjectedAgentConfig: ...
|
|
@staticmethod
|
|
def from_file(path: str, transport: "BareboneInjectingTransportConfig") -> BareboneInjectedAgentConfig: ...
|
|
@property
|
|
def image(self) -> bytes: ...
|
|
@image.setter
|
|
def image(self, value: bytes) -> None: ...
|
|
@property
|
|
def transport(self) -> "BareboneInjectingTransportConfig": ...
|
|
@transport.setter
|
|
def transport(self, value: "BareboneInjectingTransportConfig") -> None: ...
|
|
|
|
|
|
class BareboneResidentAgentConfig(BareboneAgentConfig):
|
|
def __init__(self, transport: "BareboneResidentTransportConfig") -> None: ...
|
|
@property
|
|
def transport(self) -> "BareboneResidentTransportConfig": ...
|
|
@transport.setter
|
|
def transport(self, value: "BareboneResidentTransportConfig") -> None: ...
|
|
|
|
|
|
class BareboneTransportConfig(GObject):
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneInjectingTransportConfig(BareboneTransportConfig):
|
|
...
|
|
|
|
|
|
class BareboneResidentTransportConfig(BareboneTransportConfig):
|
|
...
|
|
|
|
|
|
class BareboneHostlinkTransportConfig(BareboneInjectingTransportConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def qmp(self) -> str: ...
|
|
@qmp.setter
|
|
def qmp(self, value: str) -> None: ...
|
|
@property
|
|
def bus(self) -> str: ...
|
|
@bus.setter
|
|
def bus(self, value: str) -> None: ...
|
|
@property
|
|
def fabric(self) -> "BareboneHostlinkFabric": ...
|
|
@fabric.setter
|
|
def fabric(self, value: "BareboneHostlinkFabric") -> None: ...
|
|
|
|
|
|
class BareboneHostlinkFabric(GObject):
|
|
...
|
|
|
|
|
|
class BareboneHostlinkEcamFabric(BareboneHostlinkFabric):
|
|
def __init__(self, ecam: int) -> None: ...
|
|
@property
|
|
def ecam(self) -> int: ...
|
|
@ecam.setter
|
|
def ecam(self, value: int) -> None: ...
|
|
|
|
|
|
class BareboneHostlinkPortsFabric(BareboneHostlinkFabric):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class BareboneHostlinkMmioFabric(BareboneHostlinkFabric):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class BareboneVsockTransportConfig(BareboneInjectingTransportConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def socket_path(self) -> str: ...
|
|
@socket_path.setter
|
|
def socket_path(self, value: str) -> None: ...
|
|
@property
|
|
def port(self) -> int: ...
|
|
@port.setter
|
|
def port(self, value: int) -> None: ...
|
|
|
|
|
|
class BareboneDeviceTransportConfig(BareboneResidentTransportConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
@path.setter
|
|
def path(self, value: str) -> None: ...
|
|
|
|
|
|
class BareboneSocketTransportConfig(BareboneResidentTransportConfig):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
@path.setter
|
|
def path(self, value: str) -> None: ...
|
|
|
|
|
|
class BareboneImageConfig(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def file(self) -> str: ...
|
|
@file.setter
|
|
def file(self, value: str) -> None: ...
|
|
@property
|
|
def base(self) -> "BareboneMemoryAddress": ...
|
|
@base.setter
|
|
def base(self, value: "BareboneMemoryAddress") -> None: ...
|
|
def clear_symbols(self) -> None: ...
|
|
def add_symbol(self, name: str, address: int) -> None: ...
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneMemoryAddress(GObject):
|
|
@property
|
|
def label(self) -> str: ...
|
|
@property
|
|
def address(self) -> int: ...
|
|
def check(self) -> None: ...
|
|
|
|
|
|
class BareboneInvalidMemoryAddress(BareboneMemoryAddress):
|
|
def __init__(self, label: str) -> None: ...
|
|
|
|
|
|
class BareboneNonNullMemoryAddress(BareboneMemoryAddress):
|
|
def __init__(self, label: str, address: int) -> None: ...
|
|
|
|
|
|
class Application(GObject):
|
|
@property
|
|
def identifier(self) -> str: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def parameters(self) -> dict: ...
|
|
|
|
|
|
class Process(GObject):
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@property
|
|
def parameters(self) -> dict: ...
|
|
|
|
|
|
class ProcessMatchOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def timeout(self) -> int: ...
|
|
@timeout.setter
|
|
def timeout(self, value: int) -> None: ...
|
|
@property
|
|
def scope(self) -> str: ...
|
|
@scope.setter
|
|
def scope(self, value: str) -> None: ...
|
|
|
|
|
|
class SpawnOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def argv(self) -> list[str]: ...
|
|
@argv.setter
|
|
def argv(self, value: list[str]) -> None: ...
|
|
@property
|
|
def envp(self) -> list[str]: ...
|
|
@envp.setter
|
|
def envp(self, value: list[str]) -> None: ...
|
|
@property
|
|
def env(self) -> list[str]: ...
|
|
@env.setter
|
|
def env(self, value: list[str]) -> None: ...
|
|
@property
|
|
def cwd(self) -> str: ...
|
|
@cwd.setter
|
|
def cwd(self, value: str) -> None: ...
|
|
@property
|
|
def stdio(self) -> str: ...
|
|
@stdio.setter
|
|
def stdio(self, value: str) -> None: ...
|
|
@property
|
|
def aux(self) -> dict: ...
|
|
@aux.setter
|
|
def aux(self, value: dict) -> None: ...
|
|
|
|
|
|
class Spawn(GObject):
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def identifier(self) -> str: ...
|
|
|
|
|
|
class Child(GObject):
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def parent_pid(self) -> int: ...
|
|
@property
|
|
def origin(self) -> str: ...
|
|
@property
|
|
def identifier(self) -> str: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
@property
|
|
def argv(self) -> list[str]: ...
|
|
@property
|
|
def envp(self) -> list[str]: ...
|
|
|
|
|
|
class Crash(GObject):
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def process_name(self) -> str: ...
|
|
@property
|
|
def summary(self) -> str: ...
|
|
@property
|
|
def report(self) -> str: ...
|
|
@property
|
|
def parameters(self) -> dict: ...
|
|
|
|
|
|
class Bus(GObject):
|
|
def is_detached(self) -> bool: ...
|
|
def attach(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def post(self, json: str, data: bytes) -> None: ...
|
|
|
|
|
|
class Service(GObject):
|
|
def is_closed(self) -> bool: ...
|
|
def activate(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def cancel(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def request(self, parameters: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Session(GObject):
|
|
@property
|
|
def pid(self) -> int: ...
|
|
@property
|
|
def persist_timeout(self) -> int: ...
|
|
def is_detached(self) -> bool: ...
|
|
def detach(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def resume(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def enable_child_gating(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def disable_child_gating(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def create_script(self, source: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def create_script_from_bytes(self, bytes: bytes, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def compile_script(self, source: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def snapshot_script(self, embed_script: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def setup_peer_connection(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def join_portal(self, address: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Script(GObject):
|
|
def is_destroyed(self) -> bool: ...
|
|
def load(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def interrupt(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def unload(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def terminate(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def eternalize(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def post(self, json: str, data: bytes) -> None: ...
|
|
def enable_debugger(self, port: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def disable_debugger(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class PortalMembership(GObject):
|
|
def terminate(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class PackageManager(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def registry(self) -> str: ...
|
|
@registry.setter
|
|
def registry(self, value: str) -> None: ...
|
|
def search(self, query: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def install(self, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Package(GObject):
|
|
@property
|
|
def name(self) -> str: ...
|
|
@property
|
|
def version(self) -> str: ...
|
|
@property
|
|
def description(self) -> str: ...
|
|
@property
|
|
def url(self) -> str: ...
|
|
|
|
|
|
class PackageSearchOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def offset(self) -> int: ...
|
|
@offset.setter
|
|
def offset(self, value: int) -> None: ...
|
|
@property
|
|
def limit(self) -> int: ...
|
|
@limit.setter
|
|
def limit(self, value: int) -> None: ...
|
|
|
|
|
|
class PackageSearchResult(GObject):
|
|
@property
|
|
def packages(self) -> list["Package"]: ...
|
|
@property
|
|
def total(self) -> int: ...
|
|
|
|
|
|
class PackageInstallOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def project_root(self) -> str: ...
|
|
@project_root.setter
|
|
def project_root(self, value: str) -> None: ...
|
|
@property
|
|
def role(self) -> str: ...
|
|
@role.setter
|
|
def role(self, value: str) -> None: ...
|
|
def clear_specs(self) -> None: ...
|
|
def add_spec(self, spec: str) -> None: ...
|
|
def clear_omits(self) -> None: ...
|
|
def add_omit(self, role: str) -> None: ...
|
|
|
|
|
|
class PackageInstallResult(GObject):
|
|
@property
|
|
def packages(self) -> list["Package"]: ...
|
|
|
|
|
|
class ControlService(GObject):
|
|
def start(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def stop(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class ControlServiceOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def enable_preload(self) -> bool: ...
|
|
@enable_preload.setter
|
|
def enable_preload(self, value: bool) -> None: ...
|
|
@property
|
|
def report_crashes(self) -> bool: ...
|
|
@report_crashes.setter
|
|
def report_crashes(self, value: bool) -> None: ...
|
|
|
|
|
|
class PortalService(GObject):
|
|
def __init__(self, cluster_params: "EndpointParameters", control_params: "EndpointParameters") -> None: ...
|
|
@property
|
|
def device(self) -> "Device": ...
|
|
@property
|
|
def cluster_params(self) -> "EndpointParameters": ...
|
|
@property
|
|
def control_params(self) -> "EndpointParameters": ...
|
|
def add_cluster_endpoint(self, endpoint_params: "EndpointParameters") -> None: ...
|
|
def add_control_endpoint(self, endpoint_params: "EndpointParameters") -> None: ...
|
|
def start(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def stop(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def kick(self, connection_id: int) -> None: ...
|
|
def post(self, connection_id: int, json: str, data: bytes) -> None: ...
|
|
def narrowcast(self, tag: str, json: str, data: bytes) -> None: ...
|
|
def broadcast(self, json: str, data: bytes) -> None: ...
|
|
def enumerate_tags(self, connection_id: int) -> list[str]: ...
|
|
def tag(self, connection_id: int, tag: str) -> None: ...
|
|
def untag(self, connection_id: int, tag: str) -> None: ...
|
|
|
|
|
|
class FileMonitor(GObject):
|
|
def __init__(self, path: str) -> None: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
def enable(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def disable(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Compiler(GObject):
|
|
def __init__(self, manager: "DeviceManager") -> None: ...
|
|
def build(self, entrypoint: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def watch(self, entrypoint: str, options: Any, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class LanguageServer(GObject):
|
|
def __init__(self, project_root: str) -> None: ...
|
|
@property
|
|
def project_root(self) -> str: ...
|
|
def start(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def stop(self) -> None: ...
|
|
def post(self, json: str) -> None: ...
|
|
|
|
|
|
class CompilerOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def project_root(self) -> str: ...
|
|
@project_root.setter
|
|
def project_root(self, value: str) -> None: ...
|
|
@property
|
|
def output_format(self) -> str: ...
|
|
@output_format.setter
|
|
def output_format(self, value: str) -> None: ...
|
|
@property
|
|
def bundle_format(self) -> str: ...
|
|
@bundle_format.setter
|
|
def bundle_format(self, value: str) -> None: ...
|
|
@property
|
|
def type_check(self) -> str: ...
|
|
@type_check.setter
|
|
def type_check(self, value: str) -> None: ...
|
|
@property
|
|
def source_maps(self) -> str: ...
|
|
@source_maps.setter
|
|
def source_maps(self, value: str) -> None: ...
|
|
@property
|
|
def compression(self) -> str: ...
|
|
@compression.setter
|
|
def compression(self, value: str) -> None: ...
|
|
@property
|
|
def platform(self) -> str: ...
|
|
@platform.setter
|
|
def platform(self, value: str) -> None: ...
|
|
def clear_externals(self) -> None: ...
|
|
def add_external(self, external: str) -> None: ...
|
|
|
|
|
|
class BuildOptions(CompilerOptions):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class WatchOptions(CompilerOptions):
|
|
def __init__(self) -> None: ...
|
|
|
|
|
|
class StaticAuthenticationService(GObject):
|
|
def __init__(self, token: str) -> None: ...
|
|
@property
|
|
def token_hash(self) -> str: ...
|
|
|
|
|
|
class FrontmostQueryOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def scope(self) -> str: ...
|
|
@scope.setter
|
|
def scope(self, value: str) -> None: ...
|
|
|
|
|
|
class ApplicationQueryOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def scope(self) -> str: ...
|
|
@scope.setter
|
|
def scope(self, value: str) -> None: ...
|
|
def select_identifier(self, identifier: str) -> None: ...
|
|
def has_selected_identifiers(self) -> bool: ...
|
|
|
|
|
|
class ProcessQueryOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def scope(self) -> str: ...
|
|
@scope.setter
|
|
def scope(self, value: str) -> None: ...
|
|
def select_pid(self, pid: int) -> None: ...
|
|
def has_selected_pids(self) -> bool: ...
|
|
|
|
|
|
class SpawnGatingOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def scope(self) -> str: ...
|
|
@scope.setter
|
|
def scope(self, value: str) -> None: ...
|
|
|
|
|
|
class SessionOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def realm(self) -> str: ...
|
|
@realm.setter
|
|
def realm(self, value: str) -> None: ...
|
|
@property
|
|
def persist_timeout(self) -> int: ...
|
|
@persist_timeout.setter
|
|
def persist_timeout(self, value: int) -> None: ...
|
|
@property
|
|
def emulated_agent_path(self) -> str: ...
|
|
@emulated_agent_path.setter
|
|
def emulated_agent_path(self, value: str) -> None: ...
|
|
@property
|
|
def exceptor(self) -> str: ...
|
|
@exceptor.setter
|
|
def exceptor(self, value: str) -> None: ...
|
|
@property
|
|
def unwind_broker(self) -> bool: ...
|
|
@unwind_broker.setter
|
|
def unwind_broker(self, value: bool) -> None: ...
|
|
@property
|
|
def exit_monitor(self) -> bool: ...
|
|
@exit_monitor.setter
|
|
def exit_monitor(self, value: bool) -> None: ...
|
|
@property
|
|
def thread_suspend_monitor(self) -> bool: ...
|
|
@thread_suspend_monitor.setter
|
|
def thread_suspend_monitor(self, value: bool) -> None: ...
|
|
def clear_linker_notifier_offsets(self) -> None: ...
|
|
def add_linker_notifier_offset(self, offset: int) -> None: ...
|
|
|
|
|
|
class ScriptOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def name(self) -> str: ...
|
|
@name.setter
|
|
def name(self, value: str) -> None: ...
|
|
@property
|
|
def snapshot(self) -> bytes: ...
|
|
@snapshot.setter
|
|
def snapshot(self, value: bytes) -> None: ...
|
|
@property
|
|
def snapshot_transport(self) -> str: ...
|
|
@snapshot_transport.setter
|
|
def snapshot_transport(self, value: str) -> None: ...
|
|
@property
|
|
def runtime(self) -> str: ...
|
|
@runtime.setter
|
|
def runtime(self, value: str) -> None: ...
|
|
|
|
|
|
class SnapshotOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def warmup_script(self) -> str: ...
|
|
@warmup_script.setter
|
|
def warmup_script(self, value: str) -> None: ...
|
|
@property
|
|
def runtime(self) -> str: ...
|
|
@runtime.setter
|
|
def runtime(self, value: str) -> None: ...
|
|
|
|
|
|
class PortalOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def certificate(self) -> str: ...
|
|
@certificate.setter
|
|
def certificate(self, value: str) -> None: ...
|
|
@property
|
|
def token(self) -> str: ...
|
|
@token.setter
|
|
def token(self, value: str) -> None: ...
|
|
@property
|
|
def acl(self) -> list[str]: ...
|
|
@acl.setter
|
|
def acl(self, value: list[str]) -> None: ...
|
|
|
|
|
|
class PeerOptions(GObject):
|
|
def __init__(self) -> None: ...
|
|
@property
|
|
def stun_server(self) -> str: ...
|
|
@stun_server.setter
|
|
def stun_server(self, value: str) -> None: ...
|
|
def clear_relays(self) -> None: ...
|
|
def add_relay(self, relay: "Relay") -> None: ...
|
|
|
|
|
|
class Relay(GObject):
|
|
def __init__(self, address: str, username: str, password: str, kind: str) -> None: ...
|
|
@property
|
|
def address(self) -> str: ...
|
|
@property
|
|
def username(self) -> str: ...
|
|
@property
|
|
def password(self) -> str: ...
|
|
@property
|
|
def kind(self) -> str: ...
|
|
|
|
|
|
class EndpointParameters(GObject):
|
|
def __init__(self, address: str, port: int, certificate: str, origin: str, auth_service: "AuthenticationService", asset_root: Any) -> None: ...
|
|
@property
|
|
def address(self) -> str: ...
|
|
@property
|
|
def port(self) -> int: ...
|
|
@property
|
|
def certificate(self) -> str: ...
|
|
@property
|
|
def origin(self) -> str: ...
|
|
@property
|
|
def auth_service(self) -> "AuthenticationService": ...
|
|
@property
|
|
def request_handler(self) -> "WebRequestHandler": ...
|
|
@request_handler.setter
|
|
def request_handler(self, value: "WebRequestHandler") -> None: ...
|
|
|
|
|
|
class WebRequest(GObject):
|
|
@property
|
|
def method(self) -> str: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
@property
|
|
def query_string(self) -> str: ...
|
|
@property
|
|
def body(self) -> bytes: ...
|
|
|
|
|
|
class WebResponse(GObject):
|
|
def __init__(self, status: int, body: bytes) -> None: ...
|
|
@property
|
|
def status(self) -> int: ...
|
|
@property
|
|
def body(self) -> bytes: ...
|
|
def add_header(self, name: str, val: str) -> None: ...
|
|
|
|
|
|
class AuthenticationService(GObject):
|
|
def authenticate(self, token: str, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class WebRequestHandler(GObject):
|
|
def handle_request(self, request: "WebRequest", callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class Cancellable(GObject):
|
|
def __init__(self) -> None: ...
|
|
def cancel(self) -> None: ...
|
|
def get_fd(self) -> int: ...
|
|
def is_cancelled(self) -> bool: ...
|
|
def pop_current(self) -> None: ...
|
|
def push_current(self) -> None: ...
|
|
def release_fd(self) -> None: ...
|
|
def reset(self) -> None: ...
|
|
def set_error_if_cancelled(self) -> bool: ...
|
|
|
|
|
|
class IOStream(GObject):
|
|
@property
|
|
def input_stream(self) -> "InputStream": ...
|
|
@property
|
|
def output_stream(self) -> "OutputStream": ...
|
|
@property
|
|
def is_closed(self) -> bool: ...
|
|
def close_async(self, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class InputStream(GObject):
|
|
def close_async(self, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def read_bytes_async(self, count: int, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def skip_async(self, count: int, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class OutputStream(GObject):
|
|
def close_async(self, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def flush_async(self, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
def write_bytes_async(self, bytes: bytes, io_priority: int, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class SocketAddress(GObject):
|
|
@property
|
|
def family(self) -> str: ...
|
|
def get_native_size(self) -> int: ...
|
|
|
|
|
|
class SocketAddressEnumerator(GObject):
|
|
def next(self, cancellable: "Cancellable") -> "SocketAddress": ...
|
|
def next_async(self, callback: Callable[[Any, Optional[Exception]], None], cancellable: Optional["Cancellable"] = ...) -> None: ...
|
|
|
|
|
|
class SocketConnectable:
|
|
def enumerate(self) -> "SocketAddressEnumerator": ...
|
|
def proxy_enumerate(self) -> "SocketAddressEnumerator": ...
|
|
def to_string(self) -> str: ...
|
|
|
|
|
|
class InetSocketAddress(SocketAddress):
|
|
def __init__(self, address: "InetAddress", port: int) -> None: ...
|
|
@staticmethod
|
|
def new_from_string(address: str, port: int) -> InetSocketAddress: ...
|
|
@property
|
|
def address(self) -> "InetAddress": ...
|
|
@property
|
|
def flowinfo(self) -> int: ...
|
|
@property
|
|
def port(self) -> int: ...
|
|
@property
|
|
def scope_id(self) -> int: ...
|
|
|
|
|
|
class InetAddress(GObject):
|
|
def __init__(self, family: str) -> None: ...
|
|
@staticmethod
|
|
def new_from_bytes(bytes: Any, family: str) -> InetAddress: ...
|
|
@staticmethod
|
|
def new_from_string(string: str) -> InetAddress: ...
|
|
@staticmethod
|
|
def new_loopback(family: str) -> InetAddress: ...
|
|
@property
|
|
def family(self) -> str: ...
|
|
@property
|
|
def is_any(self) -> bool: ...
|
|
@property
|
|
def is_link_local(self) -> bool: ...
|
|
@property
|
|
def is_loopback(self) -> bool: ...
|
|
@property
|
|
def is_mc_global(self) -> bool: ...
|
|
@property
|
|
def is_mc_link_local(self) -> bool: ...
|
|
@property
|
|
def is_mc_node_local(self) -> bool: ...
|
|
@property
|
|
def is_mc_org_local(self) -> bool: ...
|
|
@property
|
|
def is_mc_site_local(self) -> bool: ...
|
|
@property
|
|
def is_multicast(self) -> bool: ...
|
|
@property
|
|
def is_site_local(self) -> bool: ...
|
|
def equal(self, other_address: "InetAddress") -> bool: ...
|
|
def get_native_size(self) -> int: ...
|
|
def to_string(self) -> str: ...
|
|
|
|
|
|
class UnixSocketAddress(SocketAddress):
|
|
def __init__(self, path: str) -> None: ...
|
|
@staticmethod
|
|
def new_with_type(path: Any, path_len: int, type: str) -> UnixSocketAddress: ...
|
|
@property
|
|
def address_type(self) -> str: ...
|
|
@property
|
|
def path(self) -> str: ...
|
|
|
|
|
|
def get_device_manager() -> Any: ...
|
|
def _complete_request(request: Any, result: Any, error: Any) -> None: ...
|