Go client library to interact with various IBM Cloud Platform Service APIs.
- Overview
- Prerequisites
- Installation
- Using the SDK
- Questions
- Issues
- Open source @ IBM
- Contributing
- License
The IBM Cloud Platform Services Go SDK allows developers to programmatically interact with the following IBM Cloud services:
Service Name | Package name |
---|---|
Activity Tracker | atrackerv2 |
Activity Tracker v1 [deprecated] | atrackerv1 |
Case Management | casemanagementv1 |
Catalog Management | catalogmanagementv1 |
Context Based Restrictions | contextbasedrestrictionsv1 |
Enterprise Billing Units | enterprisebillingunitsv1 |
Enterprise Management | enterprisemanagementv1 |
Enterprise Usage Reports | enterpriseusagereportsv1 |
Global Catalog | globalcatalogv1 |
Global Search | globalsearchv2 |
Global Tagging | globaltaggingv1 |
IAM Access Groups | iamaccessgroupsv2 |
IAM Identity Service | iamidentityv1 |
IAM Policy Management | iampolicymanagementv1 |
IBM Cloud Shell | ibmcloudshellv1 |
Open Service Broker | openservicebrokerv1 |
Resource Controller | resourcecontrollerv2 |
Resource Manager | resourcemanagerv2 |
Usage Metering | usagemeteringv4 |
Usage Reports | usagereportsv4 |
User Management | usermanagementv1 |
The following services have been relocated to a different SDK project. Please consult the documentation for each service to determine the new location:
Service Name | Package name |
---|---|
Configuration Governance | configurationgovernancev1 |
Posture Management | posturemanagementv1 |
- An IBM Cloud account.
- An IAM API key to allow the SDK to access your account. Create one here.
- Go version 1.18 or above.
The current version of this SDK: 0.35.0
If your application uses Go modules for dependency management (recommended), just add an import for each service
that you will use in your application.
Here is an example:
import (
"github.com/IBM/platform-services-go-sdk/globalsearchv2"
)
Next, run go build
or go mod tidy
to download and install the new dependencies and update your application's
go.mod
file.
In the example above, the globalsearchv2
part of the import path is the package name
associated with the Global Search service.
See the service table above to find the approprate package name for the services used by your application.
Alternatively, you can use the go get
command to download and install the appropriate packages needed by your application:
go get -u github.com/IBM/platform-services-go-sdk/globalsearchv2
Be sure to use the appropriate package name from the service table above for the services used by your application.
For general SDK usage information, please see this link
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
If you encounter an issue with the project, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible that someone has already reported the problem.
Find more open source projects on the IBM Github Page
See CONTRIBUTING.
The IBM Cloud Platform Services Go SDK is released under the Apache 2.0 license. The license's full text can be found in LICENSE.