cloudcoil-models-velero
Versioned velero models for cloudcoil.
🔧 Installation
Using uv (recommended):
# Install with Velero support
uv add cloudcoil.models.velero
Using pip:
pip install cloudcoil.models.velero
💡 Examples
Using Velero Models
from cloudcoil import apimachinery
import cloudcoil.models.velero.v1 as velero
# Create a Backup
backup = velero.Backup(
metadata=apimachinery.ObjectMeta(name="mybackup"),
spec=velero.BackupSpec(
included_namespaces=["default"],
storage_location="default"
)
).create()
# List Backups
for b in velero.Backup.list():
print(f"Found Backup: {b.metadata.name}")
Using the Fluent Builder API
Cloudcoil provides a powerful fluent builder API for Velero resources:
from cloudcoil.models.velero.v1 import Backup
# Create a Backup using the fluent builder
backup = (
Backup.builder()
.metadata(lambda metadata: metadata
.name("mybackup")
.namespace("velero")
.labels({"app": "myapp"})
)
.spec(lambda spec: spec
.included_namespaces(["default", "kube-system"])
.storage_location("default")
.ttl("72h")
.hooks(lambda hooks: hooks
.resources(lambda resources: resources.add({
"name": "my-hook",
"included_namespaces": ["default"]
}))
)
)
.build()
)
Using the Context Manager Builder API
For complex backup configurations, you can use the context manager-based builder:
from cloudcoil.models.velero.v1 import Backup
# Create a Backup using context managers
with Backup.new() as backup:
with backup.metadata() as metadata:
metadata.name("mybackup")
metadata.namespace("velero")
with backup.spec() as spec:
spec.included_namespaces(["default", "kube-system"])
spec.storage_location("default")
spec.ttl("72h")
with spec.hooks() as hooks:
with hooks.resources() as resources:
with resources.add() as resource:
resource.name("my-hook").included_namespaces(["default"])
with resources.add() as resource:
resource.name("another-hook").included_namespaces(["default"])
final_backup = backup.build()
📚 Documentation
For complete documentation, visit cloudcoil.github.io/cloudcoil
📜 License
Apache License, Version 2.0 - see LICENSE
Metadata
Release files for cloudcoil.models.velero 1.18.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 | Provenance | Actions |
|---|---|---|---|---|
| cloudcoil_models_velero-1.18.2.1.tar.gz | 113.1 kB | With provenance | Details for cloudcoil_models_velero-1.18.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cloudcoil_models_velero-1.18.2.1-py3-none-any.whl | Python 3 | none | any | Details for cloudcoil_models_velero-1.18.2.1-py3-none-any.whl |
Total release size: 157.1 kB
Release files / cloudcoil_models_velero-1.18.2.1.tar.gz
| Download URL | cloudcoil_models_velero-1.18.2.1.tar.gz |
|---|---|
| Size | 113.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbd2976acaeaf5de2c86f69109af005f783b58d3f1ac129b983324dcdebab193
|
|
BLAKE2b-256 checksum How to use checksums |
9c8d784c0a9f2828c6912332aaf333220a0f3370681d1112f52ac486456708d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / cloudcoil_models_velero-1.18.2.1-py3-none-any.whl
| Download URL | cloudcoil_models_velero-1.18.2.1-py3-none-any.whl |
|---|---|
| Size | 44.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b719db169c3a23d594fd8ab13dfacc90327c0a08183c37484be8400a98aaa332
|
|
BLAKE2b-256 checksum How to use checksums |
cec38fa4992995e7ca4cd31708195ba908acb1a95d0fa2423994d1fbaaa79848
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logSecurity for cloudcoil.models.velero 1.18.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cloudcoil_models_velero-1.18.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.