api-v1, generator #2
5 changed files with 20 additions and 4 deletions
|
@ -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
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
|
Loading…
Reference in a new issue