| sidebar_label | title | description | hide_table_of_contents | tags | |
|---|---|---|---|---|---|
Palette Go SDK |
Palette Go SDK |
Learn how to get started with the Palette Go SDK. |
false |
|
The Palette Go Software Developer Toolkit (SDK) provides Go developers a user-friendly client for interacting with Palette APIs.
The Go Palette client supports the following authentication methods.
The snippet below showcases an example of how to initialize the Palette client using an API key. You must provide a Palette URI for all authentication methods.
import (
"github.com/spectrocloud/palette-sdk-go/client"
)
pc := client.New(
client.WithPaletteURI(host),
client.WithAPIKey(apiKey),
)Check out the List Clusters with Palette Go SDK example to learn how to install, configure, and use the SDK. This guide provides instructions and sample code for listing the active clusters in your Palette environment. Additionally, refer to the client folder for a complete list of client configuration options.
- Palette SDK Go GitHub repository
- List Clusters with Palette Go SDK