snapctl 0.32.0__py3-none-any.whl → 0.32.1__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snapctl
3
- Version: 0.32.0
3
+ Version: 0.32.1
4
4
  Summary: Snapser CLI Tool
5
5
  Author: Ajinkya Apte
6
6
  Author-email: aj@snapser.com
@@ -11,8 +11,10 @@ Classifier: Programming Language :: Python :: 3.11
11
11
  Classifier: Programming Language :: Python :: 3.12
12
12
  Requires-Dist: configparser (>=6.0.0,<7.0.0)
13
13
  Requires-Dist: pyfiglet (>=1.0.2,<2.0.0)
14
+ Requires-Dist: pytest (>=8.2.2,<9.0.0)
15
+ Requires-Dist: pytest-mock (>=3.14.0,<4.0.0)
14
16
  Requires-Dist: requests (>=2.28.2,<3.0.0)
15
- Requires-Dist: typer[all] (>=0.7.0,<0.8.0)
17
+ Requires-Dist: typer[all] (>=0.12.3,<0.13.0)
16
18
  Description-Content-Type: text/markdown
17
19
 
18
20
  # Snapser CLI Tool
@@ -486,3 +488,91 @@ snapctl snapend state --help
486
488
  snapctl snapend state $snapend_id
487
489
  ```
488
490
 
491
+ ## Error codes
492
+ ### CLI Return Codes
493
+
494
+ | Error Code | Description |
495
+ |------------|----------------------------------------------------------|
496
+ | 0 | Operation completed successfully |
497
+ | 1 | General error |
498
+ | 2 | Input error |
499
+
500
+ ### Configuration Errors
501
+
502
+ | Error Code | Description |
503
+ |------------|----------------------------------------------------------|
504
+ | 10 | Configuration incorrect |
505
+ | 11 | Configuration error |
506
+ | 12 | Dependency missing |
507
+
508
+ ### BYOGS Errors
509
+
510
+ | Error Code | Description |
511
+ |------------|----------------------------------------------------------|
512
+ | 20 | Generic BYOGS error |
513
+ | 21 | BYOGS dependency missing |
514
+ | 22 | BYOGS ECR login error |
515
+ | 23 | BYOGS build error |
516
+ | 24 | BYOGS tag error |
517
+ | 25 | BYOGS publish error |
518
+ | 26 | BYOGS publish permission error |
519
+ | 27 | BYOGS publish duplicate tag error |
520
+
521
+ ### BYOSNAP Errors
522
+
523
+ | Error Code | Description |
524
+ |------------|----------------------------------------------------------|
525
+ | 30 | Generic BYOSNAP error |
526
+ | 31 | BYOSNAP dependency missing |
527
+ | 32 | BYOSNAP ECR login error |
528
+ | 33 | BYOSNAP build error |
529
+ | 34 | BYOSNAP tag error |
530
+ | 35 | BYOSNAP publish image error |
531
+ | 36 | BYOSNAP publish image permission error |
532
+ | 37 | BYOSNAP publish image duplicate tag error |
533
+ | 38 | BYOSNAP create error |
534
+ | 39 | BYOSNAP create permission error |
535
+ | 40 | BYOSNAP create duplicate name error |
536
+ | 41 | BYOSNAP publish version error |
537
+ | 42 | BYOSNAP publish version permission error |
538
+ | 43 | BYOSNAP publish version duplicate version error |
539
+ | 44 | BYOSNAP publish version duplicate tag error |
540
+
541
+ ### Game Errors
542
+
543
+ | Error Code | Description |
544
+ |------------|----------------------------------------------------------|
545
+ | 50 | Generic game error |
546
+ | 51 | Game create error |
547
+ | 52 | Game create permission error |
548
+ | 53 | Game create duplicate name error |
549
+ | 54 | Game enumerate error |
550
+
551
+ ### Snapend Errors
552
+
553
+ | Error Code | Description |
554
+ |------------|----------------------------------------------------------|
555
+ | 60 | Generic snapend error |
556
+ | 61 | Snapend enumerate error |
557
+ | 62 | Snapend clone error |
558
+ | 63 | Snapend clone server error |
559
+ | 64 | Snapend clone timeout error |
560
+ | 65 | Snapend apply error |
561
+ | 66 | Snapend apply server error |
562
+ | 67 | Snapend apply timeout error |
563
+ | 68 | Snapend promote error |
564
+ | 69 | Snapend promote server error |
565
+ | 70 | Snapend promote timeout error |
566
+ | 71 | Snapend download error |
567
+ | 72 | Snapend update error |
568
+ | 73 | Snapend update server error |
569
+ | 74 | Snapend update timeout error |
570
+ | 75 | Snapend state error |
571
+
572
+ ### Generate Errors
573
+
574
+ | Error Code | Description |
575
+ |------------|----------------------------------------------------------|
576
+ | 80 | Generic generate error |
577
+ | 81 | Generate BYOSNAP profile error |
578
+
@@ -0,0 +1,23 @@
1
+ snapctl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ snapctl/__main__.py,sha256=43jKoTk8b85hk_MT6499N3ruHdEfM8WBImd_-3VzjI8,116
3
+ snapctl/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ snapctl/commands/byogs.py,sha256=To8R5JKgLSzvbnE2PAQt2FDf-PJdAFrr_K0ExxA0njs,12751
5
+ snapctl/commands/byosnap.py,sha256=mTrpp7WWSrCRgxcZmZRrv4PAn6U4bQhTDO9UqciZPNw,28223
6
+ snapctl/commands/game.py,sha256=7255xoGszkk2pPcc2sRJP98-3S0qfSKXFOl5CrsbCSY,4349
7
+ snapctl/commands/generate.py,sha256=IWOOEBMreFThRBbTuKkIBgSjWw9E00vMNxyetJBxWMA,3238
8
+ snapctl/commands/snapend.py,sha256=cxBMNMfXyQeLdg5NyKZ2ujjUG7zYxOgyjmeAoD27t7I,29922
9
+ snapctl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
+ snapctl/config/constants.py,sha256=ySNjLrl5LYyfR5dX2MnuAKxu3eimRijmpWNo2OigHD4,2703
11
+ snapctl/config/endpoints.py,sha256=VAeOmx3k3ukB-9XuGI65KtCJwFK-KFgzor-UWE8JU0g,297
12
+ snapctl/config/hashes.py,sha256=4yydu7uPRwNo72WcU_HWjoCLDluG7mLPGCWVUFFF-xU,3378
13
+ snapctl/main.py,sha256=NJ9YjfGv3PwIqJDGx3il2KnHmVjiPAFtxvZkJfI160A,18073
14
+ snapctl/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ snapctl/types/definitions.py,sha256=EQzLeiXkJ8ISRlCqHMviNVsWWpmhWjpKaOBLdlvOTmY,644
16
+ snapctl/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
+ snapctl/utils/echo.py,sha256=bvirxTlxv-EAwyf4FT0yAqY5fsevp3yimxKmgQV73Fc,941
18
+ snapctl/utils/helper.py,sha256=jPXQnSbdOnktJdLotBugdHfVwkap-5MoApOmhJ-AsqA,3287
19
+ snapctl-0.32.1.dist-info/LICENSE,sha256=6AcXm54KFSpmUI1ji9NIBd4Xl-DtjTqiyjBzfVb_CEk,2804
20
+ snapctl-0.32.1.dist-info/METADATA,sha256=uHXn0kWDxQSZQbWd9G-tskAqUN-YCCBnO_deyytE1ws,19249
21
+ snapctl-0.32.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
+ snapctl-0.32.1.dist-info/entry_points.txt,sha256=tkKW9MzmFdRs6Bgkv29G78i9WEBK4WIOWunPfe3t2Wg,44
23
+ snapctl-0.32.1.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- snapctl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- snapctl/__main__.py,sha256=43jKoTk8b85hk_MT6499N3ruHdEfM8WBImd_-3VzjI8,116
3
- snapctl/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- snapctl/commands/byogs.py,sha256=LxGKlvKsnt6YIVjgj8I-5ziwNuEysLx3lgH8voYgpS8,12610
5
- snapctl/commands/byosnap.py,sha256=mhCDzzHSVyYhA3h4BSdGbS3ph1KeK47S3LutnN3mIiE,26727
6
- snapctl/commands/game.py,sha256=rnsTqrXavE5D-KULXkDBQ-PBI8sSKK4it3S_YMJfiUY,3633
7
- snapctl/commands/generate.py,sha256=E-EIm9X4DqCLOfUxA-412moG9aliNcL4UuI8X_nf2yk,2438
8
- snapctl/commands/snapend.py,sha256=exMH-8lp9qUociAWHJS15xRr-MtCe1fjbQAQmgODNIw,26187
9
- snapctl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- snapctl/config/constants.py,sha256=_KnxkpD_VSBYj8Mtngc3p58gdq4f24H5kZJaBZd6lXI,565
11
- snapctl/config/endpoints.py,sha256=VAeOmx3k3ukB-9XuGI65KtCJwFK-KFgzor-UWE8JU0g,297
12
- snapctl/config/hashes.py,sha256=4yydu7uPRwNo72WcU_HWjoCLDluG7mLPGCWVUFFF-xU,3378
13
- snapctl/main.py,sha256=HR6EKtxAh1ekpBuS9ug_9h44J-RNOBLdOTDd0VFAyiw,19649
14
- snapctl/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- snapctl/types/definitions.py,sha256=rkRyTBHzeQtCt_uYObgYvL5txnVq8r_n5g4IUAq2FWc,233
16
- snapctl/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
- snapctl/utils/echo.py,sha256=0nhWYDBQTfZGtl8EK21hJhj0now2rQmCT-yYMCKupy4,584
18
- snapctl/utils/helper.py,sha256=xasSsg-0DgHT-TWejh2IXW-s9AYntO1D2O6Uy6BQLcE,1381
19
- snapctl-0.32.0.dist-info/LICENSE,sha256=6AcXm54KFSpmUI1ji9NIBd4Xl-DtjTqiyjBzfVb_CEk,2804
20
- snapctl-0.32.0.dist-info/METADATA,sha256=_P_CjVusW-2d6b4ttg_nI7A9M1jMNpbikk46hPIjSCk,14113
21
- snapctl-0.32.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
- snapctl-0.32.0.dist-info/entry_points.txt,sha256=tkKW9MzmFdRs6Bgkv29G78i9WEBK4WIOWunPfe3t2Wg,44
23
- snapctl-0.32.0.dist-info/RECORD,,