Skip to content

Commit

Permalink
jobs: add activeDeadlineSeconds
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Oct 4, 2023
1 parent 707cd13 commit b386081
Show file tree
Hide file tree
Showing 146 changed files with 165 additions and 147 deletions.
2 changes: 1 addition & 1 deletion 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.16
- API version: 1.18
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

Expand Down
14 changes: 13 additions & 1 deletion 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.16"
version: "1.18"
servers:
- url: /
paths:
Expand Down Expand Up @@ -7219,6 +7219,7 @@ components:
description: description
manual: true
plan: plan
activeDeadlineSeconds: 0
tags:
- tags
- tags
Expand Down Expand Up @@ -7251,6 +7252,10 @@ components:
manual:
description: create a manual job.
type: boolean
activeDeadlineSeconds:
description: job active deadline seconds.
format: int64
type: integer
container:
$ref: '#/components/schemas/InputJob_container'
required:
Expand Down Expand Up @@ -7903,13 +7908,18 @@ components:
- command
schedule: schedule
manual: true
activeDeadlineSeconds: 0
properties:
container:
$ref: '#/components/schemas/InputJob_container'
schedule:
type: string
manual:
type: boolean
activeDeadlineSeconds:
description: job active deadline seconds.
format: int64
type: integer
Unit:
example:
address:
Expand Down Expand Up @@ -8138,6 +8148,7 @@ components:
- command
schedule: schedule
manual: true
activeDeadlineSeconds: 0
properties:
job:
$ref: '#/components/schemas/Job'
Expand Down Expand Up @@ -8256,6 +8267,7 @@ components:
- command
schedule: schedule
manual: true
activeDeadlineSeconds: 0
properties:
name:
description: Job name.
Expand Down
1 change: 1 addition & 0 deletions docs/InputJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**TeamOwner** | **string** | Team that owns the job. | [optional]
**Metadata** | [**Metadata**](Metadata.md) | | [optional]
**Manual** | **bool** | create a manual job. | [optional]
**ActiveDeadlineSeconds** | **int64** | job active deadline seconds. | [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
1 change: 1 addition & 0 deletions docs/JobSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
**Container** | [**InputJobContainer**](InputJob_container.md) | | [optional]
**Schedule** | **string** | | [optional]
**Manual** | **bool** | | [optional]
**ActiveDeadlineSeconds** | **int64** | job active deadline seconds. | [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 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.16
* API version: 1.18
* 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.16
* API version: 1.18
* 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.16
* API version: 1.18
* 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.16
* API version: 1.18
* 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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_node.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_nodecontainer.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.16
* API version: 1.18
* 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.16
* API version: 1.18
* 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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_pool.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_router.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_service.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_team.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_user.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/api_volume.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
4 changes: 2 additions & 2 deletions pkg/tsuru/client.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down Expand Up @@ -37,7 +37,7 @@ var (
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
)

// APIClient manages communication with the Tsuru API v1.16
// APIClient manages communication with the Tsuru API v1.18
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/configuration.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_c_name.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_create_response.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_id.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_internal_addresses.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_lock.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_router.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_routers.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_run_opts.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_service_instance_binds.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_start_stop.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_app_volume_binds.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_assign_group_args.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_assign_token_args.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_auto_scale_spec.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
2 changes: 1 addition & 1 deletion pkg/tsuru/model_certificate_set_data.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.16
* API version: 1.18
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/

Expand Down
Loading

0 comments on commit b386081

Please sign in to comment.