Serialized Interface Library
https://pypi.org/project/serialized-data-interface/
This libraries enables its user to create serialized and validated Juju Operator interfaces.
An interface Schema will be defined through YAML e.g:
v1:
provides:
type: object
properties:
access-key:
type: string
namespace:
type: ['string', 'null']
port:
type: number
secret-key:
type: string
secure:
type: boolean
service:
type: string
required:
- access-key
- port
- secret-key
- secure
- service
When our charms interchange data, this library will validate the data through the schema on both ends.
Real World Example
- Minio with Provider Interface
- Argo Controller with Requirer Interface:
TODO
- Currently only provides data to App relations, should also support unit relations.
Release files for serialized-data-interface 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| serialized_data_interface-0.2.1.tar.gz | 7.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serialized_data_interface-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / serialized_data_interface-0.2.1.tar.gz
| Download URL | serialized_data_interface-0.2.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d07a5ded1f20f0e5f6fd37edb6ff6a93c23f287d262e7ea781d3d06862ae8dc8
|
|
BLAKE2b-256 checksum How to use checksums |
f522871f9b9ecd35fbba53f5aecaf9b7d45f7a2d7012702fa742998c3fbb1281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.4 Linux/5.11.0-16-generic
|
Release files / serialized_data_interface-0.2.1-py3-none-any.whl
| Download URL | serialized_data_interface-0.2.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
537a39d2532df5a55a8c3b10cf22dec60c1905ea5f32eb5c51c9892b7e550484
|
|
BLAKE2b-256 checksum How to use checksums |
dfd0a7b5ee765275a3493f83a44496e83a1ac6bb1c928a44c00f735ec527a2b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.4 Linux/5.11.0-16-generic
|