The charmlibs.rollingops package.
Project description
charmlibs.rollingops
RollingOps is a Juju charm library for coordinating rolling operations across application units.
It provides a single API to ensure that disruptive actions such as restarts, reconfigurations, or maintenance tasks are executed in mutual exclusion, with at most one unit operating at a time.
The library supports two coordination modes:
-
Peer-based (application level) Uses peer relations to coordinate operations within a single application.
-
Etcd-based (cluster level) Uses etcd for distributed coordination across units, enabling asynchronous, non-blocking execution of long-running operations.
To install, add charmlibs-rollingops to your Python dependencies. Then in your Python code, import as:
from charmlibs import rollingops
See the reference documentation for more.
Developing
Refer to CONTRIBUTING.md for development instructions.
Note: Until this issue is resolved,
you must explicitly set the Python version when running just commands:
just python=3.12 <recipe> rollingops
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file charmlibs_rollingops-1.0.0.tar.gz.
File metadata
- Download URL: charmlibs_rollingops-1.0.0.tar.gz
- Upload date:
- Size: 87.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a88654f5d048e90a1acc394885e911611d997582d5029ab3506097a820edd5ba
|
|
| MD5 |
376c8a8938a98478aff8308caa239a7c
|
|
| BLAKE2b-256 |
c271563a3cec760870d3553a14b532607eb669d3d03ac4ec5d609cd638da2474
|
Provenance
The following attestation bundles were made for charmlibs_rollingops-1.0.0.tar.gz:
Publisher:
publish.yaml on canonical/charmlibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
charmlibs_rollingops-1.0.0.tar.gz -
Subject digest:
a88654f5d048e90a1acc394885e911611d997582d5029ab3506097a820edd5ba - Sigstore transparency entry: 1409522429
- Sigstore integration time:
-
Permalink:
canonical/charmlibs@acd06a7aedc6e8fa22272196dd4a6f568d2baec4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/canonical
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@acd06a7aedc6e8fa22272196dd4a6f568d2baec4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file charmlibs_rollingops-1.0.0-py3-none-any.whl.
File metadata
- Download URL: charmlibs_rollingops-1.0.0-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39bcbc0d0705eb1d940296a5cede848d069fd4f20aa77b682d0876271cbe1a2e
|
|
| MD5 |
d82b80e8a1486f51cdb4b9dc28fa1df5
|
|
| BLAKE2b-256 |
cc566541d189ab8a54709699e34eeb154a345f7dbaf2dfc5f9173ea4a22d1e18
|
Provenance
The following attestation bundles were made for charmlibs_rollingops-1.0.0-py3-none-any.whl:
Publisher:
publish.yaml on canonical/charmlibs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
charmlibs_rollingops-1.0.0-py3-none-any.whl -
Subject digest:
39bcbc0d0705eb1d940296a5cede848d069fd4f20aa77b682d0876271cbe1a2e - Sigstore transparency entry: 1409522444
- Sigstore integration time:
-
Permalink:
canonical/charmlibs@acd06a7aedc6e8fa22272196dd4a6f568d2baec4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/canonical
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@acd06a7aedc6e8fa22272196dd4a6f568d2baec4 -
Trigger Event:
push
-
Statement type: