Registry /
cloud / alibabacloud-go-cr-20181201
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.
cr
✓ github.com/alibabacloud-go/cr-20181201
Creates a client and lists Container Registry instances.
package main
import (
"github.com/alibabacloud-go/cr-20181201/client"
"github.com/alibabacloud-go/tea/tea"
)
func main() {
client, err := cr.NewClient(&cr.Config{
AccessKeyId: tea.String("your-access-key-id"),
AccessKeySecret: tea.String("your-access-key-secret"),
})
if err != nil {
panic(err)
}
resp, err := client.ListInstance(&cr.ListInstanceRequest{})
if err != nil {
panic(err)
}
tea.Println(resp.Body)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.10latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.