arkitekt-next 0.7.8__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.
Potentially problematic release.
This version of arkitekt-next might be problematic. Click here for more details.
- arkitekt_next/__init__.py +43 -0
- arkitekt_next/apps/__init__.py +3 -0
- arkitekt_next/apps/easy.py +99 -0
- arkitekt_next/apps/next.py +40 -0
- arkitekt_next/apps/qt.py +97 -0
- arkitekt_next/apps/service/__init__.py +3 -0
- arkitekt_next/apps/service/fakts.py +88 -0
- arkitekt_next/apps/service/fakts_next.py +79 -0
- arkitekt_next/apps/service/fakts_qt.py +82 -0
- arkitekt_next/apps/service/fluss_next.py +31 -0
- arkitekt_next/apps/service/grant_registry.py +27 -0
- arkitekt_next/apps/service/herre.py +24 -0
- arkitekt_next/apps/service/herre_qt.py +57 -0
- arkitekt_next/apps/service/kabinet.py +31 -0
- arkitekt_next/apps/service/mikro_next.py +81 -0
- arkitekt_next/apps/service/rekuest_next.py +53 -0
- arkitekt_next/apps/service/unlok_next.py +32 -0
- arkitekt_next/apps/types.py +53 -0
- arkitekt_next/builders.py +264 -0
- arkitekt_next/cli/__init__.py +0 -0
- arkitekt_next/cli/commands/call/__init__.py +0 -0
- arkitekt_next/cli/commands/call/local.py +132 -0
- arkitekt_next/cli/commands/call/main.py +22 -0
- arkitekt_next/cli/commands/call/remote.py +90 -0
- arkitekt_next/cli/commands/gen/__init__.py +0 -0
- arkitekt_next/cli/commands/gen/compile.py +45 -0
- arkitekt_next/cli/commands/gen/init.py +122 -0
- arkitekt_next/cli/commands/gen/main.py +29 -0
- arkitekt_next/cli/commands/gen/watch.py +32 -0
- arkitekt_next/cli/commands/init/__init__.py +0 -0
- arkitekt_next/cli/commands/init/main.py +194 -0
- arkitekt_next/cli/commands/inspect/__init__.py +0 -0
- arkitekt_next/cli/commands/inspect/definitions.py +53 -0
- arkitekt_next/cli/commands/inspect/main.py +22 -0
- arkitekt_next/cli/commands/inspect/variables.py +92 -0
- arkitekt_next/cli/commands/manifest/__init__.py +0 -0
- arkitekt_next/cli/commands/manifest/inspect.py +42 -0
- arkitekt_next/cli/commands/manifest/main.py +25 -0
- arkitekt_next/cli/commands/manifest/scopes.py +155 -0
- arkitekt_next/cli/commands/manifest/version.py +147 -0
- arkitekt_next/cli/commands/manifest/wizard.py +94 -0
- arkitekt_next/cli/commands/port/__init__.py +0 -0
- arkitekt_next/cli/commands/port/build.py +231 -0
- arkitekt_next/cli/commands/port/init.py +82 -0
- arkitekt_next/cli/commands/port/main.py +31 -0
- arkitekt_next/cli/commands/port/publish.py +102 -0
- arkitekt_next/cli/commands/port/stage.py +59 -0
- arkitekt_next/cli/commands/port/utils.py +47 -0
- arkitekt_next/cli/commands/port/validate.py +78 -0
- arkitekt_next/cli/commands/port/wizard.py +329 -0
- arkitekt_next/cli/commands/run/__init__.py +0 -0
- arkitekt_next/cli/commands/run/dev.py +349 -0
- arkitekt_next/cli/commands/run/main.py +22 -0
- arkitekt_next/cli/commands/run/prod.py +57 -0
- arkitekt_next/cli/commands/run/utils.py +10 -0
- arkitekt_next/cli/commands/server/__init__.py +0 -0
- arkitekt_next/cli/commands/server/down.py +56 -0
- arkitekt_next/cli/commands/server/init.py +74 -0
- arkitekt_next/cli/commands/server/inspect.py +59 -0
- arkitekt_next/cli/commands/server/main.py +33 -0
- arkitekt_next/cli/commands/server/open.py +66 -0
- arkitekt_next/cli/commands/server/remove.py +60 -0
- arkitekt_next/cli/commands/server/stop.py +56 -0
- arkitekt_next/cli/commands/server/up.py +70 -0
- arkitekt_next/cli/commands/server/utils.py +33 -0
- arkitekt_next/cli/configs/base.yaml +867 -0
- arkitekt_next/cli/constants.py +63 -0
- arkitekt_next/cli/dockerfiles/vanilla.dockerfile +8 -0
- arkitekt_next/cli/errors.py +4 -0
- arkitekt_next/cli/inspect.py +1 -0
- arkitekt_next/cli/io.py +255 -0
- arkitekt_next/cli/main.py +83 -0
- arkitekt_next/cli/options.py +166 -0
- arkitekt_next/cli/schemas/fluss.schema.graphql +2446 -0
- arkitekt_next/cli/schemas/gucker.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/kabinet.schema.graphql +515 -0
- arkitekt_next/cli/schemas/kluster.schema.graphql +109 -0
- arkitekt_next/cli/schemas/konviktion.schema.graphql +70 -0
- arkitekt_next/cli/schemas/kuay.schema.graphql +356 -0
- arkitekt_next/cli/schemas/mikro.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/mikro_next.schema.graphql +1639 -0
- arkitekt_next/cli/schemas/napari.schema.graphql +8908 -0
- arkitekt_next/cli/schemas/omero_ark.schema.graphql +100 -0
- arkitekt_next/cli/schemas/port.schema.graphql +356 -0
- arkitekt_next/cli/schemas/rekuest.schema.graphql +4630 -0
- arkitekt_next/cli/schemas/rekuest_next.schema.graphql +1159 -0
- arkitekt_next/cli/schemas/unlok.schema.graphql +1013 -0
- arkitekt_next/cli/templates/filter.py +26 -0
- arkitekt_next/cli/templates/simple.py +67 -0
- arkitekt_next/cli/texts.py +20 -0
- arkitekt_next/cli/types.py +365 -0
- arkitekt_next/cli/ui.py +111 -0
- arkitekt_next/cli/utils.py +15 -0
- arkitekt_next/cli/validators.py +17 -0
- arkitekt_next/cli/vars.py +39 -0
- arkitekt_next/cli/versions/v1.yaml +1 -0
- arkitekt_next/constants.py +6 -0
- arkitekt_next/model.py +110 -0
- arkitekt_next/qt/__init__.py +9 -0
- arkitekt_next/qt/assets/dark/gear.png +0 -0
- arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
- arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
- arkitekt_next/qt/assets/light/gear.png +0 -0
- arkitekt_next/qt/assets/light/green pulse.gif +0 -0
- arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
- arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
- arkitekt_next/qt/assets/light/red pulse.gif +0 -0
- arkitekt_next/qt/magic_bar.py +545 -0
- arkitekt_next/qt/utils.py +30 -0
- arkitekt_next/service_registry.py +51 -0
- arkitekt_next/tqdm.py +43 -0
- arkitekt_next/utils.py +38 -0
- arkitekt_next-0.7.8.dist-info/LICENSE +21 -0
- arkitekt_next-0.7.8.dist-info/METADATA +155 -0
- arkitekt_next-0.7.8.dist-info/RECORD +119 -0
- arkitekt_next-0.7.8.dist-info/WHEEL +4 -0
- arkitekt_next-0.7.8.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
"""The root Query"""
|
|
2
|
+
type Query {
|
|
3
|
+
hello: String
|
|
4
|
+
void: String
|
|
5
|
+
|
|
6
|
+
"Get a single feature by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
7
|
+
containers(
|
|
8
|
+
"""The status to search by (defaults to running)"""
|
|
9
|
+
status: [ContainerStatus]
|
|
10
|
+
|
|
11
|
+
"""Search for a container by whale"""
|
|
12
|
+
search: String
|
|
13
|
+
): [Container]
|
|
14
|
+
|
|
15
|
+
"Get a single docker by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
16
|
+
container(
|
|
17
|
+
"""The Container ID"""
|
|
18
|
+
id: ID!
|
|
19
|
+
): Container
|
|
20
|
+
|
|
21
|
+
"Get a single docker by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
22
|
+
containerFor(
|
|
23
|
+
"""The Whale ID"""
|
|
24
|
+
whale: ID!
|
|
25
|
+
|
|
26
|
+
"""The Instance ID"""
|
|
27
|
+
instance: String
|
|
28
|
+
): Container
|
|
29
|
+
|
|
30
|
+
"Get a single feature by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
31
|
+
networks(
|
|
32
|
+
"""The ID to search by"""
|
|
33
|
+
name: String
|
|
34
|
+
|
|
35
|
+
"""The limit of the query"""
|
|
36
|
+
limit: Int
|
|
37
|
+
|
|
38
|
+
"""The IDs to search by"""
|
|
39
|
+
values: [ID]
|
|
40
|
+
): [Network]
|
|
41
|
+
mynetworks: [Network]
|
|
42
|
+
|
|
43
|
+
"Get a single feature by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
44
|
+
deployments(
|
|
45
|
+
search: String
|
|
46
|
+
|
|
47
|
+
"""Query limit"""
|
|
48
|
+
limit: Int
|
|
49
|
+
|
|
50
|
+
"""Query offset"""
|
|
51
|
+
offset: Int
|
|
52
|
+
): [Deployment]
|
|
53
|
+
|
|
54
|
+
"Get a single docker by ID\n\n Returns a single feature by ID. If the user does not have access\n to the feature, an error will be raised.\n "
|
|
55
|
+
deployment(
|
|
56
|
+
"""The Container ID"""
|
|
57
|
+
id: ID!
|
|
58
|
+
): Deployment
|
|
59
|
+
githubRepos(
|
|
60
|
+
name: String
|
|
61
|
+
|
|
62
|
+
"""Query limit"""
|
|
63
|
+
limit: Int
|
|
64
|
+
|
|
65
|
+
"""Query offset"""
|
|
66
|
+
offset: Int
|
|
67
|
+
): [GithubRepo]
|
|
68
|
+
|
|
69
|
+
"""Get information on your Docker Template"""
|
|
70
|
+
githubRepo(
|
|
71
|
+
"""The Whale ID"""
|
|
72
|
+
id: ID
|
|
73
|
+
|
|
74
|
+
"""The tag of the repository e.g jhnnsrs/port:main"""
|
|
75
|
+
tag: String
|
|
76
|
+
): GithubRepo
|
|
77
|
+
whales(
|
|
78
|
+
search: String
|
|
79
|
+
|
|
80
|
+
"""Query limit"""
|
|
81
|
+
limit: Int
|
|
82
|
+
|
|
83
|
+
"""Query offset"""
|
|
84
|
+
offset: Int
|
|
85
|
+
): [Whale]
|
|
86
|
+
|
|
87
|
+
"""Get information on your Docker Template"""
|
|
88
|
+
whale(
|
|
89
|
+
"""The Whale ID"""
|
|
90
|
+
id: ID
|
|
91
|
+
|
|
92
|
+
"""The Template ID"""
|
|
93
|
+
template: ID
|
|
94
|
+
): Whale
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type Container {
|
|
98
|
+
id: ID!
|
|
99
|
+
name: String
|
|
100
|
+
image: Image
|
|
101
|
+
labels: GenericScalar
|
|
102
|
+
attrs: GenericScalar
|
|
103
|
+
whale: Whale
|
|
104
|
+
status: ContainerStatus
|
|
105
|
+
logs(stdout: Boolean, stderr: Boolean, tail: Int, since: String, timestamps: Boolean, follow: Boolean, until: String): String
|
|
106
|
+
network: Network
|
|
107
|
+
runtime: DockerRuntime
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
type Image {
|
|
111
|
+
id: String!
|
|
112
|
+
attrs: GenericScalar
|
|
113
|
+
labels: GenericScalar
|
|
114
|
+
tags: [String]
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
"""
|
|
118
|
+
The `GenericScalar` scalar type represents a generic
|
|
119
|
+
GraphQL scalar value that could be:
|
|
120
|
+
String, Boolean, Int, Float, List or Object.
|
|
121
|
+
"""
|
|
122
|
+
scalar GenericScalar
|
|
123
|
+
|
|
124
|
+
type Whale {
|
|
125
|
+
""""""
|
|
126
|
+
id: ID!
|
|
127
|
+
|
|
128
|
+
""""""
|
|
129
|
+
deployment: Deployment!
|
|
130
|
+
|
|
131
|
+
""""""
|
|
132
|
+
url: String!
|
|
133
|
+
|
|
134
|
+
""""""
|
|
135
|
+
clientId: String!
|
|
136
|
+
|
|
137
|
+
""""""
|
|
138
|
+
token: String
|
|
139
|
+
|
|
140
|
+
""""""
|
|
141
|
+
createdAt: DateTime!
|
|
142
|
+
pulled: Boolean
|
|
143
|
+
latestPull: DateTime
|
|
144
|
+
containers: [Container]
|
|
145
|
+
latestEvent: WhaleEvent
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
type Deployment {
|
|
149
|
+
""""""
|
|
150
|
+
id: ID!
|
|
151
|
+
|
|
152
|
+
""""""
|
|
153
|
+
deploymentId: String!
|
|
154
|
+
|
|
155
|
+
""""""
|
|
156
|
+
buildId: String!
|
|
157
|
+
|
|
158
|
+
""""""
|
|
159
|
+
flavour: String!
|
|
160
|
+
selectors: GenericScalar
|
|
161
|
+
|
|
162
|
+
""""""
|
|
163
|
+
manifest: Manifest!
|
|
164
|
+
|
|
165
|
+
""""""
|
|
166
|
+
repo: GithubRepo!
|
|
167
|
+
|
|
168
|
+
""""""
|
|
169
|
+
image: String!
|
|
170
|
+
|
|
171
|
+
""""""
|
|
172
|
+
builder: String!
|
|
173
|
+
definitions: GenericScalar
|
|
174
|
+
|
|
175
|
+
""""""
|
|
176
|
+
createdAt: DateTime!
|
|
177
|
+
|
|
178
|
+
""""""
|
|
179
|
+
deployedAt: DateTime
|
|
180
|
+
|
|
181
|
+
""""""
|
|
182
|
+
whales: [Whale!]!
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
type Manifest {
|
|
186
|
+
""""""
|
|
187
|
+
id: ID!
|
|
188
|
+
version: String!
|
|
189
|
+
identifier: String!
|
|
190
|
+
scopes: [String]!
|
|
191
|
+
requirements: GenericScalar
|
|
192
|
+
logo: String
|
|
193
|
+
|
|
194
|
+
"""The original logo url"""
|
|
195
|
+
originalLogo: String
|
|
196
|
+
|
|
197
|
+
""""""
|
|
198
|
+
entrypoint: String!
|
|
199
|
+
|
|
200
|
+
""""""
|
|
201
|
+
deployments: [Deployment!]!
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
type GithubRepo {
|
|
205
|
+
""""""
|
|
206
|
+
id: ID!
|
|
207
|
+
|
|
208
|
+
""""""
|
|
209
|
+
repo: String!
|
|
210
|
+
|
|
211
|
+
""""""
|
|
212
|
+
user: String!
|
|
213
|
+
|
|
214
|
+
""""""
|
|
215
|
+
branch: String!
|
|
216
|
+
|
|
217
|
+
""""""
|
|
218
|
+
createdAt: DateTime!
|
|
219
|
+
|
|
220
|
+
""""""
|
|
221
|
+
deployments: [Deployment!]!
|
|
222
|
+
readme: String
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
"""
|
|
226
|
+
The `DateTime` scalar type represents a DateTime
|
|
227
|
+
value as specified by
|
|
228
|
+
[iso8601](https://en.wikipedia.org/wiki/ISO_8601).
|
|
229
|
+
"""
|
|
230
|
+
scalar DateTime
|
|
231
|
+
|
|
232
|
+
type WhaleEvent {
|
|
233
|
+
pull: PullEvent
|
|
234
|
+
up: UpEvent
|
|
235
|
+
whale: ID
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
type PullEvent {
|
|
239
|
+
progress: Float
|
|
240
|
+
status: PullProgressStatus
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
"""Docker pull progress status."""
|
|
244
|
+
enum PullProgressStatus {
|
|
245
|
+
PULLING
|
|
246
|
+
PULLED
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
type UpEvent {
|
|
250
|
+
container: ID
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
enum ContainerStatus {
|
|
254
|
+
CREATED
|
|
255
|
+
RESTARTING
|
|
256
|
+
RUNNING
|
|
257
|
+
REMOVING
|
|
258
|
+
PAUSED
|
|
259
|
+
EXITED
|
|
260
|
+
DEAD
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
type Network {
|
|
264
|
+
name: String
|
|
265
|
+
id: String!
|
|
266
|
+
driver: String
|
|
267
|
+
scope: String
|
|
268
|
+
ipam: GenericScalar
|
|
269
|
+
internal: Boolean
|
|
270
|
+
containers: [Container]
|
|
271
|
+
options: GenericScalar
|
|
272
|
+
labels: GenericScalar
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
"""Docker runtime."""
|
|
276
|
+
enum DockerRuntime {
|
|
277
|
+
NVIDIA
|
|
278
|
+
RUNC
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
"""The root Mutation"""
|
|
282
|
+
type Mutation {
|
|
283
|
+
runWhale(id: ID!, instance: String, network: ID): Whale
|
|
284
|
+
createWhale(clientId: String!, deployment: ID!, faktEndpoint: String, token: String!): Whale
|
|
285
|
+
deleteWhale(
|
|
286
|
+
"""The ID of the deletable Whale"""
|
|
287
|
+
id: ID
|
|
288
|
+
): DeleteWhaleReturn
|
|
289
|
+
pullWhale(
|
|
290
|
+
"""The ID of the deletabssle Whale"""
|
|
291
|
+
id: ID
|
|
292
|
+
): PullWhaleReturn
|
|
293
|
+
purgeWhale(
|
|
294
|
+
"""The ID of the deletabssle Whale"""
|
|
295
|
+
id: ID
|
|
296
|
+
): Whale
|
|
297
|
+
stopContainer(id: ID!): Container
|
|
298
|
+
restartContainer(id: ID!): Container
|
|
299
|
+
removeContainer(id: ID!): Container
|
|
300
|
+
scanRepo(id: ID!): ScanRepoReturn
|
|
301
|
+
createGithubRepo(
|
|
302
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
303
|
+
branch: String!
|
|
304
|
+
|
|
305
|
+
"""The Repo of the Docker (Repo on Dockerhub)"""
|
|
306
|
+
repo: String!
|
|
307
|
+
|
|
308
|
+
"""The User of the Docker (Username on Github)"""
|
|
309
|
+
user: String!
|
|
310
|
+
): GithubRepo
|
|
311
|
+
deleteGithubRepo(
|
|
312
|
+
"""The ID of the deletable Whale"""
|
|
313
|
+
id: ID
|
|
314
|
+
): DeleteGithubRepoReturn
|
|
315
|
+
deleteDeployment(
|
|
316
|
+
"""The ID of the deletable Whale"""
|
|
317
|
+
id: ID
|
|
318
|
+
): DeleteDeploymentReturn
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
type DeleteWhaleReturn {
|
|
322
|
+
"""Hallo"""
|
|
323
|
+
id: ID
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
type PullWhaleReturn {
|
|
327
|
+
"""Hallo"""
|
|
328
|
+
id: ID
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
type ScanRepoReturn {
|
|
332
|
+
status: String
|
|
333
|
+
message: String
|
|
334
|
+
repo: GithubRepo
|
|
335
|
+
deployments: [Deployment]
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
type DeleteGithubRepoReturn {
|
|
339
|
+
"""Hallo"""
|
|
340
|
+
id: ID
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
type DeleteDeploymentReturn {
|
|
344
|
+
"""Hallo"""
|
|
345
|
+
id: ID
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
"""The root Subscriptions"""
|
|
349
|
+
type Subscription {
|
|
350
|
+
containerUpdateSubscription(id: ID): ContainerEvent
|
|
351
|
+
whalesEvent(id: ID): WhaleEvent
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
type ContainerEvent {
|
|
355
|
+
up: UpEvent
|
|
356
|
+
}
|