{"id":19230503,"url":"https://github.com/ctron/openshift-openapi","last_synced_at":"2025-04-21T03:31:06.245Z","repository":{"id":57649561,"uuid":"271393695","full_name":"ctron/openshift-openapi","owner":"ctron","description":"OpenShift API for Rust","archived":false,"fork":false,"pushed_at":"2023-09-26T10:21:12.000Z","size":513,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T08:11:55.025Z","etag":null,"topics":["api","client","kubernetes","openshift"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ctron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-10T21:54:37.000Z","updated_at":"2021-11-29T09:49:32.000Z","dependencies_parsed_at":"2024-11-09T15:42:26.223Z","dependency_job_id":"a89897d9-6845-4e43-9be0-fc7af2caedaf","html_url":"https://github.com/ctron/openshift-openapi","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"ea99de93eafb897e6382a90b21e4bc8353e6ccf9"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fopenshift-openapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fopenshift-openapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fopenshift-openapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctron%2Fopenshift-openapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctron","download_url":"https://codeload.github.com/ctron/openshift-openapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249337540,"owners_count":21253531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","client","kubernetes","openshift"],"created_at":"2024-11-09T15:39:38.065Z","updated_at":"2025-04-21T03:31:05.061Z","avatar_url":"https://github.com/ctron.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenShift API for Rust\n\n[![CI](https://github.com/ctron/openshift-openapi/workflows/CI/badge.svg)](https://github.com/ctron/openshift-openapi/actions?query=workflow%3ACI)\n[![Crates.io version shield](https://img.shields.io/crates/v/openshift-openapi.svg)](https://crates.io/crates/openshift-openapi)\n[![Docs](https://docs.rs/openshift-openapi/badge.svg)](https://docs.rs/openshift-openapi)\n[![Crates.io license shield](https://img.shields.io/crates/l/openshift-openapi.svg)](https://crates.io/crates/openshift-openapi)\n\nThis crate is an OpenShift API client for Rust. It contains bindings for the\nresources and operations in the OpenShift client API, auto-generated from the OpenAPI spec.\n\n## Builds on `k8s_openapi`\n\nThis work is based on the wonderful work from [Arnavion/k8s-openapi](https://github.com/Arnavion/k8s-openapi).\nIt does not contain the Kubernetes APIs directly, this is handled by the `k8s_openapi` crate. It only\ncontains the types added by OpenShift (like `Route` and `ImageStream`) and references the existing\nKubernetes resources (like `Pod` and `Deployment`) from the `k8s_openapi` crate.\n\n## OpenShift Versions\n\nThis crates provides mappings for different OpenShift versions. Just like the `k8s-openapi` crate does for\nKubernetes. When you compile your program, you must decide for which API you want to compile. This is done\nby using [Rust features](https://doc.rust-lang.org/cargo/reference/features.html). The following table shows\nthe mappings from OpenShift version to the Rust feature in this crate:\n\n| OpenShift Version | Feature | Kubernetes Version | `k8s_openapi` Feature |\n| ----------------- | ------- | ------------------ | --------------------- |\n| 4.2.x             | `v4_2`  | 1.15.x             | `v1_15`               |\n| 4.3.x             | `v4_3`  | 1.16.x             | `v1_16`               |\n| 4.4.x             | `v4_4`  | 1.17.x             | `v1_17`               |\n| 4.5.x             | `v4_5`  | 1.18.x             | `v1_18`               |\n\nAs each OpenShift version is based on a Kubernetes version, the feature flag for the `ks8-openapi` crate\nis auto-selected, to add the appropriate Kubernetes API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fopenshift-openapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctron%2Fopenshift-openapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctron%2Fopenshift-openapi/lists"}