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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16fecce01b98aa6606563b6902693fb965a674f43c0caff7317afbcd15652d7 |
|
MD5 | f2a0e3da3ee8a1081be681eeea4c8120 |
|
BLAKE2b-256 | 36eec87a3bedd78912baa225186a729a45ef4130cdda53d8712f3d94da4c0ac8 |
Close
Hashes for serialized_data_interface-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05be0a84d63f853381e850ed5a83d2eba6476c699cb595f7e60b77f19c768522 |
|
MD5 | ea20de06e3c535dba9b56bfacc493e87 |
|
BLAKE2b-256 | 6d0fc5549ff4952100fd337c20fc3b7391edf3424b32a1021fc6393dc8e825bc |