kurtosis-sdk 0.81.9 → 0.82.0

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.
@@ -0,0 +1,167 @@
1
+ // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=js+dts"
2
+ // @generated from file api_container_service.proto (package api_container_api, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { DownloadFilesArtifactArgs, ExecCommandArgs, ExecCommandResponse, GetExistingAndHistoricalServiceIdentifiersResponse, GetServicesArgs, GetServicesResponse, InspectFilesArtifactContentsRequest, InspectFilesArtifactContentsResponse, ListFilesArtifactNamesAndUuidsResponse, RunStarlarkPackageArgs, RunStarlarkScriptArgs, StarlarkRunResponseLine, StoreFilesArtifactFromServiceArgs, StoreFilesArtifactFromServiceResponse, StoreWebFilesArtifactArgs, StoreWebFilesArtifactResponse, StreamedDataChunk, UploadFilesArtifactResponse, WaitForHttpGetEndpointAvailabilityArgs, WaitForHttpPostEndpointAvailabilityArgs } from "./api_container_service_pb.js";
7
+ import { Empty, MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service api_container_api.ApiContainerService
11
+ */
12
+ export declare const ApiContainerService: {
13
+ readonly typeName: "api_container_api.ApiContainerService",
14
+ readonly methods: {
15
+ /**
16
+ * Executes a Starlark script on the user's behalf
17
+ *
18
+ * @generated from rpc api_container_api.ApiContainerService.RunStarlarkScript
19
+ */
20
+ readonly runStarlarkScript: {
21
+ readonly name: "RunStarlarkScript",
22
+ readonly I: typeof RunStarlarkScriptArgs,
23
+ readonly O: typeof StarlarkRunResponseLine,
24
+ readonly kind: MethodKind.ServerStreaming,
25
+ },
26
+ /**
27
+ * Uploads a Starlark package. This step is required before the package can be executed with RunStarlarkPackage
28
+ *
29
+ * @generated from rpc api_container_api.ApiContainerService.UploadStarlarkPackage
30
+ */
31
+ readonly uploadStarlarkPackage: {
32
+ readonly name: "UploadStarlarkPackage",
33
+ readonly I: typeof StreamedDataChunk,
34
+ readonly O: typeof Empty,
35
+ readonly kind: MethodKind.ClientStreaming,
36
+ },
37
+ /**
38
+ * Executes a Starlark script on the user's behalf
39
+ *
40
+ * @generated from rpc api_container_api.ApiContainerService.RunStarlarkPackage
41
+ */
42
+ readonly runStarlarkPackage: {
43
+ readonly name: "RunStarlarkPackage",
44
+ readonly I: typeof RunStarlarkPackageArgs,
45
+ readonly O: typeof StarlarkRunResponseLine,
46
+ readonly kind: MethodKind.ServerStreaming,
47
+ },
48
+ /**
49
+ * Returns the IDs of the current services in the enclave
50
+ *
51
+ * @generated from rpc api_container_api.ApiContainerService.GetServices
52
+ */
53
+ readonly getServices: {
54
+ readonly name: "GetServices",
55
+ readonly I: typeof GetServicesArgs,
56
+ readonly O: typeof GetServicesResponse,
57
+ readonly kind: MethodKind.Unary,
58
+ },
59
+ /**
60
+ * Returns information about all existing & historical services
61
+ *
62
+ * @generated from rpc api_container_api.ApiContainerService.GetExistingAndHistoricalServiceIdentifiers
63
+ */
64
+ readonly getExistingAndHistoricalServiceIdentifiers: {
65
+ readonly name: "GetExistingAndHistoricalServiceIdentifiers",
66
+ readonly I: typeof Empty,
67
+ readonly O: typeof GetExistingAndHistoricalServiceIdentifiersResponse,
68
+ readonly kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * Executes the given command inside a running container
72
+ *
73
+ * @generated from rpc api_container_api.ApiContainerService.ExecCommand
74
+ */
75
+ readonly execCommand: {
76
+ readonly name: "ExecCommand",
77
+ readonly I: typeof ExecCommandArgs,
78
+ readonly O: typeof ExecCommandResponse,
79
+ readonly kind: MethodKind.Unary,
80
+ },
81
+ /**
82
+ * Block until the given HTTP endpoint returns available, calling it through a HTTP Get request
83
+ *
84
+ * @generated from rpc api_container_api.ApiContainerService.WaitForHttpGetEndpointAvailability
85
+ */
86
+ readonly waitForHttpGetEndpointAvailability: {
87
+ readonly name: "WaitForHttpGetEndpointAvailability",
88
+ readonly I: typeof WaitForHttpGetEndpointAvailabilityArgs,
89
+ readonly O: typeof Empty,
90
+ readonly kind: MethodKind.Unary,
91
+ },
92
+ /**
93
+ * Block until the given HTTP endpoint returns available, calling it through a HTTP Post request
94
+ *
95
+ * @generated from rpc api_container_api.ApiContainerService.WaitForHttpPostEndpointAvailability
96
+ */
97
+ readonly waitForHttpPostEndpointAvailability: {
98
+ readonly name: "WaitForHttpPostEndpointAvailability",
99
+ readonly I: typeof WaitForHttpPostEndpointAvailabilityArgs,
100
+ readonly O: typeof Empty,
101
+ readonly kind: MethodKind.Unary,
102
+ },
103
+ /**
104
+ * Uploads a files artifact to the Kurtosis File System
105
+ *
106
+ * @generated from rpc api_container_api.ApiContainerService.UploadFilesArtifact
107
+ */
108
+ readonly uploadFilesArtifact: {
109
+ readonly name: "UploadFilesArtifact",
110
+ readonly I: typeof StreamedDataChunk,
111
+ readonly O: typeof UploadFilesArtifactResponse,
112
+ readonly kind: MethodKind.ClientStreaming,
113
+ },
114
+ /**
115
+ * Downloads a files artifact from the Kurtosis File System
116
+ *
117
+ * @generated from rpc api_container_api.ApiContainerService.DownloadFilesArtifact
118
+ */
119
+ readonly downloadFilesArtifact: {
120
+ readonly name: "DownloadFilesArtifact",
121
+ readonly I: typeof DownloadFilesArtifactArgs,
122
+ readonly O: typeof StreamedDataChunk,
123
+ readonly kind: MethodKind.ServerStreaming,
124
+ },
125
+ /**
126
+ * Tells the API container to download a files artifact from the web to the Kurtosis File System
127
+ *
128
+ * @generated from rpc api_container_api.ApiContainerService.StoreWebFilesArtifact
129
+ */
130
+ readonly storeWebFilesArtifact: {
131
+ readonly name: "StoreWebFilesArtifact",
132
+ readonly I: typeof StoreWebFilesArtifactArgs,
133
+ readonly O: typeof StoreWebFilesArtifactResponse,
134
+ readonly kind: MethodKind.Unary,
135
+ },
136
+ /**
137
+ * Tells the API container to copy a files artifact from a service to the Kurtosis File System
138
+ *
139
+ * @generated from rpc api_container_api.ApiContainerService.StoreFilesArtifactFromService
140
+ */
141
+ readonly storeFilesArtifactFromService: {
142
+ readonly name: "StoreFilesArtifactFromService",
143
+ readonly I: typeof StoreFilesArtifactFromServiceArgs,
144
+ readonly O: typeof StoreFilesArtifactFromServiceResponse,
145
+ readonly kind: MethodKind.Unary,
146
+ },
147
+ /**
148
+ * @generated from rpc api_container_api.ApiContainerService.ListFilesArtifactNamesAndUuids
149
+ */
150
+ readonly listFilesArtifactNamesAndUuids: {
151
+ readonly name: "ListFilesArtifactNamesAndUuids",
152
+ readonly I: typeof Empty,
153
+ readonly O: typeof ListFilesArtifactNamesAndUuidsResponse,
154
+ readonly kind: MethodKind.Unary,
155
+ },
156
+ /**
157
+ * @generated from rpc api_container_api.ApiContainerService.InspectFilesArtifactContents
158
+ */
159
+ readonly inspectFilesArtifactContents: {
160
+ readonly name: "InspectFilesArtifactContents",
161
+ readonly I: typeof InspectFilesArtifactContentsRequest,
162
+ readonly O: typeof InspectFilesArtifactContentsResponse,
163
+ readonly kind: MethodKind.Unary,
164
+ },
165
+ }
166
+ };
167
+
@@ -0,0 +1,167 @@
1
+ // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=js+dts"
2
+ // @generated from file api_container_service.proto (package api_container_api, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { DownloadFilesArtifactArgs, ExecCommandArgs, ExecCommandResponse, GetExistingAndHistoricalServiceIdentifiersResponse, GetServicesArgs, GetServicesResponse, InspectFilesArtifactContentsRequest, InspectFilesArtifactContentsResponse, ListFilesArtifactNamesAndUuidsResponse, RunStarlarkPackageArgs, RunStarlarkScriptArgs, StarlarkRunResponseLine, StoreFilesArtifactFromServiceArgs, StoreFilesArtifactFromServiceResponse, StoreWebFilesArtifactArgs, StoreWebFilesArtifactResponse, StreamedDataChunk, UploadFilesArtifactResponse, WaitForHttpGetEndpointAvailabilityArgs, WaitForHttpPostEndpointAvailabilityArgs } from "./api_container_service_pb.js";
7
+ import { Empty, MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service api_container_api.ApiContainerService
11
+ */
12
+ export const ApiContainerService = {
13
+ typeName: "api_container_api.ApiContainerService",
14
+ methods: {
15
+ /**
16
+ * Executes a Starlark script on the user's behalf
17
+ *
18
+ * @generated from rpc api_container_api.ApiContainerService.RunStarlarkScript
19
+ */
20
+ runStarlarkScript: {
21
+ name: "RunStarlarkScript",
22
+ I: RunStarlarkScriptArgs,
23
+ O: StarlarkRunResponseLine,
24
+ kind: MethodKind.ServerStreaming,
25
+ },
26
+ /**
27
+ * Uploads a Starlark package. This step is required before the package can be executed with RunStarlarkPackage
28
+ *
29
+ * @generated from rpc api_container_api.ApiContainerService.UploadStarlarkPackage
30
+ */
31
+ uploadStarlarkPackage: {
32
+ name: "UploadStarlarkPackage",
33
+ I: StreamedDataChunk,
34
+ O: Empty,
35
+ kind: MethodKind.ClientStreaming,
36
+ },
37
+ /**
38
+ * Executes a Starlark script on the user's behalf
39
+ *
40
+ * @generated from rpc api_container_api.ApiContainerService.RunStarlarkPackage
41
+ */
42
+ runStarlarkPackage: {
43
+ name: "RunStarlarkPackage",
44
+ I: RunStarlarkPackageArgs,
45
+ O: StarlarkRunResponseLine,
46
+ kind: MethodKind.ServerStreaming,
47
+ },
48
+ /**
49
+ * Returns the IDs of the current services in the enclave
50
+ *
51
+ * @generated from rpc api_container_api.ApiContainerService.GetServices
52
+ */
53
+ getServices: {
54
+ name: "GetServices",
55
+ I: GetServicesArgs,
56
+ O: GetServicesResponse,
57
+ kind: MethodKind.Unary,
58
+ },
59
+ /**
60
+ * Returns information about all existing & historical services
61
+ *
62
+ * @generated from rpc api_container_api.ApiContainerService.GetExistingAndHistoricalServiceIdentifiers
63
+ */
64
+ getExistingAndHistoricalServiceIdentifiers: {
65
+ name: "GetExistingAndHistoricalServiceIdentifiers",
66
+ I: Empty,
67
+ O: GetExistingAndHistoricalServiceIdentifiersResponse,
68
+ kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * Executes the given command inside a running container
72
+ *
73
+ * @generated from rpc api_container_api.ApiContainerService.ExecCommand
74
+ */
75
+ execCommand: {
76
+ name: "ExecCommand",
77
+ I: ExecCommandArgs,
78
+ O: ExecCommandResponse,
79
+ kind: MethodKind.Unary,
80
+ },
81
+ /**
82
+ * Block until the given HTTP endpoint returns available, calling it through a HTTP Get request
83
+ *
84
+ * @generated from rpc api_container_api.ApiContainerService.WaitForHttpGetEndpointAvailability
85
+ */
86
+ waitForHttpGetEndpointAvailability: {
87
+ name: "WaitForHttpGetEndpointAvailability",
88
+ I: WaitForHttpGetEndpointAvailabilityArgs,
89
+ O: Empty,
90
+ kind: MethodKind.Unary,
91
+ },
92
+ /**
93
+ * Block until the given HTTP endpoint returns available, calling it through a HTTP Post request
94
+ *
95
+ * @generated from rpc api_container_api.ApiContainerService.WaitForHttpPostEndpointAvailability
96
+ */
97
+ waitForHttpPostEndpointAvailability: {
98
+ name: "WaitForHttpPostEndpointAvailability",
99
+ I: WaitForHttpPostEndpointAvailabilityArgs,
100
+ O: Empty,
101
+ kind: MethodKind.Unary,
102
+ },
103
+ /**
104
+ * Uploads a files artifact to the Kurtosis File System
105
+ *
106
+ * @generated from rpc api_container_api.ApiContainerService.UploadFilesArtifact
107
+ */
108
+ uploadFilesArtifact: {
109
+ name: "UploadFilesArtifact",
110
+ I: StreamedDataChunk,
111
+ O: UploadFilesArtifactResponse,
112
+ kind: MethodKind.ClientStreaming,
113
+ },
114
+ /**
115
+ * Downloads a files artifact from the Kurtosis File System
116
+ *
117
+ * @generated from rpc api_container_api.ApiContainerService.DownloadFilesArtifact
118
+ */
119
+ downloadFilesArtifact: {
120
+ name: "DownloadFilesArtifact",
121
+ I: DownloadFilesArtifactArgs,
122
+ O: StreamedDataChunk,
123
+ kind: MethodKind.ServerStreaming,
124
+ },
125
+ /**
126
+ * Tells the API container to download a files artifact from the web to the Kurtosis File System
127
+ *
128
+ * @generated from rpc api_container_api.ApiContainerService.StoreWebFilesArtifact
129
+ */
130
+ storeWebFilesArtifact: {
131
+ name: "StoreWebFilesArtifact",
132
+ I: StoreWebFilesArtifactArgs,
133
+ O: StoreWebFilesArtifactResponse,
134
+ kind: MethodKind.Unary,
135
+ },
136
+ /**
137
+ * Tells the API container to copy a files artifact from a service to the Kurtosis File System
138
+ *
139
+ * @generated from rpc api_container_api.ApiContainerService.StoreFilesArtifactFromService
140
+ */
141
+ storeFilesArtifactFromService: {
142
+ name: "StoreFilesArtifactFromService",
143
+ I: StoreFilesArtifactFromServiceArgs,
144
+ O: StoreFilesArtifactFromServiceResponse,
145
+ kind: MethodKind.Unary,
146
+ },
147
+ /**
148
+ * @generated from rpc api_container_api.ApiContainerService.ListFilesArtifactNamesAndUuids
149
+ */
150
+ listFilesArtifactNamesAndUuids: {
151
+ name: "ListFilesArtifactNamesAndUuids",
152
+ I: Empty,
153
+ O: ListFilesArtifactNamesAndUuidsResponse,
154
+ kind: MethodKind.Unary,
155
+ },
156
+ /**
157
+ * @generated from rpc api_container_api.ApiContainerService.InspectFilesArtifactContents
158
+ */
159
+ inspectFilesArtifactContents: {
160
+ name: "InspectFilesArtifactContents",
161
+ I: InspectFilesArtifactContentsRequest,
162
+ O: InspectFilesArtifactContentsResponse,
163
+ kind: MethodKind.Unary,
164
+ },
165
+ }
166
+ };
167
+