48 lines
886 B
Markdown
48 lines
886 B
Markdown
|
|
# Airlock Libs
|
|
|
|
A Rust implementation of common Airlock API integrations for use in [AirlockTools](https://git.racooncity.org/brotoskyj/AirlockTools)
|
|
|
|
## Deployment
|
|
|
|
To install and use this library in a standalone Python script
|
|
|
|
### Install Wheel
|
|
#### Linux
|
|
|
|
```bash
|
|
cd target/wheels/
|
|
python3 -m pip install airlock_libs-<versionNumber>-cp313-manylinux_2_34_x86_64.whl
|
|
```
|
|
|
|
#### Windows
|
|
```powershell
|
|
cd target/wheels/
|
|
python3 -m pip install airlock_libs-<versionNumber>-cp313-windows
|
|
```
|
|
|
|
or
|
|
|
|
### Import DLL/SO
|
|
#### Linux
|
|
|
|
```bash
|
|
cd /target/x86_64-pc-windows-gnu/release/
|
|
Copy libairlock_libs.so to current project directory
|
|
```
|
|
|
|
#### Windows
|
|
```powershell
|
|
cd /target/x86_64-unknown-linux-gnu/release/
|
|
Copy airlock_libs.dll to current project directory
|
|
```
|
|
## Features
|
|
|
|
- Pull Policy Execution Histories
|
|
|
|
|
|
## License
|
|
|
|
[AGPLv3](https://choosealicense.com/licenses/agpl-3.0/)
|
|
|