{"id":30066576,"url":"https://github.com/appthrust/fcr","last_synced_at":"2025-08-08T07:44:31.207Z","repository":{"id":308815350,"uuid":"1031707182","full_name":"appthrust/fcr","owner":"appthrust","description":"A functional programming toolkit for Kubernetes development, providing functional wrappers for controller-runtime packages with type-safe, composable operations","archived":false,"fork":false,"pushed_at":"2025-08-08T02:53:50.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-08T04:29:29.075Z","etag":null,"topics":["controller-runtime","fp-go","functional-programming","go","golang","kubernetes","kubernetes-development","monadic-patterns","toolkit","type-safety"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appthrust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2025-08-04T08:01:31.000Z","updated_at":"2025-08-08T02:53:53.000Z","dependencies_parsed_at":"2025-08-08T04:29:54.112Z","dependency_job_id":"f22c17b6-a8a7-4af6-b8a4-8de587c06b94","html_url":"https://github.com/appthrust/fcr","commit_stats":null,"previous_names":["appthrust/fcr"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/appthrust/fcr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appthrust%2Ffcr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appthrust%2Ffcr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appthrust%2Ffcr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appthrust%2Ffcr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appthrust","download_url":"https://codeload.github.com/appthrust/fcr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appthrust%2Ffcr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269385642,"owners_count":24408416,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["controller-runtime","fp-go","functional-programming","go","golang","kubernetes","kubernetes-development","monadic-patterns","toolkit","type-safety"],"created_at":"2025-08-08T07:44:28.350Z","updated_at":"2025-08-08T07:44:31.150Z","avatar_url":"https://github.com/appthrust.png","language":"Go","readme":"# FCR - Functional Controller Runtime\n\n[![Go Version](https://img.shields.io/github/go-mod/go-version/appthrust/fcr)](https://golang.org/doc/devel/release)\n[![Go Report Card](https://goreportcard.com/badge/github.com/appthrust/fcr)](https://goreportcard.com/report/github.com/appthrust/fcr)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![GoDoc](https://pkg.go.dev/badge/github.com/appthrust/fcr)](https://pkg.go.dev/github.com/appthrust/fcr)\n\nA comprehensive functional programming toolkit for Kubernetes development, providing functional wrappers for controller-runtime packages and additional utilities for composable, type-safe, and error-safe interactions with Kubernetes resources and controller patterns.\n\n## Overview\n\nFCR brings functional programming paradigms to Kubernetes development by leveraging monadic patterns (Either, IO, Reader) from [IBM/fp-go](https://github.com/IBM/fp-go). It provides both functional wrappers for controller-runtime packages and additional utilities designed specifically for functional programming patterns, enabling:\n\n- **Composable Operations**: Chain complex Kubernetes operations and controller patterns together cleanly\n- **Type Safety**: Leverage Go's type system with functional programming patterns\n- **Error Safety**: Handle errors explicitly through Either types\n- **Testability**: Pure functional operations are easier to test and reason about\n- **Immutability**: Functional approach reduces side effects and improves reliability\n- **Complete Ecosystem**: Functional wrappers for all controller-runtime packages plus additional utilities\n\n## Features\n\n- 🎯 **Functional Client Operations**: Complete CRUD operations, status updates, and resource management with functional patterns\n- 🏗️ **Controller \u0026 Webhook Patterns**: Type-safe controllers, managers, reconcilers, event handlers, and webhooks (Comming soon)\n- 🔗 **Composable Utilities**: Advanced flows, transformations, query builders, retry patterns, and validation pipelines (Comming soon)\n- 🛡️ **Type Safety \u0026 Testing**: Generic functions with compile-time checking and comprehensive test coverage\n\n## Package Structure\n\nFCR provides both functional wrappers (mirroring controller-runtime packages with an `f` prefix) and additional utilities designed for functional programming patterns. This structure avoids naming conflicts, allowing you to import both libraries simultaneously:\n\n```go\nimport (\n    // controller-runtime packages\n    \"sigs.k8s.io/controller-runtime/pkg/client\"\n    \"sigs.k8s.io/controller-runtime/pkg/controller\"\n    \"sigs.k8s.io/controller-runtime/pkg/manager\"\n\n    // FCR functional wrappers\n    \"github.com/appthrust/fcr/pkg/fclient\"\n    \"github.com/appthrust/fcr/pkg/fcontroller\"  // Coming soon\n    \"github.com/appthrust/fcr/pkg/fmanager\"     // Coming soon\n\n    // FCR functional utilities\n    \"github.com/appthrust/fcr/pkg/flow\"         // Coming soon\n    \"github.com/appthrust/fcr/pkg/transform\"    // Coming soon\n    \"github.com/appthrust/fcr/pkg/validate\"     // Coming soon\n)\n```\n\n### Available Packages\n\n| controller-runtime | FCR Wrapper       | Status         | Description                     |\n| ------------------ | ----------------- | -------------- | ------------------------------- |\n| `pkg/client`       | `pkg/fclient`     | ✅ Ready       | Functional client operations    |\n| `pkg/controller`   | `pkg/fcontroller` | 🚧 Coming Soon | Functional controller patterns  |\n| `pkg/manager`      | `pkg/fmanager`    | 🚧 Coming Soon | Functional manager utilities    |\n| `pkg/builder`      | `pkg/fbuilder`    | 🚧 Coming Soon | Functional controller builders  |\n| `pkg/cache`        | `pkg/fcache`      | 🚧 Coming Soon | Functional caching operations   |\n| `pkg/handler`      | `pkg/fhandler`    | 🚧 Coming Soon | Functional event handlers       |\n| `pkg/predicate`    | `pkg/fpredicate`  | 🚧 Coming Soon | Functional predicates           |\n| `pkg/webhook`      | `pkg/fwebhook`    | 🚧 Coming Soon | Functional webhook patterns     |\n| `pkg/reconcile`    | `pkg/freconcile`  | 🚧 Coming Soon | Functional reconciler utilities |\n\n## Installation\n\n```bash\ngo get github.com/appthrust/fcr\n```\n\n## API Documentation\n\nFor complete API documentation, type definitions, and usage examples, visit the [GoDoc reference](https://pkg.go.dev/github.com/appthrust/fcr).\n\n## Contributing\n\nWe welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines on how to contribute to FCR.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- Built on top of [controller-runtime](https://github.com/kubernetes-sigs/controller-runtime)\n- Uses [IBM/fp-go](https://github.com/IBM/fp-go) for functional programming primitives\n- Inspired by functional programming patterns in other languages\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappthrust%2Ffcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappthrust%2Ffcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappthrust%2Ffcr/lists"}