Crates.io | harbor_rs |
lib.rs | harbor_rs |
version | 0.1.3 |
source | src |
created_at | 2021-12-21 05:37:39.040244 |
updated_at | 2022-03-07 14:55:13.767034 |
description | Harbor API in Rust |
homepage | https://github.com/k8scat/harbor_rs |
repository | |
max_upload_size | |
id | 501013 |
size | 62,213 |
Harbor API Version: v1.10.0, v2.0 is coming soon.
Harbor API in Rust.
[dependencies]
harbor_rs = "0.1.3"
根据时间间隔清理 Harbor 上的镜像 Tag
harbor_base_api: "https://example.com/api"
harbor_username: "admin"
harbor_password": "admin"
clean_interval": 20 # 清理 20 天前构建的镜像
repos:
- "test/image1"
- "test/image2"