oci-go-sdk
oci-go-sdk copied to clipboard
Go SDK for Oracle Cloud Infrastructure
oci cli can generate token https://github.com/oracle/oci-cli/blob/cf04fa4f08238cb1ee4287f0354603ba92e60647/services/container_engine/src/oci_cli_container_engine/containerengine_cli_extended.py Can we add the api to generate a token via oci-go-sdk?
Currently the various clients are all structs, which means they are not easily testable. This is going to require consumers of the SDK to implement their own interfaces on top...
It'd be nice if we exposed a way to call the local metadata service since we use this across most of the go projects I'm aware of that use the...
https://pkg.go.dev/github.com/oracle/oci-go-sdk/[email protected]/ons#NotificationDataPlaneClient.GetSubscription The above api call for `subscription` does not populate any data for column `delivery_policy` whereas the list call for `subscription` populates data for column `delivery_policy`. Note -- OCI CLI...
Currently IDCS throttled errors are returned with IdcsConversionError and not with the underline TooManyRequests. That means, the SDK won't retry on these errors, but it should. For example: ErrorCode -...
[ListVolume](https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Volume/ListVolumes) does not take tags as input filter in request body. I want to get list of only volumes that have certain tags applied to them. I know that I...
`{"availabilityDomain":"ocid1.availabilitydomain.oc1..aaaaaaaaluor6lyhbyxbd5dbpmcsytcidprtrzmzmuf5hydnprk5aze7ik3a","compartmentId":"ocid1.tenancy.oc1..aaaaaaaahabf4ecjpejw4ukcpsh7j5un4bw5shr3fekfnus5fdtfdw4pl3xq","createVnicDetails":{"subnetId":"ocid1.subnet.oc1.eu-amsterdam-1.aaaaaaaaomfzlqotps7ldxk2o445vdwpvt5ofq7nnglhtbwx5l35tpkbwtzq"},"displayName":"OCI-Sample-Instance","shape":"VM.Standard.E2.1.Micro","sourceDetails":{"imageId":"ocid1.image.oc1.eu-amsterdam-1.aaaaaaaanjwra5zb2djwkkimdydl6im3f5mtzcb657nw3ky4huoj5sc5tioa","sourceType":"image"}}` `{ "code" : "CannotParseRequest", "message" : "Incorrectly formatted request. Please refer to our documentation for help." }` Test was based on https://github.com/oracle/oci-go-sdk/blob/master/example/example_core_test.go
The `token` seems to be missing from the following response types for the `IdentityDomainsClient`: - [`CreateAuthTokenResponse`](https://pkg.go.dev/github.com/oracle/oci-go-sdk/[email protected]/identitydomains#CreateAuthTokenResponse) - [`CreateMyAuthTokenResponse`](https://pkg.go.dev/github.com/oracle/oci-go-sdk/[email protected]/identitydomains#CreateMyAuthTokenResponse) Since it is not possible to get the token back after creating...
Hello, I'm using the GO SDK for queue services, but I encountered an error when using it: Message Error: Please use endpoint https://cell-1.queue.messaging.sa-vinhedo-1.oci.oraclecloud.com\nOperation Name: GetMessages\nTimestamp: 2023-11-10 18:40:57.086135167 -0300 - 03...
The current [SetRegion](https://github.com/oracle/oci-go-sdk/blob/master/queue/queue_client.go#L69) method almost guarantees any GetMessages or PutMessages returns 401. The queue client should accept endpoint as a parameter when creating it. The SetRegion method should also be...