canonical / pylxd

Python module for LXD
https://pylxd.readthedocs.io/en/latest/
Apache License 2.0
251 stars 133 forks source link

Add create_token method to get a token usable with lxc remote add #511

Closed simondeziel closed 2 years ago

simondeziel commented 2 years ago

Implemented to eventually address canonical/charm-lxd/issues/65 using PyLXD

codecov-commenter commented 2 years ago

Codecov Report

Merging #511 (81ca43d) into master (a44deea) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #511      +/-   ##
==========================================
+ Coverage   97.05%   97.06%   +0.01%     
==========================================
  Files          56       56              
  Lines        4105     4120      +15     
==========================================
+ Hits         3984     3999      +15     
  Misses        121      121              
Impacted Files Coverage Δ
pylxd/models/certificate.py 100.00% <100.00%> (ø)
pylxd/models/tests/test_certificate.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a44deea...81ca43d. Read the comment docs.