{"id":20695605,"url":"https://github.com/ibm-cloud/power-go-client","last_synced_at":"2026-04-02T13:32:01.674Z","repository":{"id":37841060,"uuid":"245240487","full_name":"IBM-Cloud/power-go-client","owner":"IBM-Cloud","description":"Go SDK for interacting with the IBM Power Systems Virtual Server.","archived":false,"fork":false,"pushed_at":"2025-03-31T19:05:19.000Z","size":3611,"stargazers_count":5,"open_issues_count":16,"forks_count":28,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T20:22:29.053Z","etag":null,"topics":["go","golang","ibm-cloud","powervs","sdk"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/IBM-Cloud/power-go-client","language":"Go","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/IBM-Cloud.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-03-05T18:38:11.000Z","updated_at":"2025-03-07T20:51:06.000Z","dependencies_parsed_at":"2023-10-03T15:02:36.324Z","dependency_job_id":"9eb4d838-db6a-4ac0-82e8-7ba739f1169e","html_url":"https://github.com/IBM-Cloud/power-go-client","commit_stats":null,"previous_names":[],"tags_count":197,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Cloud%2Fpower-go-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Cloud%2Fpower-go-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Cloud%2Fpower-go-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM-Cloud%2Fpower-go-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBM-Cloud","download_url":"https://codeload.github.com/IBM-Cloud/power-go-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999861,"owners_count":21031046,"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":["go","golang","ibm-cloud","powervs","sdk"],"created_at":"2024-11-17T00:10:07.177Z","updated_at":"2026-01-29T21:10:23.796Z","avatar_url":"https://github.com/IBM-Cloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/IBM-Cloud/power-go-client)\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/IBM-Cloud/power-go-client)\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/IBM-Cloud/power-go-client/go.yml)\n![GitHub contributors](https://img.shields.io/github/contributors/IBM-Cloud/power-go-client?color=blueviolet)\n![GitHub](https://img.shields.io/github/license/IBM-Cloud/power-go-client)\n\n# IBM Cloud SDK for Power Cloud\n\nThe power-go-client project provides the Go SDK for IBM® Power Systems™ Virtual Server.\n\n## Prerequisites\n\n- An [IBM Cloud Account](https://cloud.ibm.com/registration)\n- An IBM Cloud [IAM API key](https://cloud.ibm.com/docs/account?topic=account-userapikey) or [Token](https://cloud.ibm.com/docs/account?topic=account-iamtoken_from_apikey) allow the SDK to access your account\n- Go 1.20+\n  - [Homebrew](https://formulae.brew.sh/formula/go)\n  - [Source](https://go.dev/doc/install)\n\n## Install\n\nInstall the SDK using the following methods.\n\n### `go get` command\n\nUse this command to download and install the SDK to allow your Go application to use it:\n```\ngo get -u github.com/IBM-Cloud/power-go-client\n```\n\n### Go modules\n\nIf your application is using Go modules, you can add a suitable import to your Go application, like this:\n```go\nimport (\n  \"github.com/IBM-Cloud/power-go-client\"\n)\n```\nthen run `go mod tidy` to download and install the new dependency and update your Go application's\n`go.mod` file.\n\n### `dep` dependency manager\n\nIf your application is using the `dep` dependency management tool, you can add a dependency\nto your `Gopkg.toml` file. Here is an example:\n```\n[[constraint]]\n  name = \"github.com/IBM-Cloud/power-go-client\"\n  version = \"1.1.0\"\n\n```\nthen run `dep ensure`.\n\n## Usage\n\nFirst you need to create a session and use it for creating the client.\n\n```golang\nimport \"github.com/IBM-Cloud/power-go-client/ibmpisession\"\n\nfunc main(){\n    o := \u0026ibmpisession.IBMPIOptions{\n\t\tAuthenticator: authenticator,\n\t\tUserAccount:   accountID,\n\t\tZone:          zone,\n\t}\n    s, err := ibmpisession.NewIBMPISession(o)\n    .....\n}\n```\nType `IBMPIOptions` required fields:\n- `Authenticator`: Please check https://github.com/IBM/go-sdk-core/blob/main/Authentication.md for different options available for authenticating API calls.\n- `UserAccount`: Account ID of the Power Cloud Service Instance.\n- `Zone`: Location of the Power Cloud Service Instance.\n\nOther optional fields:\n-\t`Debug`: Enable/Disable http transport debugging log.\n- `Region`: Region of the Power Cloud Service Instance. This is used for generating the default service URL. *Deprecated*: The region and endpoint is auto generated based on `Zone`.\n- `URL`: Power Virtual Server host or URL endpoint. By default it uses `power-iaas.cloud.ibm.com`. In case of test environment you can set the value to `power-iaas.test.cloud.ibm.com`. You can also use env variable `IBMCLOUD_POWER_API_ENDPOINT`. Note that the region value is prepended to the host string if not present eg: `\u003cregion\u003e.power-iaas.cloud.ibm.com`.\n\nAlso you can refer to the [examples](examples) directory for some resources that shows how to use the SDK.\n\n\n## Issues\n\nIf you encounter an issue with the project please [report here.](https://github.com/IBM-Cloud/power-go-client/issues).\n\n## Development\n\nThis section contains some steps required by the dev for contributing changes to the SDK.\n\n### Update the power directory\n\n1. Install the latest [go-swagger](https://github.com/go-swagger/go-swagger/releases) version on your machine.\n1. Download the last released version of the service broker API definitions (`swagger.yaml`).\n1. Run `./bin/update-swagger.sh` from the project root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-cloud%2Fpower-go-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibm-cloud%2Fpower-go-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm-cloud%2Fpower-go-client/lists"}