snapctl 0.32.1__py3-none-any.whl → 0.32.2__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 snapctl might be problematic. Click here for more details.
- snapctl/config/constants.py +1 -1
- {snapctl-0.32.1.dist-info → snapctl-0.32.2.dist-info}/METADATA +29 -7
- {snapctl-0.32.1.dist-info → snapctl-0.32.2.dist-info}/RECORD +6 -6
- {snapctl-0.32.1.dist-info → snapctl-0.32.2.dist-info}/LICENSE +0 -0
- {snapctl-0.32.1.dist-info → snapctl-0.32.2.dist-info}/WHEEL +0 -0
- {snapctl-0.32.1.dist-info → snapctl-0.32.2.dist-info}/entry_points.txt +0 -0
snapctl/config/constants.py
CHANGED
|
@@ -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
|
|
|
@@ -7,7 +7,7 @@ snapctl/commands/game.py,sha256=7255xoGszkk2pPcc2sRJP98-3S0qfSKXFOl5CrsbCSY,4349
|
|
|
7
7
|
snapctl/commands/generate.py,sha256=IWOOEBMreFThRBbTuKkIBgSjWw9E00vMNxyetJBxWMA,3238
|
|
8
8
|
snapctl/commands/snapend.py,sha256=cxBMNMfXyQeLdg5NyKZ2ujjUG7zYxOgyjmeAoD27t7I,29922
|
|
9
9
|
snapctl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
snapctl/config/constants.py,sha256=
|
|
10
|
+
snapctl/config/constants.py,sha256=BPZhlb7JitrVYfUgSL8YM-Rdk8CLZNM82CMpBWe6RJ4,2703
|
|
11
11
|
snapctl/config/endpoints.py,sha256=VAeOmx3k3ukB-9XuGI65KtCJwFK-KFgzor-UWE8JU0g,297
|
|
12
12
|
snapctl/config/hashes.py,sha256=4yydu7uPRwNo72WcU_HWjoCLDluG7mLPGCWVUFFF-xU,3378
|
|
13
13
|
snapctl/main.py,sha256=NJ9YjfGv3PwIqJDGx3il2KnHmVjiPAFtxvZkJfI160A,18073
|
|
@@ -16,8 +16,8 @@ snapctl/types/definitions.py,sha256=EQzLeiXkJ8ISRlCqHMviNVsWWpmhWjpKaOBLdlvOTmY,
|
|
|
16
16
|
snapctl/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
snapctl/utils/echo.py,sha256=bvirxTlxv-EAwyf4FT0yAqY5fsevp3yimxKmgQV73Fc,941
|
|
18
18
|
snapctl/utils/helper.py,sha256=jPXQnSbdOnktJdLotBugdHfVwkap-5MoApOmhJ-AsqA,3287
|
|
19
|
-
snapctl-0.32.
|
|
20
|
-
snapctl-0.32.
|
|
21
|
-
snapctl-0.32.
|
|
22
|
-
snapctl-0.32.
|
|
23
|
-
snapctl-0.32.
|
|
19
|
+
snapctl-0.32.2.dist-info/LICENSE,sha256=6AcXm54KFSpmUI1ji9NIBd4Xl-DtjTqiyjBzfVb_CEk,2804
|
|
20
|
+
snapctl-0.32.2.dist-info/METADATA,sha256=JyR_UooIxgm35S8YPA6DgKgvvaXJLxJHRpEc0AXZRNw,20110
|
|
21
|
+
snapctl-0.32.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
22
|
+
snapctl-0.32.2.dist-info/entry_points.txt,sha256=tkKW9MzmFdRs6Bgkv29G78i9WEBK4WIOWunPfe3t2Wg,44
|
|
23
|
+
snapctl-0.32.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|