snapctl 0.32.1__tar.gz → 0.32.2__tar.gz
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 snapctl might be problematic. Click here for more details.
- {snapctl-0.32.1 → snapctl-0.32.2}/PKG-INFO +29 -7
- {snapctl-0.32.1 → snapctl-0.32.2}/README.md +28 -6
- {snapctl-0.32.1 → snapctl-0.32.2}/pyproject.toml +1 -1
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/config/constants.py +1 -1
- {snapctl-0.32.1 → snapctl-0.32.2}/LICENSE +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/__init__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/__main__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/__init__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/byogs.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/byosnap.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/game.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/generate.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/commands/snapend.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/config/__init__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/config/endpoints.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/config/hashes.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/main.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/types/__init__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/types/definitions.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/utils/__init__.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/utils/echo.py +0 -0
- {snapctl-0.32.1 → snapctl-0.32.2}/snapctl/utils/helper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: snapctl
|
|
3
|
-
Version: 0.32.
|
|
3
|
+
Version: 0.32.2
|
|
4
4
|
Summary: Snapser CLI Tool
|
|
5
5
|
Author: Ajinkya Apte
|
|
6
6
|
Author-email: aj@snapser.com
|
|
@@ -177,6 +177,7 @@ snapctl --help
|
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
### BYO Snap - Bring your own Snap
|
|
180
|
+
Snapctl commands for your custom code
|
|
180
181
|
|
|
181
182
|
#### 1. byosnap help
|
|
182
183
|
|
|
@@ -208,7 +209,7 @@ snapctl byosnap create --help
|
|
|
208
209
|
snapctl byosnap create $byosnap_sid --name "$name" --desc "$desc" --platform "$platform" --language "$language"
|
|
209
210
|
```
|
|
210
211
|
|
|
211
|
-
|
|
212
|
+
#### 3. byosnap build
|
|
212
213
|
|
|
213
214
|
Build your snap image
|
|
214
215
|
|
|
@@ -225,7 +226,7 @@ snapctl byosnap build --help
|
|
|
225
226
|
snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path
|
|
226
227
|
```
|
|
227
228
|
|
|
228
|
-
|
|
229
|
+
#### 4. byosnap push
|
|
229
230
|
|
|
230
231
|
Push your snap image to Snapser
|
|
231
232
|
|
|
@@ -291,12 +292,14 @@ snapctl byosnap publish-version --help
|
|
|
291
292
|
# $prefix = Prefix for your snap Eg: /v1
|
|
292
293
|
# $version = Semantic version for your snap Eg: v0.0.1
|
|
293
294
|
# $ingress_port = Ingress port for your snap Eg: 5003
|
|
295
|
+
# $byosnap_profile = BYOSnap profile to configure dev, stage and prod settings for this snap. You can generate a base version of this file using the `snapctl generate byosnap` command
|
|
294
296
|
# Example:
|
|
295
|
-
# snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --prefix /v1 --version v0.0.1 --http-port 5003
|
|
296
|
-
snapctl byosnap publish-version $byosnap_sid --tag $image_tag --prefix $prefix --version $version --http-port $ingress_port
|
|
297
|
+
# snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --prefix /v1 --version v0.0.1 --http-port 5003 --byosnap-profile /Users/DevName/Development/SnapserEngine/jinks_flask/snapser-byosnap-profile.json
|
|
298
|
+
snapctl byosnap publish-version $byosnap_sid --tag $image_tag --prefix $prefix --version $version --http-port $ingress_port --byosnap-profile $byosnap_profile
|
|
297
299
|
```
|
|
298
300
|
|
|
299
301
|
### BYO Game Server - Bring your own Game Server
|
|
302
|
+
Snapctl commands for your custom game server
|
|
300
303
|
|
|
301
304
|
#### 1. byogs help
|
|
302
305
|
|
|
@@ -357,14 +360,15 @@ snapctl byogs publish --tag $image_tag --path $code_root_path
|
|
|
357
360
|
|
|
358
361
|
|
|
359
362
|
### Game
|
|
363
|
+
Snapctl commands for your game
|
|
360
364
|
|
|
361
|
-
#### 1.
|
|
365
|
+
#### 1. game help
|
|
362
366
|
|
|
363
367
|
See all the supported commands
|
|
364
368
|
|
|
365
369
|
```
|
|
366
370
|
# Help for the byogs command
|
|
367
|
-
snapctl
|
|
371
|
+
snapctl game --help
|
|
368
372
|
```
|
|
369
373
|
|
|
370
374
|
#### 2. Create a game
|
|
@@ -379,8 +383,26 @@ List all the games
|
|
|
379
383
|
snapctl game enumerate
|
|
380
384
|
```
|
|
381
385
|
|
|
386
|
+
### Generate
|
|
387
|
+
Generator tool to help generate base files to be used in other commands
|
|
388
|
+
|
|
389
|
+
#### 1. generate help
|
|
390
|
+
See all the supported commands
|
|
391
|
+
```
|
|
392
|
+
# Help for the generate command
|
|
393
|
+
snapctl generate --help
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
#### 2. BYOSnap Profile
|
|
397
|
+
Generate the base file for BYOSnap profile to be used in the `snapctl byosnap publish-version` command
|
|
398
|
+
|
|
399
|
+
```
|
|
400
|
+
snapctl generate byosnap-profile --out-path $output_path
|
|
401
|
+
|
|
402
|
+
```
|
|
382
403
|
|
|
383
404
|
### Snapend
|
|
405
|
+
Snapctl commands for your snapend
|
|
384
406
|
|
|
385
407
|
#### 1. snapend help
|
|
386
408
|
|
|
@@ -158,6 +158,7 @@ snapctl --help
|
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
### BYO Snap - Bring your own Snap
|
|
161
|
+
Snapctl commands for your custom code
|
|
161
162
|
|
|
162
163
|
#### 1. byosnap help
|
|
163
164
|
|
|
@@ -189,7 +190,7 @@ snapctl byosnap create --help
|
|
|
189
190
|
snapctl byosnap create $byosnap_sid --name "$name" --desc "$desc" --platform "$platform" --language "$language"
|
|
190
191
|
```
|
|
191
192
|
|
|
192
|
-
|
|
193
|
+
#### 3. byosnap build
|
|
193
194
|
|
|
194
195
|
Build your snap image
|
|
195
196
|
|
|
@@ -206,7 +207,7 @@ snapctl byosnap build --help
|
|
|
206
207
|
snapctl byosnap build $byosnap_sid --tag $image_tag --path $code_root_path
|
|
207
208
|
```
|
|
208
209
|
|
|
209
|
-
|
|
210
|
+
#### 4. byosnap push
|
|
210
211
|
|
|
211
212
|
Push your snap image to Snapser
|
|
212
213
|
|
|
@@ -272,12 +273,14 @@ snapctl byosnap publish-version --help
|
|
|
272
273
|
# $prefix = Prefix for your snap Eg: /v1
|
|
273
274
|
# $version = Semantic version for your snap Eg: v0.0.1
|
|
274
275
|
# $ingress_port = Ingress port for your snap Eg: 5003
|
|
276
|
+
# $byosnap_profile = BYOSnap profile to configure dev, stage and prod settings for this snap. You can generate a base version of this file using the `snapctl generate byosnap` command
|
|
275
277
|
# Example:
|
|
276
|
-
# snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --prefix /v1 --version v0.0.1 --http-port 5003
|
|
277
|
-
snapctl byosnap publish-version $byosnap_sid --tag $image_tag --prefix $prefix --version $version --http-port $ingress_port
|
|
278
|
+
# snapctl byosnap publish-image byosnap-jinks-flask --tag my-first-image --prefix /v1 --version v0.0.1 --http-port 5003 --byosnap-profile /Users/DevName/Development/SnapserEngine/jinks_flask/snapser-byosnap-profile.json
|
|
279
|
+
snapctl byosnap publish-version $byosnap_sid --tag $image_tag --prefix $prefix --version $version --http-port $ingress_port --byosnap-profile $byosnap_profile
|
|
278
280
|
```
|
|
279
281
|
|
|
280
282
|
### BYO Game Server - Bring your own Game Server
|
|
283
|
+
Snapctl commands for your custom game server
|
|
281
284
|
|
|
282
285
|
#### 1. byogs help
|
|
283
286
|
|
|
@@ -338,14 +341,15 @@ snapctl byogs publish --tag $image_tag --path $code_root_path
|
|
|
338
341
|
|
|
339
342
|
|
|
340
343
|
### Game
|
|
344
|
+
Snapctl commands for your game
|
|
341
345
|
|
|
342
|
-
#### 1.
|
|
346
|
+
#### 1. game help
|
|
343
347
|
|
|
344
348
|
See all the supported commands
|
|
345
349
|
|
|
346
350
|
```
|
|
347
351
|
# Help for the byogs command
|
|
348
|
-
snapctl
|
|
352
|
+
snapctl game --help
|
|
349
353
|
```
|
|
350
354
|
|
|
351
355
|
#### 2. Create a game
|
|
@@ -360,8 +364,26 @@ List all the games
|
|
|
360
364
|
snapctl game enumerate
|
|
361
365
|
```
|
|
362
366
|
|
|
367
|
+
### Generate
|
|
368
|
+
Generator tool to help generate base files to be used in other commands
|
|
369
|
+
|
|
370
|
+
#### 1. generate help
|
|
371
|
+
See all the supported commands
|
|
372
|
+
```
|
|
373
|
+
# Help for the generate command
|
|
374
|
+
snapctl generate --help
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
#### 2. BYOSnap Profile
|
|
378
|
+
Generate the base file for BYOSnap profile to be used in the `snapctl byosnap publish-version` command
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
snapctl generate byosnap-profile --out-path $output_path
|
|
382
|
+
|
|
383
|
+
```
|
|
363
384
|
|
|
364
385
|
### Snapend
|
|
386
|
+
Snapctl commands for your snapend
|
|
365
387
|
|
|
366
388
|
#### 1. snapend help
|
|
367
389
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|