add cluster health to sdks

This commit is contained in:
Quentin 2023-11-28 14:33:37 +01:00
parent 3fd7d34e50
commit 53bf952a9e
Signed by: quentin
GPG key ID: E9602264D639FF68
5 changed files with 20 additions and 4 deletions

View file

@ -55,6 +55,8 @@ func main() {
}
fmt.Printf(strings.Join(msg.Message, "\n"))
// Check health
// Key
// -- create
key := "openapi-key"
@ -66,6 +68,13 @@ func main() {
}
fmt.Printf("AWS_ACCESS_KEY_ID=%s\nAWS_SECRET_ACCESS_KEY=%s\n", *keyInfo.AccessKeyId, *keyInfo.SecretAccessKey.Get())
// -- update
// -- delete
defer func() {
// todo delete key
}()
// Bucket
// -- create
global_name := "global-ns-openapi-bucket"
@ -83,4 +92,11 @@ func main() {
panic(err)
}
fmt.Printf("Bucket id: %s\n", *bucketInfo.Id)
// update bucket
// delete bucket
defer func() {
// todo delete bucket
}()
}

2
garage

@ -1 +1 @@
Subproject commit 68d23cccdfc650cb8fa48fb2871ca4dfe7014d44
Subproject commit 3908619eac7c46c0d1b065adb4b79db798bc8d22

@ -1 +1 @@
Subproject commit ffd9578e975e886d9075a4f2e710117893de8ac7
Subproject commit d1fd35809073b801031b8f47475311dd1f250eab

@ -1 +1 @@
Subproject commit f7b4e20e4292883f1eaa5cd6cd5287aa550ff605
Subproject commit 2d012ad1b9e0f92980ea59a4fd4b7bf70932c83b

@ -1 +1 @@
Subproject commit 8c3a7daa8a6d305dc0ee9082ce1f28682951e7b8
Subproject commit 972ab05d71eaf8a75f326bce94f407e2dbe70fa3