Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ repos:
rev: 24.10.0
hooks:
- id: black
language_version: python3.9
language_version: python3.9
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ Updating, improving and correcting the documentation

-->



## Styleguides
### Commit Messages
<!-- TODO
Expand All @@ -157,3 +159,6 @@ Updating, improving and correcting the documentation
<!-- omit in toc -->
## Attribution
This guide is based on the [contributing.md](https://contributing.md/generator)!

## License for Contributions
By submitting a pull request, issue, or any other contribution to this repository, you agree that your contributions will be licensed under the same license that governs this project (as found in the [LICENSE](./LICENSE) file in the repository root). This means your contributions will be included under the project’s existing open source terms and conditions.
4 changes: 2 additions & 2 deletions crates/config/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::path::PathBuf;
use serde::{Deserialize, Serialize};
use std::path::PathBuf;
use tower_api::apis::configuration::Configuration;
use url::Url;

Expand Down Expand Up @@ -208,7 +208,7 @@ impl From<&Config> for Configuration {
}
}

// default_cache_dir gets the path the default cache location for dependencies, etc. Note
// default_cache_dir gets the path the default cache location for dependencies, etc. Note
// that you don't have to create underlying directory, uv will do that automagically for us.
pub fn default_cache_dir() -> PathBuf {
let dir = dirs::data_local_dir().unwrap();
Expand Down
35 changes: 25 additions & 10 deletions crates/tower-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ For more information, please visit [https://tower.dev](https://tower.dev)

This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.

- API version: v0.8.0
- API version: v0.9.9
- Package version: 1.0.0
- Generator version: 7.13.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
Expand All @@ -35,11 +35,12 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**create_account**](docs/DefaultApi.md#create_account) | **POST** /accounts | Create account
*DefaultApi* | [**create_api_key**](docs/DefaultApi.md#create_api_key) | **POST** /api-keys | Create API Key
*DefaultApi* | [**create_app**](docs/DefaultApi.md#create_app) | **POST** /apps | Create app
*DefaultApi* | [**create_authenticator**](docs/DefaultApi.md#create_authenticator) | **POST** /accounts/authenticator | Create authenticator
*DefaultApi* | [**create_authenticator**](docs/DefaultApi.md#create_authenticator) | **POST** /authenticators | Create authenticator
*DefaultApi* | [**create_catalog**](docs/DefaultApi.md#create_catalog) | **POST** /catalogs | Create catalog
*DefaultApi* | [**create_device_login_ticket**](docs/DefaultApi.md#create_device_login_ticket) | **GET** /login/device | Create device login ticket
*DefaultApi* | [**create_environment**](docs/DefaultApi.md#create_environment) | **POST** /environments | Create environment
*DefaultApi* | [**create_password_reset**](docs/DefaultApi.md#create_password_reset) | **POST** /accounts/password-reset | Create password reset
*DefaultApi* | [**create_sandbox_secrets**](docs/DefaultApi.md#create_sandbox_secrets) | **POST** /sandbox/secrets | Create Tower-provided sandbox secrets
*DefaultApi* | [**create_schedule**](docs/DefaultApi.md#create_schedule) | **POST** /schedules | Create schedule
*DefaultApi* | [**create_secret**](docs/DefaultApi.md#create_secret) | **POST** /secrets | Create secret
*DefaultApi* | [**create_session**](docs/DefaultApi.md#create_session) | **POST** /session | Create session
Expand All @@ -48,25 +49,27 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**delete_alert**](docs/DefaultApi.md#delete_alert) | **DELETE** /alerts/{alert_id} | Delete alert
*DefaultApi* | [**delete_api_key**](docs/DefaultApi.md#delete_api_key) | **DELETE** /api-keys | Delete API key
*DefaultApi* | [**delete_app**](docs/DefaultApi.md#delete_app) | **DELETE** /apps/{name} | Delete app
*DefaultApi* | [**delete_authenticator**](docs/DefaultApi.md#delete_authenticator) | **DELETE** /accounts/authenticator | Delete authenticator
*DefaultApi* | [**delete_authenticator**](docs/DefaultApi.md#delete_authenticator) | **DELETE** /authenticators | Delete authenticator
*DefaultApi* | [**delete_catalog**](docs/DefaultApi.md#delete_catalog) | **DELETE** /catalogs/{name} | Delete catalog
*DefaultApi* | [**delete_schedule**](docs/DefaultApi.md#delete_schedule) | **DELETE** /schedules | Delete schedule
*DefaultApi* | [**delete_secret**](docs/DefaultApi.md#delete_secret) | **DELETE** /secrets/{name} | Delete secret
*DefaultApi* | [**delete_team**](docs/DefaultApi.md#delete_team) | **DELETE** /teams | Delete team
*DefaultApi* | [**delete_team_invitation**](docs/DefaultApi.md#delete_team_invitation) | **DELETE** /teams/{name}/invites | Delete team invitation
*DefaultApi* | [**deploy_app**](docs/DefaultApi.md#deploy_app) | **POST** /apps/{name}/deploy | Deploy app
*DefaultApi* | [**describe_account**](docs/DefaultApi.md#describe_account) | **GET** /accounts/{name} | Describe account
*DefaultApi* | [**describe_app**](docs/DefaultApi.md#describe_app) | **GET** /apps/{name} | Describe app
*DefaultApi* | [**describe_app_version**](docs/DefaultApi.md#describe_app_version) | **GET** /apps/{name}/versions/{num} | Describe app version
*DefaultApi* | [**describe_device_login_session**](docs/DefaultApi.md#describe_device_login_session) | **GET** /login/device/{device_code} | Describe device login session
*DefaultApi* | [**describe_email_preferences**](docs/DefaultApi.md#describe_email_preferences) | **GET** /user/email-preferences | Describe email preferences
*DefaultApi* | [**describe_run**](docs/DefaultApi.md#describe_run) | **GET** /apps/{name}/runs/{seq} | Describe run
*DefaultApi* | [**describe_run_graph**](docs/DefaultApi.md#describe_run_graph) | **GET** /apps/{name}/runs/{seq}/graph | Describe run graph
*DefaultApi* | [**describe_run_logs**](docs/DefaultApi.md#describe_run_logs) | **GET** /apps/{name}/runs/{seq}/logs | Describe run logs
*DefaultApi* | [**describe_secrets_key**](docs/DefaultApi.md#describe_secrets_key) | **GET** /secrets/key | Describe encryption key
*DefaultApi* | [**describe_session**](docs/DefaultApi.md#describe_session) | **GET** /session | Describe session
*DefaultApi* | [**export_catalogs**](docs/DefaultApi.md#export_catalogs) | **POST** /catalogs/export | Export catalogs
*DefaultApi* | [**export_secrets**](docs/DefaultApi.md#export_secrets) | **POST** /secrets/export | Export secrets
*DefaultApi* | [**generate_app_statistics**](docs/DefaultApi.md#generate_app_statistics) | **GET** /stats/apps | Generate app statistics
*DefaultApi* | [**generate_authenticator**](docs/DefaultApi.md#generate_authenticator) | **POST** /accounts/authenticator/generate | Generate authenticator
*DefaultApi* | [**generate_authenticator**](docs/DefaultApi.md#generate_authenticator) | **POST** /authenticators/generate | Generate authenticator
*DefaultApi* | [**generate_run_statistics**](docs/DefaultApi.md#generate_run_statistics) | **GET** /stats/runs | Generate run statistics
*DefaultApi* | [**generate_runner_credentials**](docs/DefaultApi.md#generate_runner_credentials) | **POST** /runners/credentials | Generate runner credentials
*DefaultApi* | [**invite_team_member**](docs/DefaultApi.md#invite_team_member) | **POST** /teams/{name}/invites | Invite team member
Expand All @@ -76,11 +79,12 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**list_app_environments**](docs/DefaultApi.md#list_app_environments) | **GET** /apps/{name}/environments | List app environments
*DefaultApi* | [**list_app_versions**](docs/DefaultApi.md#list_app_versions) | **GET** /apps/{name}/versions | List app versions
*DefaultApi* | [**list_apps**](docs/DefaultApi.md#list_apps) | **GET** /apps | List apps
*DefaultApi* | [**list_authenticators**](docs/DefaultApi.md#list_authenticators) | **GET** /accounts/authenticator | List authenticators
*DefaultApi* | [**list_authenticators**](docs/DefaultApi.md#list_authenticators) | **GET** /authenticators | List authenticators
*DefaultApi* | [**list_catalogs**](docs/DefaultApi.md#list_catalogs) | **GET** /catalogs | List catalogs
*DefaultApi* | [**list_environments**](docs/DefaultApi.md#list_environments) | **GET** /environments | List environments
*DefaultApi* | [**list_my_team_invitations**](docs/DefaultApi.md#list_my_team_invitations) | **GET** /team-invites | List my team invitations
*DefaultApi* | [**list_plans**](docs/DefaultApi.md#list_plans) | **GET** /plans | List account plans
*DefaultApi* | [**list_runners**](docs/DefaultApi.md#list_runners) | **GET** /runners | List runners
*DefaultApi* | [**list_runs**](docs/DefaultApi.md#list_runs) | **GET** /apps/{name}/runs | List runs
*DefaultApi* | [**list_schedules**](docs/DefaultApi.md#list_schedules) | **GET** /schedules | List schedules
*DefaultApi* | [**list_secret_environments**](docs/DefaultApi.md#list_secret_environments) | **GET** /secrets/environments | List secret environments
Expand All @@ -96,7 +100,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**search_runs**](docs/DefaultApi.md#search_runs) | **GET** /runs | Search runs
*DefaultApi* | [**stream_alerts**](docs/DefaultApi.md#stream_alerts) | **GET** /alerts/stream | Stream alert notifications
*DefaultApi* | [**stream_run_logs**](docs/DefaultApi.md#stream_run_logs) | **GET** /apps/{name}/runs/{seq}/logs/stream | Stream run logs
*DefaultApi* | [**update_account_name**](docs/DefaultApi.md#update_account_name) | **PUT** /accounts/{name} | Update account name
*DefaultApi* | [**update_account**](docs/DefaultApi.md#update_account) | **PUT** /accounts/{name} | Update account
*DefaultApi* | [**update_app**](docs/DefaultApi.md#update_app) | **PUT** /apps/{name} | Update app
*DefaultApi* | [**update_catalog**](docs/DefaultApi.md#update_catalog) | **PUT** /catalogs/{name} | Update catalog
*DefaultApi* | [**update_email_preferences**](docs/DefaultApi.md#update_email_preferences) | **PUT** /user/email-preferences | Update email preferences
Expand Down Expand Up @@ -146,6 +150,8 @@ Class | Method | HTTP request | Description
- [CreateEnvironmentResponse](docs/CreateEnvironmentResponse.md)
- [CreatePasswordResetParams](docs/CreatePasswordResetParams.md)
- [CreatePasswordResetResponse](docs/CreatePasswordResetResponse.md)
- [CreateSandboxSecretsParams](docs/CreateSandboxSecretsParams.md)
- [CreateSandboxSecretsResponse](docs/CreateSandboxSecretsResponse.md)
- [CreateScheduleParams](docs/CreateScheduleParams.md)
- [CreateScheduleResponse](docs/CreateScheduleResponse.md)
- [CreateSecretParams](docs/CreateSecretParams.md)
Expand All @@ -167,11 +173,15 @@ Class | Method | HTTP request | Description
- [DeleteTeamInvitationResponse](docs/DeleteTeamInvitationResponse.md)
- [DeleteTeamParams](docs/DeleteTeamParams.md)
- [DeleteTeamResponse](docs/DeleteTeamResponse.md)
- [DeployAppRequest](docs/DeployAppRequest.md)
- [DeployAppResponse](docs/DeployAppResponse.md)
- [DescribeAccountBody](docs/DescribeAccountBody.md)
- [DescribeAppResponse](docs/DescribeAppResponse.md)
- [DescribeAppVersionResponse](docs/DescribeAppVersionResponse.md)
- [DescribeDeviceLoginSessionResponse](docs/DescribeDeviceLoginSessionResponse.md)
- [DescribeEmailPreferencesBody](docs/DescribeEmailPreferencesBody.md)
- [DescribeRunGraphResponse](docs/DescribeRunGraphResponse.md)
- [DescribeRunLinks](docs/DescribeRunLinks.md)
- [DescribeRunLogsResponse](docs/DescribeRunLogsResponse.md)
- [DescribeRunResponse](docs/DescribeRunResponse.md)
- [DescribeSecretsKeyResponse](docs/DescribeSecretsKeyResponse.md)
Expand All @@ -181,9 +191,9 @@ Class | Method | HTTP request | Description
- [Environment](docs/Environment.md)
- [ErrorDetail](docs/ErrorDetail.md)
- [ErrorModel](docs/ErrorModel.md)
- [EventAlert](docs/EventAlert.md)
- [EventError](docs/EventError.md)
- [EventLog](docs/EventLog.md)
- [EventRunFailureAlert](docs/EventRunFailureAlert.md)
- [EventWarning](docs/EventWarning.md)
- [ExportCatalogsParams](docs/ExportCatalogsParams.md)
- [ExportCatalogsResponse](docs/ExportCatalogsResponse.md)
Expand All @@ -203,7 +213,6 @@ Class | Method | HTTP request | Description
- [InviteTeamMemberResponse](docs/InviteTeamMemberResponse.md)
- [LeaveTeamResponse](docs/LeaveTeamResponse.md)
- [ListAccountPlansResponse](docs/ListAccountPlansResponse.md)
- [ListAlerts200Response](docs/ListAlerts200Response.md)
- [ListAlertsResponse](docs/ListAlertsResponse.md)
- [ListApiKeysResponse](docs/ListApiKeysResponse.md)
- [ListAppEnvironmentsResponse](docs/ListAppEnvironmentsResponse.md)
Expand All @@ -213,6 +222,7 @@ Class | Method | HTTP request | Description
- [ListCatalogsResponse](docs/ListCatalogsResponse.md)
- [ListEnvironmentsResponse](docs/ListEnvironmentsResponse.md)
- [ListMyTeamInvitationsResponse](docs/ListMyTeamInvitationsResponse.md)
- [ListRunnersResponse](docs/ListRunnersResponse.md)
- [ListRunsResponse](docs/ListRunsResponse.md)
- [ListSchedulesResponse](docs/ListSchedulesResponse.md)
- [ListSecretEnvironmentsResponse](docs/ListSecretEnvironmentsResponse.md)
Expand All @@ -230,14 +240,19 @@ Class | Method | HTTP request | Description
- [ResendTeamInvitationParams](docs/ResendTeamInvitationParams.md)
- [ResendTeamInvitationResponse](docs/ResendTeamInvitationResponse.md)
- [Run](docs/Run.md)
- [RunAppInitiatorData](docs/RunAppInitiatorData.md)
- [RunAppParams](docs/RunAppParams.md)
- [RunAppResponse](docs/RunAppResponse.md)
- [RunFailureAlert](docs/RunFailureAlert.md)
- [RunGraphNode](docs/RunGraphNode.md)
- [RunGraphRunId](docs/RunGraphRunId.md)
- [RunInitiator](docs/RunInitiator.md)
- [RunLogLine](docs/RunLogLine.md)
- [RunParameter](docs/RunParameter.md)
- [RunResults](docs/RunResults.md)
- [RunStatistics](docs/RunStatistics.md)
- [RunTimeseriesPoint](docs/RunTimeseriesPoint.md)
- [Runner](docs/Runner.md)
- [RunnerCredentials](docs/RunnerCredentials.md)
- [Schedule](docs/Schedule.md)
- [SearchRunsResponse](docs/SearchRunsResponse.md)
Expand All @@ -251,8 +266,8 @@ Class | Method | HTTP request | Description
- [TeamInvitation](docs/TeamInvitation.md)
- [Token](docs/Token.md)
- [UnverifiedAuthenticator](docs/UnverifiedAuthenticator.md)
- [UpdateAccountNameParams](docs/UpdateAccountNameParams.md)
- [UpdateAccountNameResponse](docs/UpdateAccountNameResponse.md)
- [UpdateAccountParams](docs/UpdateAccountParams.md)
- [UpdateAccountResponse](docs/UpdateAccountResponse.md)
- [UpdateAppParams](docs/UpdateAppParams.md)
- [UpdateAppResponse](docs/UpdateAppResponse.md)
- [UpdateCatalogParams](docs/UpdateCatalogParams.md)
Expand Down
2 changes: 1 addition & 1 deletion crates/tower-api/src/apis/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* REST API to interact with Tower Services.
*
* The version of the OpenAPI document: v0.8.0
* The version of the OpenAPI document: v0.9.9
* Contact: hello@tower.dev
* Generated by: https://openapi-generator.tech
*/
Expand Down
Loading