{"id":19456851,"url":"https://github.com/porter-dev/switchboard","last_synced_at":"2026-06-08T20:31:14.121Z","repository":{"id":44533397,"uuid":"428797049","full_name":"porter-dev/switchboard","owner":"porter-dev","description":"Control plane for cloud-based resources. ","archived":false,"fork":false,"pushed_at":"2023-07-28T14:24:21.000Z","size":28781,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T01:52:33.895Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/porter-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-11-16T20:04:07.000Z","updated_at":"2023-09-06T21:08:18.000Z","dependencies_parsed_at":"2024-06-21T09:56:17.040Z","dependency_job_id":"a0dd67ed-3835-4f62-b241-e14dae77226b","html_url":"https://github.com/porter-dev/switchboard","commit_stats":{"total_commits":27,"total_committers":3,"mean_commits":9.0,"dds":"0.37037037037037035","last_synced_commit":"4b73f6869b8ae10f148d887b4ec8d7347696982d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/porter-dev/switchboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fswitchboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fswitchboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fswitchboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fswitchboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/porter-dev","download_url":"https://codeload.github.com/porter-dev/switchboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fswitchboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34080025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-10T17:18:45.177Z","updated_at":"2026-06-08T20:31:14.097Z","avatar_url":"https://github.com/porter-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Quick Start\n\nStart by building the Switchboard binary:\n\n```\nmake build-cli-dev\n```\n\nThen run an example TF and Helm deployment:\n\n```\n./bin/switchboard apply ./examples/terraform/test-resource-1.yaml\n```\n\nThis will deploy a TF resource with a dependent deployment, and should print something like this to the console:\n\n```\nINF running apply for resource rds\nINF successfully applied resource rds\nINF running apply for resource tf-deployment\nINF successfully applied resource tf-deployment\n```\n\n## Hooks\n\nHooks can be added to the worker when calling the package:\n\n```go\n\ntype TestHook struct{}\n\nfunc (t *TestHook) PreApply() error {\n\tfmt.Println(\"RUNNING PRE APPLY\")\n\treturn nil\n}\n\nfunc (t *TestHook) DataQueries() map[string]interface{} {\n\treturn map[string]interface{}{\n\t\t\"first\": \"{ .test-deployment.spec.replicas }\",\n\t}\n}\n\nfunc (t *TestHook) PostApply(populatedData map[string]interface{}) error {\n\tfmt.Println(\"POPULATED DATA IS\", populatedData)\n\treturn nil\n}\n\n```\n\nRegistered via:\n\n```go\nworker.RegisterHook(\"test\", \u0026TestHook{})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fswitchboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporter-dev%2Fswitchboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fswitchboard/lists"}