Go client library for IBM Cloud Kubernetes service and Satellite services.
NOTE:
The IBM Cloud Provider for Terraform uses this client library, alongside the bluemix-go SDK. No additional support is provided for this SDK.
The IBM Cloud Container Services Go SDK allows developers to programmatically interact with the following IBM Cloud services:
Service Name | Package name |
---|---|
Kubernetes | kubernetesserviceapiv1 |
Satellite Link | satellitelinkv1 |
- An IBM Cloud account.
- An IAM API key to allow the SDK to access your account. Create one here.
- Go version 1.12 or above.
The current version of this SDK: 1.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-Cloud/container-services-go-sdk/kubernetesserviceapiv1"
)
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 kubernetesserviceapiv1
part of the import path is the package name
associated with the kubernetes 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-Cloud/container-services-go-sdk/kubernetesserviceapiv1
Be sure to use the appropriate package name from the service table above for the services used by your application.
The IBM Cloud Container Services Go SDK is released under the Apache 2.0 license. The license's full text can be found in LICENSE.