boxd 0.1.0.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
boxd/__init__.py ADDED
@@ -0,0 +1,117 @@
1
+ """boxd Python SDK — programmatic access to boxd cloud VMs.
2
+
3
+ Usage::
4
+
5
+ from boxd import Compute
6
+
7
+ with Compute(api_key="bxk_...") as c:
8
+ box = c.box.create("my-vm")
9
+ result = box.exec("echo", "hello")
10
+ print(result.stdout)
11
+ box.destroy()
12
+
13
+ For the async API::
14
+
15
+ from boxd.aio import Compute
16
+
17
+ async with Compute(api_key="bxk_...") as c:
18
+ box = await c.box.create("my-vm")
19
+ result = await box.exec("echo", "hello")
20
+ print(result.stdout)
21
+ """
22
+
23
+ from ._sync import (
24
+ Box,
25
+ BoxService,
26
+ Compute,
27
+ DiskHandle,
28
+ DiskService,
29
+ DomainService,
30
+ NetworkService,
31
+ TemplateService,
32
+ TokenService,
33
+ )
34
+ from .exec import ExecResult, ExecProcess, StreamReader, StreamWriter
35
+ from .types import (
36
+ BoxConfig,
37
+ ConfigResult,
38
+ Disk,
39
+ DiskAttachment,
40
+ Domain,
41
+ LifecycleConfig,
42
+ Network,
43
+ NetworkConfig,
44
+ Proxy,
45
+ ProxyEntry,
46
+ PtyInfo,
47
+ ResumeResult,
48
+ SuspendResult,
49
+ Template,
50
+ Token,
51
+ TokenInfo,
52
+ VolumeMount,
53
+ WhoamiResult,
54
+ )
55
+ from .errors import (
56
+ BoxdError,
57
+ AuthenticationError,
58
+ NotFoundError,
59
+ QuotaExceededError,
60
+ InvalidArgumentError,
61
+ InternalError,
62
+ TimeoutError,
63
+ ConnectionError,
64
+ )
65
+
66
+ __version__ = "0.1.0"
67
+
68
+ __all__ = [
69
+ # Main client (sync)
70
+ "Compute",
71
+ # VM handle (sync)
72
+ "Box",
73
+ # Services (sync)
74
+ "BoxService",
75
+ "TemplateService",
76
+ "DiskService",
77
+ "DiskHandle",
78
+ "DomainService",
79
+ "NetworkService",
80
+ "TokenService",
81
+ # Exec primitives
82
+ "ExecResult",
83
+ "ExecProcess",
84
+ "StreamReader",
85
+ "StreamWriter",
86
+ # Config / request types
87
+ "BoxConfig",
88
+ "LifecycleConfig",
89
+ "NetworkConfig",
90
+ "ProxyEntry",
91
+ "VolumeMount",
92
+ # Result / response types
93
+ "Proxy",
94
+ "Template",
95
+ "Disk",
96
+ "DiskAttachment",
97
+ "Domain",
98
+ "Network",
99
+ "Token",
100
+ "TokenInfo",
101
+ "SuspendResult",
102
+ "ResumeResult",
103
+ "PtyInfo",
104
+ "WhoamiResult",
105
+ "ConfigResult",
106
+ # Exceptions
107
+ "BoxdError",
108
+ "AuthenticationError",
109
+ "NotFoundError",
110
+ "QuotaExceededError",
111
+ "InvalidArgumentError",
112
+ "InternalError",
113
+ "TimeoutError",
114
+ "ConnectionError",
115
+ # Version
116
+ "__version__",
117
+ ]
File without changes
@@ -0,0 +1,222 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: api.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'api.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\tapi.proto\x12\x0b\x62oxd.api.v1\"\xbf\x01\n\x08VmConfig\x12\x0c\n\x04vcpu\x18\x01 \x01(\r\x12\x14\n\x0cmemory_bytes\x18\x02 \x01(\x04\x12\x12\n\ndisk_bytes\x18\x03 \x01(\x04\x12#\n\x03srf\x18\x04 \x01(\x0b\x32\x16.boxd.api.v1.SrfConfig\x12+\n\x07network\x18\x05 \x01(\x0b\x32\x1a.boxd.api.v1.NetworkConfig\x12)\n\x07volumes\x18\x06 \x03(\x0b\x32\x18.boxd.api.v1.VolumeMount\"Q\n\tSrfConfig\x12!\n\x19\x61uto_suspend_timeout_secs\x18\x01 \x01(\r\x12!\n\x19\x61uto_destroy_timeout_secs\x18\x02 \x01(\r\"F\n\rNetworkConfig\x12\x0b\n\x03ssh\x18\x01 \x01(\x08\x12(\n\x07proxies\x18\x02 \x03(\x0b\x32\x17.boxd.api.v1.ProxyEntry\"(\n\nProxyEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r\"E\n\x0bVolumeMount\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12\x12\n\nmount_path\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\"\xac\x01\n\x0f\x43reateVmRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timage_ref\x18\x02 \x01(\t\x12 \n\x03\x65nv\x18\x05 \x03(\x0b\x32\x13.boxd.api.v1.EnvVar\x12\x0b\n\x03\x63md\x18\x06 \x03(\t\x12\x16\n\x0erestart_policy\x18\x07 \x01(\t\x12%\n\x06\x63onfig\x18\x08 \x01(\x0b\x32\x15.boxd.api.v1.VmConfigJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05\"$\n\x06\x45nvVar\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\x84\x01\n\x10\x43reateVmResponse\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tpublic_ip\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x06 \x01(\t\x12\x14\n\x0c\x62oot_time_ms\x18\x07 \x01(\x04\"!\n\x10\x44\x65stroyVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\x13\n\x11\x44\x65stroyVmResponse\"\x1f\n\x0eStartVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\x11\n\x0fStartVmResponse\"\x1e\n\rStopVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\x10\n\x0eStopVmResponse\" \n\x0fRebootVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\x12\n\x10RebootVmResponse\"!\n\x10SuspendVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\'\n\x11SuspendVmResponse\x12\x12\n\nsuspend_us\x18\x01 \x01(\x04\" \n\x0fResumeVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"%\n\x10ResumeVmResponse\x12\x11\n\tresume_us\x18\x01 \x01(\x04\"\x1d\n\x0cGetVmRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\"\x8e\x01\n\rGetVmResponse\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\timage_ref\x18\x03 \x01(\t\x12\x11\n\tpublic_ip\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x16\n\x0erestart_policy\x18\x06 \x01(\t\x12\x12\n\ndisk_bytes\x18\x07 \x01(\x04\"\x10\n\x0eListVmsRequest\":\n\x0fListVmsResponse\x12\'\n\x03vms\x18\x01 \x03(\x0b\x32\x1a.boxd.api.v1.GetVmResponse\"2\n\x11StreamLogsRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ollow\x18\x02 \x01(\x08\"\x18\n\x08LogChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"h\n\tExecChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\r\n\x05stdin\x18\x02 \x01(\x08\x12\x0b\n\x03tty\x18\x03 \x01(\x08\x12\x0f\n\x07\x63ommand\x18\x04 \x01(\t\x12\r\n\x05vm_id\x18\x05 \x01(\t\x12\x11\n\texit_code\x18\x06 \x01(\x05\"$\n\x14\x43reateNetworkRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15\x43reateNetworkResponse\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\"\x15\n\x13ListNetworksRequest\"B\n\x14ListNetworksResponse\x12*\n\x08networks\x18\x01 \x03(\x0b\x32\x18.boxd.api.v1.NetworkInfo\"A\n\x0bNetworkInfo\x12\x12\n\nnetwork_id\x18\x01 \x01(\t\x12\x0e\n\x06subnet\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\"2\n\x11\x42indDomainRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\r\n\x05vm_id\x18\x02 \x01(\t\"\x14\n\x12\x42indDomainResponse\"%\n\x13UnbindDomainRequest\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\"\x16\n\x14UnbindDomainResponse\"\x14\n\x12ListDomainsRequest\"?\n\x13ListDomainsResponse\x12(\n\x07\x64omains\x18\x01 \x03(\x0b\x32\x17.boxd.api.v1.DomainInfo\"+\n\nDomainInfo\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\r\n\x05vm_id\x18\x02 \x01(\t\"\x12\n\x10GetConfigRequest\"8\n\x11GetConfigResponse\x12\x15\n\rdefault_image\x18\x01 \x01(\t\x12\x0c\n\x04zone\x18\x02 \x01(\t\"\x0f\n\rWhoamiRequest\"Z\n\x0eWhoamiResponse\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12\x1b\n\x13pubkey_fingerprints\x18\x02 \x03(\t\x12\x1a\n\x12\x64\x65\x66\x61ult_network_id\x18\x03 \x01(\t\"-\n\x12\x43reateTokenRequest\x12\x17\n\x0f\x65xpires_in_secs\x18\x01 \x01(\x04\"8\n\x13\x43reateTokenResponse\x12\r\n\x05token\x18\x01 \x01(\t\x12\x12\n\nexpires_at\x18\x02 \x01(\x03\"\x13\n\x11ListTokensRequest\"<\n\x12ListTokensResponse\x12&\n\x06tokens\x18\x01 \x03(\x0b\x32\x16.boxd.api.v1.TokenInfo\"@\n\tTokenInfo\x12\x0b\n\x03jti\x18\x01 \x01(\t\x12\x12\n\ncreated_at\x18\x02 \x01(\x03\x12\x12\n\nexpires_at\x18\x03 \x01(\x03\"!\n\x12RevokeTokenRequest\x12\x0b\n\x03jti\x18\x01 \x01(\t\"\x15\n\x13RevokeTokenResponse\"Z\n\rForkVmRequest\x12\x14\n\x0csource_vm_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.boxd.api.v1.VmConfig\"\x97\x01\n\x0e\x46orkVmResponse\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tpublic_ip\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x0e\n\x06status\x18\x06 \x01(\t\x12\x13\n\x0b\x66orked_from\x18\x07 \x01(\t\x12\x14\n\x0c\x62oot_time_ms\x18\x08 \x01(\x04\"%\n\x12ListProxiesRequest\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\">\n\x13ListProxiesResponse\x12\'\n\x07proxies\x18\x01 \x03(\x0b\x32\x16.boxd.api.v1.ProxyInfo\"r\n\tProxyInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x0c\n\x04port\x18\x04 \x01(\r\x12\x12\n\nis_default\x18\x05 \x01(\x08\x12\x14\n\x0cport_display\x18\x06 \x01(\t\"A\n\x12\x43reateProxyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\"R\n\x13\x43reateProxyResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\x12\x0e\n\x06\x64omain\x18\x03 \x01(\t\x12\x0c\n\x04port\x18\x04 \x01(\r\"3\n\x12\x44\x65leteProxyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\"\x15\n\x13\x44\x65leteProxyResponse\"B\n\x13SetProxyPortRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\t\"\x16\n\x14SetProxyPortResponse\">\n\x11UploadFileRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\x14\n\x12UploadFileResponse\"2\n\x13\x44ownloadFileRequest\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"$\n\x14\x44ownloadFileResponse\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"_\n\x15\x43reateTemplateRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\timage_ref\x18\x02 \x01(\t\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.boxd.api.v1.VmConfig\"K\n\x16\x43reateTemplateResponse\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\"\x16\n\x14ListTemplatesRequest\"E\n\x15ListTemplatesResponse\x12,\n\ttemplates\x18\x01 \x03(\x0b\x32\x19.boxd.api.v1.TemplateInfo\"x\n\x0cTemplateInfo\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\timage_ref\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x0c\n\x04vcpu\x18\x05 \x01(\r\x12\x14\n\x0cmemory_bytes\x18\x06 \x01(\x04\",\n\x15\x44\x65leteTemplateRequest\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\"\x18\n\x16\x44\x65leteTemplateResponse\"g\n\x1b\x43reateVmFromTemplateRequest\x12\x13\n\x0btemplate_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12%\n\x06\x63onfig\x18\x03 \x01(\x0b\x32\x15.boxd.api.v1.VmConfig\"\x81\x01\n\x1c\x43reateVmFromTemplateResponse\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tpublic_ip\x18\x03 \x01(\t\x12\x0b\n\x03url\x18\x04 \x01(\t\x12\x0e\n\x06status\x18\x05 \x01(\t\x12\x14\n\x0c\x62oot_time_ms\x18\x06 \x01(\x04\"5\n\x11\x43reateDiskRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nsize_bytes\x18\x02 \x01(\x04\"W\n\x12\x43reateDiskResponse\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x04\x12\x0e\n\x06status\x18\x04 \x01(\t\"\x12\n\x10ListDisksRequest\"9\n\x11ListDisksResponse\x12$\n\x05\x64isks\x18\x01 \x03(\x0b\x32\x15.boxd.api.v1.DiskInfo\"\x92\x01\n\x08\x44iskInfo\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nsize_bytes\x18\x03 \x01(\x04\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x11\n\tworker_id\x18\x05 \x01(\t\x12\x30\n\x0b\x61ttachments\x18\x06 \x03(\x0b\x32\x1b.boxd.api.v1.DiskAttachment\"X\n\x0e\x44iskAttachment\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x0f\n\x07vm_name\x18\x02 \x01(\t\x12\x12\n\nmount_path\x18\x03 \x01(\t\x12\x12\n\nmount_mode\x18\x04 \x01(\t\"Z\n\x11\x41ttachDiskRequest\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12\r\n\x05vm_id\x18\x02 \x01(\t\x12\x12\n\nmount_path\x18\x03 \x01(\t\x12\x11\n\tread_only\x18\x04 \x01(\x08\"\x14\n\x12\x41ttachDiskResponse\"3\n\x11\x44\x65tachDiskRequest\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\x12\r\n\x05vm_id\x18\x02 \x01(\t\"\x14\n\x12\x44\x65tachDiskResponse\"%\n\x12\x44\x65stroyDiskRequest\x12\x0f\n\x07\x64isk_id\x18\x01 \x01(\t\"\x15\n\x13\x44\x65stroyDiskResponse\"<\n\x13\x43reateApiKeyRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0f\x65xpires_in_secs\x18\x02 \x01(\x04\"G\n\x14\x43reateApiKeyResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x02 \x01(\t\x12\x12\n\nexpires_at\x18\x03 \x01(\x03\"\x14\n\x12ListApiKeysRequest\"<\n\x13ListApiKeysResponse\x12%\n\x04keys\x18\x01 \x03(\x0b\x32\x17.boxd.api.v1.ApiKeyInfo\"x\n\nApiKeyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\nkey_prefix\x18\x03 \x01(\t\x12\x12\n\ncreated_at\x18\x04 \x01(\x03\x12\x14\n\x0clast_used_at\x18\x05 \x01(\x03\x12\x12\n\nexpires_at\x18\x06 \x01(\x03\"!\n\x13\x44\x65leteApiKeyRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x16\n\x14\x44\x65leteApiKeyResponse2\xe7\x18\n\x07\x42oxdApi\x12G\n\x08\x43reateVm\x12\x1c.boxd.api.v1.CreateVmRequest\x1a\x1d.boxd.api.v1.CreateVmResponse\x12J\n\tDestroyVm\x12\x1d.boxd.api.v1.DestroyVmRequest\x1a\x1e.boxd.api.v1.DestroyVmResponse\x12\x44\n\x07StartVm\x12\x1b.boxd.api.v1.StartVmRequest\x1a\x1c.boxd.api.v1.StartVmResponse\x12\x41\n\x06StopVm\x12\x1a.boxd.api.v1.StopVmRequest\x1a\x1b.boxd.api.v1.StopVmResponse\x12G\n\x08RebootVm\x12\x1c.boxd.api.v1.RebootVmRequest\x1a\x1d.boxd.api.v1.RebootVmResponse\x12>\n\x05GetVm\x12\x19.boxd.api.v1.GetVmRequest\x1a\x1a.boxd.api.v1.GetVmResponse\x12\x44\n\x07ListVms\x12\x1b.boxd.api.v1.ListVmsRequest\x1a\x1c.boxd.api.v1.ListVmsResponse\x12\x45\n\nStreamLogs\x12\x1e.boxd.api.v1.StreamLogsRequest\x1a\x15.boxd.api.v1.LogChunk0\x01\x12:\n\x04\x45xec\x12\x16.boxd.api.v1.ExecChunk\x1a\x16.boxd.api.v1.ExecChunk(\x01\x30\x01\x12V\n\rCreateNetwork\x12!.boxd.api.v1.CreateNetworkRequest\x1a\".boxd.api.v1.CreateNetworkResponse\x12S\n\x0cListNetworks\x12 .boxd.api.v1.ListNetworksRequest\x1a!.boxd.api.v1.ListNetworksResponse\x12M\n\nBindDomain\x12\x1e.boxd.api.v1.BindDomainRequest\x1a\x1f.boxd.api.v1.BindDomainResponse\x12S\n\x0cUnbindDomain\x12 .boxd.api.v1.UnbindDomainRequest\x1a!.boxd.api.v1.UnbindDomainResponse\x12P\n\x0bListDomains\x12\x1f.boxd.api.v1.ListDomainsRequest\x1a .boxd.api.v1.ListDomainsResponse\x12\x41\n\x06Whoami\x12\x1a.boxd.api.v1.WhoamiRequest\x1a\x1b.boxd.api.v1.WhoamiResponse\x12P\n\x0b\x43reateToken\x12\x1f.boxd.api.v1.CreateTokenRequest\x1a .boxd.api.v1.CreateTokenResponse\x12M\n\nListTokens\x12\x1e.boxd.api.v1.ListTokensRequest\x1a\x1f.boxd.api.v1.ListTokensResponse\x12P\n\x0bRevokeToken\x12\x1f.boxd.api.v1.RevokeTokenRequest\x1a .boxd.api.v1.RevokeTokenResponse\x12J\n\tGetConfig\x12\x1d.boxd.api.v1.GetConfigRequest\x1a\x1e.boxd.api.v1.GetConfigResponse\x12\x41\n\x06\x46orkVm\x12\x1a.boxd.api.v1.ForkVmRequest\x1a\x1b.boxd.api.v1.ForkVmResponse\x12P\n\x0bListProxies\x12\x1f.boxd.api.v1.ListProxiesRequest\x1a .boxd.api.v1.ListProxiesResponse\x12P\n\x0b\x43reateProxy\x12\x1f.boxd.api.v1.CreateProxyRequest\x1a .boxd.api.v1.CreateProxyResponse\x12P\n\x0b\x44\x65leteProxy\x12\x1f.boxd.api.v1.DeleteProxyRequest\x1a .boxd.api.v1.DeleteProxyResponse\x12S\n\x0cSetProxyPort\x12 .boxd.api.v1.SetProxyPortRequest\x1a!.boxd.api.v1.SetProxyPortResponse\x12M\n\nUploadFile\x12\x1e.boxd.api.v1.UploadFileRequest\x1a\x1f.boxd.api.v1.UploadFileResponse\x12S\n\x0c\x44ownloadFile\x12 .boxd.api.v1.DownloadFileRequest\x1a!.boxd.api.v1.DownloadFileResponse\x12J\n\tSuspendVm\x12\x1d.boxd.api.v1.SuspendVmRequest\x1a\x1e.boxd.api.v1.SuspendVmResponse\x12G\n\x08ResumeVm\x12\x1c.boxd.api.v1.ResumeVmRequest\x1a\x1d.boxd.api.v1.ResumeVmResponse\x12Y\n\x0e\x43reateTemplate\x12\".boxd.api.v1.CreateTemplateRequest\x1a#.boxd.api.v1.CreateTemplateResponse\x12V\n\rListTemplates\x12!.boxd.api.v1.ListTemplatesRequest\x1a\".boxd.api.v1.ListTemplatesResponse\x12Y\n\x0e\x44\x65leteTemplate\x12\".boxd.api.v1.DeleteTemplateRequest\x1a#.boxd.api.v1.DeleteTemplateResponse\x12k\n\x14\x43reateVmFromTemplate\x12(.boxd.api.v1.CreateVmFromTemplateRequest\x1a).boxd.api.v1.CreateVmFromTemplateResponse\x12M\n\nCreateDisk\x12\x1e.boxd.api.v1.CreateDiskRequest\x1a\x1f.boxd.api.v1.CreateDiskResponse\x12J\n\tListDisks\x12\x1d.boxd.api.v1.ListDisksRequest\x1a\x1e.boxd.api.v1.ListDisksResponse\x12M\n\nAttachDisk\x12\x1e.boxd.api.v1.AttachDiskRequest\x1a\x1f.boxd.api.v1.AttachDiskResponse\x12M\n\nDetachDisk\x12\x1e.boxd.api.v1.DetachDiskRequest\x1a\x1f.boxd.api.v1.DetachDiskResponse\x12P\n\x0b\x44\x65stroyDisk\x12\x1f.boxd.api.v1.DestroyDiskRequest\x1a .boxd.api.v1.DestroyDiskResponse\x12S\n\x0c\x43reateApiKey\x12 .boxd.api.v1.CreateApiKeyRequest\x1a!.boxd.api.v1.CreateApiKeyResponse\x12P\n\x0bListApiKeys\x12\x1f.boxd.api.v1.ListApiKeysRequest\x1a .boxd.api.v1.ListApiKeysResponse\x12S\n\x0c\x44\x65leteApiKey\x12 .boxd.api.v1.DeleteApiKeyRequest\x1a!.boxd.api.v1.DeleteApiKeyResponseb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'api_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_VMCONFIG']._serialized_start=27
35
+ _globals['_VMCONFIG']._serialized_end=218
36
+ _globals['_SRFCONFIG']._serialized_start=220
37
+ _globals['_SRFCONFIG']._serialized_end=301
38
+ _globals['_NETWORKCONFIG']._serialized_start=303
39
+ _globals['_NETWORKCONFIG']._serialized_end=373
40
+ _globals['_PROXYENTRY']._serialized_start=375
41
+ _globals['_PROXYENTRY']._serialized_end=415
42
+ _globals['_VOLUMEMOUNT']._serialized_start=417
43
+ _globals['_VOLUMEMOUNT']._serialized_end=486
44
+ _globals['_CREATEVMREQUEST']._serialized_start=489
45
+ _globals['_CREATEVMREQUEST']._serialized_end=661
46
+ _globals['_ENVVAR']._serialized_start=663
47
+ _globals['_ENVVAR']._serialized_end=699
48
+ _globals['_CREATEVMRESPONSE']._serialized_start=702
49
+ _globals['_CREATEVMRESPONSE']._serialized_end=834
50
+ _globals['_DESTROYVMREQUEST']._serialized_start=836
51
+ _globals['_DESTROYVMREQUEST']._serialized_end=869
52
+ _globals['_DESTROYVMRESPONSE']._serialized_start=871
53
+ _globals['_DESTROYVMRESPONSE']._serialized_end=890
54
+ _globals['_STARTVMREQUEST']._serialized_start=892
55
+ _globals['_STARTVMREQUEST']._serialized_end=923
56
+ _globals['_STARTVMRESPONSE']._serialized_start=925
57
+ _globals['_STARTVMRESPONSE']._serialized_end=942
58
+ _globals['_STOPVMREQUEST']._serialized_start=944
59
+ _globals['_STOPVMREQUEST']._serialized_end=974
60
+ _globals['_STOPVMRESPONSE']._serialized_start=976
61
+ _globals['_STOPVMRESPONSE']._serialized_end=992
62
+ _globals['_REBOOTVMREQUEST']._serialized_start=994
63
+ _globals['_REBOOTVMREQUEST']._serialized_end=1026
64
+ _globals['_REBOOTVMRESPONSE']._serialized_start=1028
65
+ _globals['_REBOOTVMRESPONSE']._serialized_end=1046
66
+ _globals['_SUSPENDVMREQUEST']._serialized_start=1048
67
+ _globals['_SUSPENDVMREQUEST']._serialized_end=1081
68
+ _globals['_SUSPENDVMRESPONSE']._serialized_start=1083
69
+ _globals['_SUSPENDVMRESPONSE']._serialized_end=1122
70
+ _globals['_RESUMEVMREQUEST']._serialized_start=1124
71
+ _globals['_RESUMEVMREQUEST']._serialized_end=1156
72
+ _globals['_RESUMEVMRESPONSE']._serialized_start=1158
73
+ _globals['_RESUMEVMRESPONSE']._serialized_end=1195
74
+ _globals['_GETVMREQUEST']._serialized_start=1197
75
+ _globals['_GETVMREQUEST']._serialized_end=1226
76
+ _globals['_GETVMRESPONSE']._serialized_start=1229
77
+ _globals['_GETVMRESPONSE']._serialized_end=1371
78
+ _globals['_LISTVMSREQUEST']._serialized_start=1373
79
+ _globals['_LISTVMSREQUEST']._serialized_end=1389
80
+ _globals['_LISTVMSRESPONSE']._serialized_start=1391
81
+ _globals['_LISTVMSRESPONSE']._serialized_end=1449
82
+ _globals['_STREAMLOGSREQUEST']._serialized_start=1451
83
+ _globals['_STREAMLOGSREQUEST']._serialized_end=1501
84
+ _globals['_LOGCHUNK']._serialized_start=1503
85
+ _globals['_LOGCHUNK']._serialized_end=1527
86
+ _globals['_EXECCHUNK']._serialized_start=1529
87
+ _globals['_EXECCHUNK']._serialized_end=1633
88
+ _globals['_CREATENETWORKREQUEST']._serialized_start=1635
89
+ _globals['_CREATENETWORKREQUEST']._serialized_end=1671
90
+ _globals['_CREATENETWORKRESPONSE']._serialized_start=1673
91
+ _globals['_CREATENETWORKRESPONSE']._serialized_end=1716
92
+ _globals['_LISTNETWORKSREQUEST']._serialized_start=1718
93
+ _globals['_LISTNETWORKSREQUEST']._serialized_end=1739
94
+ _globals['_LISTNETWORKSRESPONSE']._serialized_start=1741
95
+ _globals['_LISTNETWORKSRESPONSE']._serialized_end=1807
96
+ _globals['_NETWORKINFO']._serialized_start=1809
97
+ _globals['_NETWORKINFO']._serialized_end=1874
98
+ _globals['_BINDDOMAINREQUEST']._serialized_start=1876
99
+ _globals['_BINDDOMAINREQUEST']._serialized_end=1926
100
+ _globals['_BINDDOMAINRESPONSE']._serialized_start=1928
101
+ _globals['_BINDDOMAINRESPONSE']._serialized_end=1948
102
+ _globals['_UNBINDDOMAINREQUEST']._serialized_start=1950
103
+ _globals['_UNBINDDOMAINREQUEST']._serialized_end=1987
104
+ _globals['_UNBINDDOMAINRESPONSE']._serialized_start=1989
105
+ _globals['_UNBINDDOMAINRESPONSE']._serialized_end=2011
106
+ _globals['_LISTDOMAINSREQUEST']._serialized_start=2013
107
+ _globals['_LISTDOMAINSREQUEST']._serialized_end=2033
108
+ _globals['_LISTDOMAINSRESPONSE']._serialized_start=2035
109
+ _globals['_LISTDOMAINSRESPONSE']._serialized_end=2098
110
+ _globals['_DOMAININFO']._serialized_start=2100
111
+ _globals['_DOMAININFO']._serialized_end=2143
112
+ _globals['_GETCONFIGREQUEST']._serialized_start=2145
113
+ _globals['_GETCONFIGREQUEST']._serialized_end=2163
114
+ _globals['_GETCONFIGRESPONSE']._serialized_start=2165
115
+ _globals['_GETCONFIGRESPONSE']._serialized_end=2221
116
+ _globals['_WHOAMIREQUEST']._serialized_start=2223
117
+ _globals['_WHOAMIREQUEST']._serialized_end=2238
118
+ _globals['_WHOAMIRESPONSE']._serialized_start=2240
119
+ _globals['_WHOAMIRESPONSE']._serialized_end=2330
120
+ _globals['_CREATETOKENREQUEST']._serialized_start=2332
121
+ _globals['_CREATETOKENREQUEST']._serialized_end=2377
122
+ _globals['_CREATETOKENRESPONSE']._serialized_start=2379
123
+ _globals['_CREATETOKENRESPONSE']._serialized_end=2435
124
+ _globals['_LISTTOKENSREQUEST']._serialized_start=2437
125
+ _globals['_LISTTOKENSREQUEST']._serialized_end=2456
126
+ _globals['_LISTTOKENSRESPONSE']._serialized_start=2458
127
+ _globals['_LISTTOKENSRESPONSE']._serialized_end=2518
128
+ _globals['_TOKENINFO']._serialized_start=2520
129
+ _globals['_TOKENINFO']._serialized_end=2584
130
+ _globals['_REVOKETOKENREQUEST']._serialized_start=2586
131
+ _globals['_REVOKETOKENREQUEST']._serialized_end=2619
132
+ _globals['_REVOKETOKENRESPONSE']._serialized_start=2621
133
+ _globals['_REVOKETOKENRESPONSE']._serialized_end=2642
134
+ _globals['_FORKVMREQUEST']._serialized_start=2644
135
+ _globals['_FORKVMREQUEST']._serialized_end=2734
136
+ _globals['_FORKVMRESPONSE']._serialized_start=2737
137
+ _globals['_FORKVMRESPONSE']._serialized_end=2888
138
+ _globals['_LISTPROXIESREQUEST']._serialized_start=2890
139
+ _globals['_LISTPROXIESREQUEST']._serialized_end=2927
140
+ _globals['_LISTPROXIESRESPONSE']._serialized_start=2929
141
+ _globals['_LISTPROXIESRESPONSE']._serialized_end=2991
142
+ _globals['_PROXYINFO']._serialized_start=2993
143
+ _globals['_PROXYINFO']._serialized_end=3107
144
+ _globals['_CREATEPROXYREQUEST']._serialized_start=3109
145
+ _globals['_CREATEPROXYREQUEST']._serialized_end=3174
146
+ _globals['_CREATEPROXYRESPONSE']._serialized_start=3176
147
+ _globals['_CREATEPROXYRESPONSE']._serialized_end=3258
148
+ _globals['_DELETEPROXYREQUEST']._serialized_start=3260
149
+ _globals['_DELETEPROXYREQUEST']._serialized_end=3311
150
+ _globals['_DELETEPROXYRESPONSE']._serialized_start=3313
151
+ _globals['_DELETEPROXYRESPONSE']._serialized_end=3334
152
+ _globals['_SETPROXYPORTREQUEST']._serialized_start=3336
153
+ _globals['_SETPROXYPORTREQUEST']._serialized_end=3402
154
+ _globals['_SETPROXYPORTRESPONSE']._serialized_start=3404
155
+ _globals['_SETPROXYPORTRESPONSE']._serialized_end=3426
156
+ _globals['_UPLOADFILEREQUEST']._serialized_start=3428
157
+ _globals['_UPLOADFILEREQUEST']._serialized_end=3490
158
+ _globals['_UPLOADFILERESPONSE']._serialized_start=3492
159
+ _globals['_UPLOADFILERESPONSE']._serialized_end=3512
160
+ _globals['_DOWNLOADFILEREQUEST']._serialized_start=3514
161
+ _globals['_DOWNLOADFILEREQUEST']._serialized_end=3564
162
+ _globals['_DOWNLOADFILERESPONSE']._serialized_start=3566
163
+ _globals['_DOWNLOADFILERESPONSE']._serialized_end=3602
164
+ _globals['_CREATETEMPLATEREQUEST']._serialized_start=3604
165
+ _globals['_CREATETEMPLATEREQUEST']._serialized_end=3699
166
+ _globals['_CREATETEMPLATERESPONSE']._serialized_start=3701
167
+ _globals['_CREATETEMPLATERESPONSE']._serialized_end=3776
168
+ _globals['_LISTTEMPLATESREQUEST']._serialized_start=3778
169
+ _globals['_LISTTEMPLATESREQUEST']._serialized_end=3800
170
+ _globals['_LISTTEMPLATESRESPONSE']._serialized_start=3802
171
+ _globals['_LISTTEMPLATESRESPONSE']._serialized_end=3871
172
+ _globals['_TEMPLATEINFO']._serialized_start=3873
173
+ _globals['_TEMPLATEINFO']._serialized_end=3993
174
+ _globals['_DELETETEMPLATEREQUEST']._serialized_start=3995
175
+ _globals['_DELETETEMPLATEREQUEST']._serialized_end=4039
176
+ _globals['_DELETETEMPLATERESPONSE']._serialized_start=4041
177
+ _globals['_DELETETEMPLATERESPONSE']._serialized_end=4065
178
+ _globals['_CREATEVMFROMTEMPLATEREQUEST']._serialized_start=4067
179
+ _globals['_CREATEVMFROMTEMPLATEREQUEST']._serialized_end=4170
180
+ _globals['_CREATEVMFROMTEMPLATERESPONSE']._serialized_start=4173
181
+ _globals['_CREATEVMFROMTEMPLATERESPONSE']._serialized_end=4302
182
+ _globals['_CREATEDISKREQUEST']._serialized_start=4304
183
+ _globals['_CREATEDISKREQUEST']._serialized_end=4357
184
+ _globals['_CREATEDISKRESPONSE']._serialized_start=4359
185
+ _globals['_CREATEDISKRESPONSE']._serialized_end=4446
186
+ _globals['_LISTDISKSREQUEST']._serialized_start=4448
187
+ _globals['_LISTDISKSREQUEST']._serialized_end=4466
188
+ _globals['_LISTDISKSRESPONSE']._serialized_start=4468
189
+ _globals['_LISTDISKSRESPONSE']._serialized_end=4525
190
+ _globals['_DISKINFO']._serialized_start=4528
191
+ _globals['_DISKINFO']._serialized_end=4674
192
+ _globals['_DISKATTACHMENT']._serialized_start=4676
193
+ _globals['_DISKATTACHMENT']._serialized_end=4764
194
+ _globals['_ATTACHDISKREQUEST']._serialized_start=4766
195
+ _globals['_ATTACHDISKREQUEST']._serialized_end=4856
196
+ _globals['_ATTACHDISKRESPONSE']._serialized_start=4858
197
+ _globals['_ATTACHDISKRESPONSE']._serialized_end=4878
198
+ _globals['_DETACHDISKREQUEST']._serialized_start=4880
199
+ _globals['_DETACHDISKREQUEST']._serialized_end=4931
200
+ _globals['_DETACHDISKRESPONSE']._serialized_start=4933
201
+ _globals['_DETACHDISKRESPONSE']._serialized_end=4953
202
+ _globals['_DESTROYDISKREQUEST']._serialized_start=4955
203
+ _globals['_DESTROYDISKREQUEST']._serialized_end=4992
204
+ _globals['_DESTROYDISKRESPONSE']._serialized_start=4994
205
+ _globals['_DESTROYDISKRESPONSE']._serialized_end=5015
206
+ _globals['_CREATEAPIKEYREQUEST']._serialized_start=5017
207
+ _globals['_CREATEAPIKEYREQUEST']._serialized_end=5077
208
+ _globals['_CREATEAPIKEYRESPONSE']._serialized_start=5079
209
+ _globals['_CREATEAPIKEYRESPONSE']._serialized_end=5150
210
+ _globals['_LISTAPIKEYSREQUEST']._serialized_start=5152
211
+ _globals['_LISTAPIKEYSREQUEST']._serialized_end=5172
212
+ _globals['_LISTAPIKEYSRESPONSE']._serialized_start=5174
213
+ _globals['_LISTAPIKEYSRESPONSE']._serialized_end=5234
214
+ _globals['_APIKEYINFO']._serialized_start=5236
215
+ _globals['_APIKEYINFO']._serialized_end=5356
216
+ _globals['_DELETEAPIKEYREQUEST']._serialized_start=5358
217
+ _globals['_DELETEAPIKEYREQUEST']._serialized_end=5391
218
+ _globals['_DELETEAPIKEYRESPONSE']._serialized_start=5393
219
+ _globals['_DELETEAPIKEYRESPONSE']._serialized_end=5415
220
+ _globals['_BOXDAPI']._serialized_start=5418
221
+ _globals['_BOXDAPI']._serialized_end=8593
222
+ # @@protoc_insertion_point(module_scope)