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:
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.
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d07a5ded1f20f0e5f6fd37edb6ff6a93c23f287d262e7ea781d3d06862ae8dc8 |
|
MD5 | 931ca3bc9751d1c3d8eebe17d7aa68f1 |
|
BLAKE2b-256 | f522871f9b9ecd35fbba53f5aecaf9b7d45f7a2d7012702fa742998c3fbb1281 |
Close
Hashes for serialized_data_interface-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537a39d2532df5a55a8c3b10cf22dec60c1905ea5f32eb5c51c9892b7e550484 |
|
MD5 | 6a877c16b58402b8467326f2e3c8a352 |
|
BLAKE2b-256 | dfd0a7b5ee765275a3493f83a44496e83a1ac6bb1c928a44c00f735ec527a2b9 |