Registry / cloud / scaleway-scaleway-sdk-go

scaleway-scaleway-sdk-go

JSON →
library1.0.0-beta.36gogounverified

Package scalewaysdkgo is the Scaleway API SDK for Go.

go get github.com/scaleway/scaleway-sdk-go
INSTALL
IMPORT
SIG · SCALEWAY-SCALEWAY-
S
scaleway-scaleway-sdk-go
cloudgov1.0.0-beta.36
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

scaleway
github.com/scaleway/scaleway-sdk-go

Initialize Scaleway client and list compute instances.

package main import ( "context" "fmt" "github.com/scaleway/scaleway-sdk-go/scw" ) func main() { client, err := scw.NewClient() if err != nil { panic(err) } // Example: list instances instanceAPI := instance.NewAPI(client) instances, err := instanceAPI.ListServers(&instance.ListServersRequest{}, scw.WithAllPages()) if err != nil { panic(err) } for _, srv := range instances.Servers { fmt.Println(srv.Name) } }
Debug
Known issues
breakingThe SDK is in beta (v1.0.0-beta.36); API may change.
fix
Pin to a specific version and test thoroughly before production use.
affects: >=1.0.0-beta.0
Upgrade
Version history
1.0.0-beta.36latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Bingbot
1
Resources
scaleway-scaleway-sdk-go — go get scaleway-scaleway-sdk-go · libregistry