Skip to content

Commit

Permalink
Regen temboclient with latest OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel committed Apr 1, 2024
1 parent 8f5ce8d commit ce2b760
Show file tree
Hide file tree
Showing 22 changed files with 868 additions and 102 deletions.
4 changes: 0 additions & 4 deletions internal/provider/temboclient/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand Down Expand Up @@ -133,7 +132,4 @@ model_trunk_install_status.go
model_update_instance.go
model_volume_mount.go
response.go
test/api_app_test.go
test/api_instance_test.go
test/api_stack_test.go
utils.go
2 changes: 1 addition & 1 deletion internal/provider/temboclient/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.3.0
7.4.0
1 change: 1 addition & 0 deletions internal/provider/temboclient/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: v1.0.0
- Package version: 1.0.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
9 changes: 6 additions & 3 deletions internal/provider/temboclient/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponseSchema'
description: Forbidden
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponseSchema'
description: Instance not found
summary: Get an existing Tembo instance
tags:
- instance
Expand Down Expand Up @@ -739,8 +745,6 @@ components:
properties:
host:
type: string
password:
type: string
pooler_host:
nullable: true
type: string
Expand All @@ -751,7 +755,6 @@ components:
type: string
required:
- host
- password
- port
- user
type: object
Expand Down
11 changes: 11 additions & 0 deletions internal/provider/temboclient/api_instance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/provider/temboclient/docs/AppAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"context"
"fmt"
"os"
openapiclient "github.com/tembo-io/terraform-provider-tembo/temboclient"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func main() {
Expand Down Expand Up @@ -87,7 +87,7 @@ import (
"context"
"fmt"
"os"
openapiclient "github.com/tembo-io/terraform-provider-tembo/temboclient"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func main() {
Expand Down
23 changes: 1 addition & 22 deletions internal/provider/temboclient/docs/ConnectionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Host** | **string** | |
**Password** | **string** | |
**PoolerHost** | Pointer to **NullableString** | | [optional]
**Port** | **int32** | |
**User** | **string** | |
Expand All @@ -14,7 +13,7 @@ Name | Type | Description | Notes

### NewConnectionInfo

`func NewConnectionInfo(host string, password string, port int32, user string, ) *ConnectionInfo`
`func NewConnectionInfo(host string, port int32, user string, ) *ConnectionInfo`

NewConnectionInfo instantiates a new ConnectionInfo object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -49,26 +48,6 @@ and a boolean to check if the value has been set.
SetHost sets Host field to given value.


### GetPassword

`func (o *ConnectionInfo) GetPassword() string`

GetPassword returns the Password field if non-nil, zero value otherwise.

### GetPasswordOk

`func (o *ConnectionInfo) GetPasswordOk() (*string, bool)`

GetPasswordOk returns a tuple with the Password field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPassword

`func (o *ConnectionInfo) SetPassword(v string)`

SetPassword sets Password field to given value.


### GetPoolerHost

`func (o *ConnectionInfo) GetPoolerHost() string`
Expand Down
Loading

0 comments on commit ce2b760

Please sign in to comment.