Skip to content

Commit

Permalink
chore: update go-tsuruclient
Browse files Browse the repository at this point in the history
  • Loading branch information
crgisch committed Nov 24, 2023
1 parent 5735487 commit 7b8d8ea
Show file tree
Hide file tree
Showing 137 changed files with 302 additions and 184 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Open source, extensible and Docker-based Platform as a Service (PaaS)
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.18
- API version: 1.19
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down Expand Up @@ -198,6 +198,7 @@ Class | Method | HTTP request | Description
- [AppVolumeBinds](docs/AppVolumeBinds.md)
- [AssignGroupArgs](docs/AssignGroupArgs.md)
- [AssignTokenArgs](docs/AssignTokenArgs.md)
- [AutoScaleSchedule](docs/AutoScaleSchedule.md)
- [AutoScaleSpec](docs/AutoScaleSpec.md)
- [CertificateSetData](docs/CertificateSetData.md)
- [ChangePasswordData](docs/ChangePasswordData.md)
Expand All @@ -219,12 +220,12 @@ Class | Method | HTTP request | Description
- [EventTarget](docs/EventTarget.md)
- [InputApp](docs/InputApp.md)
- [InputJob](docs/InputJob.md)
- [InputJobContainer](docs/InputJobContainer.md)
- [Job](docs/Job.md)
- [JobInfo](docs/JobInfo.md)
- [JobServiceInstanceBind](docs/JobServiceInstanceBind.md)
- [JobServiceInstanceUnbind](docs/JobServiceInstanceUnbind.md)
- [JobSpec](docs/JobSpec.md)
- [JobSpecContainer](docs/JobSpecContainer.md)
- [Lock](docs/Lock.md)
- [Metadata](docs/Metadata.md)
- [MetadataItem](docs/MetadataItem.md)
Expand Down
160 changes: 122 additions & 38 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.1
info:
description: Open source, extensible and Docker-based Platform as a Service (PaaS)
title: Tsuru
version: "1.18"
version: "1.19"
servers:
- url: /
paths:
Expand Down Expand Up @@ -5907,14 +5907,32 @@ components:
autoscale:
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
tags:
- tags
- tags
Expand Down Expand Up @@ -6084,6 +6102,23 @@ components:
disabled:
type: boolean
type: object
AutoScaleSchedule:
description: Auto Scale schedules struct
example:
minReplicas: 7
timezone: timezone
start: start
end: end
properties:
minReplicas:
type: integer
start:
type: string
end:
type: string
timezone:
type: string
type: object
TeamTokenCreateArgs:
description: Arguments for creating a new team token.
example:
Expand Down Expand Up @@ -6939,7 +6974,7 @@ components:
type: integer
x-go-custom-type: '*int64'
container:
$ref: '#/components/schemas/Job_spec_container'
$ref: '#/components/schemas/InputJob_container'
required:
- name
type: object
Expand Down Expand Up @@ -7013,9 +7048,18 @@ components:
example:
process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
properties:
process:
type: string
Expand All @@ -7025,6 +7069,10 @@ components:
type: integer
averageCPU:
type: string
schedules:
items:
$ref: '#/components/schemas/AutoScaleSchedule'
type: array
version:
type: integer
type: object
Expand Down Expand Up @@ -7516,34 +7564,6 @@ components:
properties:
token:
type: string
Job_spec_container:
example:
image: image
envs:
- public: true
managedBy: managedBy
name: name
alias: alias
value: value
- public: true
managedBy: managedBy
name: name
alias: alias
value: value
command:
- command
- command
properties:
image:
type: string
envs:
items:
$ref: '#/components/schemas/EnvVar'
type: array
command:
items:
type: string
type: array
Job_spec:
example:
container:
Expand All @@ -7567,7 +7587,7 @@ components:
activeDeadlineSeconds: 0
properties:
container:
$ref: '#/components/schemas/Job_spec_container'
$ref: '#/components/schemas/InputJob_container'
schedule:
type: string
manual:
Expand Down Expand Up @@ -7685,6 +7705,34 @@ components:
teamowner:
type: string
type: object
InputJob_container:
example:
image: image
envs:
- public: true
managedBy: managedBy
name: name
alias: alias
value: value
- public: true
managedBy: managedBy
name: name
alias: alias
value: value
command:
- command
- command
properties:
image:
type: string
envs:
items:
$ref: '#/components/schemas/EnvVar'
type: array
command:
items:
type: string
type: array
JobInfo:
example:
serviceInstanceBinds:
Expand Down Expand Up @@ -8396,14 +8444,32 @@ components:
autoscale:
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
tags:
- tags
- tags
Expand Down Expand Up @@ -8595,14 +8661,32 @@ components:
autoscale:
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
- process: process
averageCPU: averageCPU
schedules:
- minReplicas: 7
timezone: timezone
start: start
end: end
- minReplicas: 7
timezone: timezone
start: start
end: end
maxUnits: 2
minUnits: 5
version: 7
version: 9
tags:
- tags
- tags
Expand Down
13 changes: 13 additions & 0 deletions docs/AutoScaleSchedule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# AutoScaleSchedule

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MinReplicas** | **int32** | | [optional]
**Start** | **string** | | [optional]
**End** | **string** | | [optional]
**Timezone** | **string** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/AutoScaleSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**MinUnits** | **int32** | | [optional]
**MaxUnits** | **int32** | | [optional]
**AverageCPU** | **string** | | [optional]
**Schedules** | [**[]AutoScaleSchedule**](AutoScaleSchedule.md) | | [optional]
**Version** | **int32** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/InputJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**Metadata** | [**Metadata**](Metadata.md) | | [optional]
**Manual** | **bool** | create a manual job. | [optional]
**ActiveDeadlineSeconds** | **int64** | job active deadline seconds. | [optional]
**Container** | [**JobSpecContainer**](Job_spec_container.md) | | [optional]
**Container** | [**InputJobContainer**](InputJob_container.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/JobSpecContainer.md → docs/InputJobContainer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JobSpecContainer
# InputJobContainer

## Properties
Name | Type | Description | Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/JobSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Container** | [**JobSpecContainer**](Job_spec_container.md) | | [optional]
**Container** | [**InputJobContainer**](InputJob_container.md) | | [optional]
**Schedule** | **string** | | [optional]
**Manual** | **bool** | | [optional]
**ActiveDeadlineSeconds** | **int64** | job active deadline seconds. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_platform.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Open source, extensible and Docker-based Platform as a Service (PaaS)
*
* API version: 1.18
* API version: 1.19
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
Loading

0 comments on commit 7b8d8ea

Please sign in to comment.