{"id":22758791,"url":"https://github.com/clusterlabs/go-pacemaker","last_synced_at":"2025-04-14T18:21:29.180Z","repository":{"id":56474715,"uuid":"74204651","full_name":"ClusterLabs/go-pacemaker","owner":"ClusterLabs","description":"Go API for the Pacemaker cluster resource manager","archived":false,"fork":false,"pushed_at":"2025-02-26T16:28:52.000Z","size":142,"stargazers_count":7,"open_issues_count":2,"forks_count":7,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-28T06:51:10.123Z","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":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClusterLabs.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}},"created_at":"2016-11-19T11:34:42.000Z","updated_at":"2025-02-26T16:28:56.000Z","dependencies_parsed_at":"2022-08-15T19:30:42.629Z","dependency_job_id":null,"html_url":"https://github.com/ClusterLabs/go-pacemaker","commit_stats":null,"previous_names":["krig/go-pacemaker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fgo-pacemaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fgo-pacemaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fgo-pacemaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterLabs%2Fgo-pacemaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClusterLabs","download_url":"https://codeload.github.com/ClusterLabs/go-pacemaker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933349,"owners_count":21185461,"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":[],"created_at":"2024-12-11T08:15:54.825Z","updated_at":"2025-04-14T18:21:29.149Z","avatar_url":"https://github.com/ClusterLabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pacemaker\n\nThis library provides an API for connecting to and working with the\nPacemaker cluster manager, specifically with the cluster configuration\n(the CIB), from the Go programming language.\n\nIt is not meant to be a complete API. The main use case is connecting\nto the CIB, subscribing to updates and reading the XML.\n\n**Note:** This API is under heavy development.\n\nCurrent features:\n\n* Connect and get CIB as an XML `[]byte` block\n\nMajor missing features:\n\n* Decode CIB attributes and status section into a Go object structure\n* Encode status section as JSON\n* Decoding / encoding configuration section\n* Writing changes back to the CIB\n\n\n* Get CIB as JSON\n* Get CibObjects as JSON\n* Make changes\n* Create CibObjects\n* Get status of resources and nodes\n* History information\n* Meta information about agents etc.\n\n## Compilation\n\nThe compile-time dependencies are Pacemaker, glib 2.0 and libxml2.\n\nOn openSUSE and similar distributions, this will get you all the\ndependencies needed to compile:\n\n    zypper in libpacemaker-devel libxml2-devel glib2-devel\n\nTo run the tests, the pacemaker schema files need to be available as\nwell. These are usually packaged separately, so to get these, you will\nneed to install the `pacemaker` package as well:\n\n    zypper in pacemaker\n\n## Usage\n\n\nSee `pacemaker_test.go` for usage examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterlabs%2Fgo-pacemaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclusterlabs%2Fgo-pacemaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterlabs%2Fgo-pacemaker/lists"}