Serialized Data Interface for Juju Operators
Project description
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:
type: object
properties:
service:
type: string
port:
type: number
access-key:
type: string
secret-key:
type: string
When our charms interchange data, this library will validate the data through the schema on both ends.
Real World Example
**** Minio with Provider Interface: https://github.com/DomFleischmann/charm-minio/tree/argo-relation
- Argo Controller with Requirer Interface: https://github.com/DomFleischmann/argo-operators/tree/operator-v2.3.0/operators/argo-controller
TODO
- Currently only provides data to App relations, should also support unit relations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for serialized_data_interface-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a11f03cc21c553d4da1da38bdc4e0be9c795c5e607767ec041a59651e96fea2 |
|
MD5 | dff9ffdd7b4c2d3e5dacdef0f228426a |
|
BLAKE2b-256 | 88a2d21684e5b925693e838d4cd0b206c0417a0bc508175ecf11f419fb8998c8 |
Close
Hashes for serialized_data_interface-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 648af50b4c395cdfff2ae411e88c33d9274609e74f8d255a40f4a04a02a9b2cd |
|
MD5 | 0da410f5b14ec499a9e745500b1cf8f0 |
|
BLAKE2b-256 | b5bd66de4a58edb35fe62b355b1c53a7326a1c5e9936c27143201f3717871dfd |