{"id":24424178,"url":"https://github.com/jbellerb/dhall-rook","last_synced_at":"2026-01-22T15:00:18.284Z","repository":{"id":55635159,"uuid":"522391613","full_name":"jbellerb/dhall-rook","owner":"jbellerb","description":"Type definitions for working with Rook from Dhall","archived":false,"fork":false,"pushed_at":"2024-11-05T21:41:12.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T20:35:11.078Z","etag":null,"topics":["dhall","kubernetes","rook","yaml"],"latest_commit_sha":null,"homepage":"","language":"Nix","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/jbellerb.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":"2022-08-08T03:25:11.000Z","updated_at":"2025-01-17T10:10:30.000Z","dependencies_parsed_at":"2024-11-04T22:37:30.039Z","dependency_job_id":null,"html_url":"https://github.com/jbellerb/dhall-rook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jbellerb/dhall-rook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbellerb%2Fdhall-rook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbellerb%2Fdhall-rook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbellerb%2Fdhall-rook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbellerb%2Fdhall-rook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbellerb","download_url":"https://codeload.github.com/jbellerb/dhall-rook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbellerb%2Fdhall-rook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28664828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dhall","kubernetes","rook","yaml"],"created_at":"2025-01-20T11:00:40.297Z","updated_at":"2026-01-22T15:00:18.209Z","avatar_url":"https://github.com/jbellerb.png","language":"Nix","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# dhall-rook\n\nThis package provides [Dhall](https://dhall-lang.org/) bindings for [Rook](https://rook.io/). For why this may be useful to you, check out [dhall-kubernetes](https://github.com/dhall-lang/dhall-kubernetes).\n\n## Usage\n\nTo better support various clusters, dhall-rook does not prescribe a specific version of dhall-kubernetes. Instead, all expressions in dhall-rook are functions which take the types provided by dhall-kubernetes as a parameter. It's recommended to call the main package function from a central import file, like a `rook.dhall`, similar to this:\n\n```dhall\nlet rook =\n      https://raw.githubusercontent.com/jbellerb/dhall-rook/\u003ccommit-hash\u003e/1.9/package.dhall\n\nin  rook\n      ( https://raw.githubusercontent.com/dhall-lang/dhall-kubernetes/\u003ccommit-hash\u003e/1.22/types.dhall\n      ).(https://raw.githubusercontent.com/jbellerb/dhall-rook/\u003ccommit-hash\u003e/1.9/kubernetes.dhall)\n```\n\nImports should probably use a commit hash to avoid breaking with upstream changes. It's also a good idea to `dhall freeze` this file, which allows caching and prevents execution if the contents change. With this import file, rook objects can be created:\n\n```dhall\nlet kubernetes = ./kubernetes.dhall\n\nlet rook = ./rook.dhall\n\nlet store =\n      rook.CephObjectStore::{\n      , metadata = kubernetes.ObjectMeta::{\n        , name = Some \"my-store\"\n        , namespace = Some \"rook-ceph\"\n        }\n      , spec = rook.ObjectStoreSpec::{\n        , metadataPool = Some rook.PoolSpec::{\n          , failureDomain = Some \"host\"\n          , replicated = Some rook.ReplicatedSpec::{ size = 3 }\n          }\n        , dataPool = Some rook.PoolSpec::{\n          , failureDomain = Some \"host\"\n          , erasureCoded = Some rook.ErasureCodedSpec::{\n            , dataChunks = 2\n            , codingChunks = 1\n            }\n          }\n        , preservePoolsOnDelete = Some True\n        , gateway = Some rook.GatewaySpec::{\n          , sslCertificateRef = None Text\n          , port = Some 80\n          -- , securePort = Some 443\n          , instances = Some 1\n          }\n        , healthCheck = Some rook.BucketHealthCheckSpec::{\n          , bucket = Some rook.HealthCheckSpec::{\n            , disabled = Some False\n            , interval = Some \"60s\"\n            }\n          }\n        }\n      }\n\nin  store\n```\n\n\u003cbr /\u003e\n\n#### License\n\n\u003csup\u003e\nCopyright (C) jae beller, 2022.\n\u003c/sup\u003e\n\u003cbr /\u003e\n\u003csup\u003e\nReleased under the \u003ca href=\"LICENSE\"\u003eApache License, Version 2.0\u003c/a\u003e.\n\u003c/sup\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbellerb%2Fdhall-rook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbellerb%2Fdhall-rook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbellerb%2Fdhall-rook/lists"}