Skip to content

Commit

Permalink
Update client for c741b94
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Aug 31, 2023
1 parent 3f94f0f commit 4faacf0
Show file tree
Hide file tree
Showing 16 changed files with 1,662 additions and 93 deletions.
8 changes: 7 additions & 1 deletion pds/v1alpha1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Class | Method | HTTP request | Description
*DeploymentsApi* | [**ApiDeploymentsIdGet**](docs/DeploymentsApi.md#apideploymentsidget) | **Get** /api/deployments/{id} | Get Deployment
*DeploymentsApi* | [**ApiDeploymentsIdPut**](docs/DeploymentsApi.md#apideploymentsidput) | **Put** /api/deployments/{id} | Update Deployment
*DeploymentsApi* | [**ApiDeploymentsIdStatusGet**](docs/DeploymentsApi.md#apideploymentsidstatusget) | **Get** /api/deployments/{id}/status | Get Deployment Status
*DeploymentsApi* | [**ApiDeploymentsPost**](docs/DeploymentsApi.md#apideploymentspost) | **Post** /api/deployments | Create Deployment
*DeploymentsApi* | [**ApiProjectsIdDeploymentsGet**](docs/DeploymentsApi.md#apiprojectsiddeploymentsget) | **Get** /api/projects/{id}/deployments | List Project&#39;s Deployments
*DeploymentsApi* | [**ApiProjectsIdDeploymentsPost**](docs/DeploymentsApi.md#apiprojectsiddeploymentspost) | **Post** /api/projects/{id}/deployments | Create Deployment
*EventsApi* | [**ApiDeploymentTargetsIdDeploymentEventsPost**](docs/EventsApi.md#apideploymenttargetsiddeploymenteventspost) | **Post** /api/deployment-targets/{id}/deployment/events | Adds k8s generated events for a deployment
Expand All @@ -170,8 +171,11 @@ Class | Method | HTTP request | Description
*GlobalRoleBindingsApi* | [**ApiGlobalRoleBindingsDelete**](docs/GlobalRoleBindingsApi.md#apiglobalrolebindingsdelete) | **Delete** /api/global-role-bindings | Delete GlobalRoleBinding
*GlobalRoleBindingsApi* | [**ApiGlobalRoleBindingsGet**](docs/GlobalRoleBindingsApi.md#apiglobalrolebindingsget) | **Get** /api/global-role-bindings | List GlobalRoleBindings
*GlobalRoleBindingsApi* | [**ApiGlobalRoleBindingsPut**](docs/GlobalRoleBindingsApi.md#apiglobalrolebindingsput) | **Put** /api/global-role-bindings | Set GlobalRoleBinding
*IAMApi* | [**ApiAccountsIdIamActorIdDelete**](docs/IAMApi.md#apiaccountsidiamactoriddelete) | **Delete** /api/accounts/{id}/iam/{actor-id} | Delete IAM
*IAMApi* | [**ApiAccountsIdIamActorIdGet**](docs/IAMApi.md#apiaccountsidiamactoridget) | **Get** /api/accounts/{id}/iam/{actor-id} | Get IAM
*IAMApi* | [**ApiAccountsIdIamGet**](docs/IAMApi.md#apiaccountsidiamget) | **Get** /api/accounts/{id}/iam | List IAM
*IAMApi* | [**ApiAccountsIdIamPost**](docs/IAMApi.md#apiaccountsidiampost) | **Post** /api/accounts/{id}/iam | Create IAM
*IAMApi* | [**ApiAccountsIdIamPut**](docs/IAMApi.md#apiaccountsidiamput) | **Put** /api/accounts/{id}/iam | Update IAM
*ImagesApi* | [**ApiImagesGet**](docs/ImagesApi.md#apiimagesget) | **Get** /api/images | List Images
*ImagesApi* | [**ApiImagesIdGet**](docs/ImagesApi.md#apiimagesidget) | **Get** /api/images/{id} | Get Image
*ImagesApi* | [**ApiVersionsIdImagesGet**](docs/ImagesApi.md#apiversionsidimagesget) | **Get** /api/versions/{id}/images | List Version&#39;s Images
Expand Down Expand Up @@ -211,7 +215,7 @@ Class | Method | HTTP request | Description
*ServiceIdentityApi* | [**ApiServiceIdentityIdDelete**](docs/ServiceIdentityApi.md#apiserviceidentityiddelete) | **Delete** /api/service-identity/{id} | Delete service identity
*ServiceIdentityApi* | [**ApiServiceIdentityIdGet**](docs/ServiceIdentityApi.md#apiserviceidentityidget) | **Get** /api/service-identity/{id} | Get service identity by ID
*ServiceIdentityApi* | [**ApiServiceIdentityIdPut**](docs/ServiceIdentityApi.md#apiserviceidentityidput) | **Put** /api/service-identity/{id} | Update service identity
*ServiceIdentityApi* | [**ApiServiceIdentityregenerateIdGet**](docs/ServiceIdentityApi.md#apiserviceidentityregenerateidget) | **Get** /api/service-identity:regenerate/{id} | Regenerate service identity credentials
*ServiceIdentityApi* | [**ApiServiceIdentityIdRegenerateGet**](docs/ServiceIdentityApi.md#apiserviceidentityidregenerateget) | **Get** /api/service-identity/{id}/regenerate | Regenerate service identity credentials
*ServiceIdentityApi* | [**ServiceIdentityGenerateTokenPost**](docs/ServiceIdentityApi.md#serviceidentitygeneratetokenpost) | **Post** /service-identity/generate-token | Generate JWT token for service identity
*StorageOptionsTemplatesApi* | [**ApiStorageOptionsTemplatesIdDelete**](docs/StorageOptionsTemplatesApi.md#apistorageoptionstemplatesiddelete) | **Delete** /api/storage-options-templates/{id} | Delete StorageOptionsTemplates
*StorageOptionsTemplatesApi* | [**ApiStorageOptionsTemplatesIdGet**](docs/StorageOptionsTemplatesApi.md#apistorageoptionstemplatesidget) | **Get** /api/storage-options-templates/{id} | Get StorageOptionsTemplate
Expand Down Expand Up @@ -313,6 +317,7 @@ Class | Method | HTTP request | Description
- [DeploymentsResourceConditions](docs/DeploymentsResourceConditions.md)
- [ModelsAWSDetails](docs/ModelsAWSDetails.md)
- [ModelsAccessPolicy](docs/ModelsAccessPolicy.md)
- [ModelsAccessPolicyWithAccountID](docs/ModelsAccessPolicyWithAccountID.md)
- [ModelsAccount](docs/ModelsAccount.md)
- [ModelsAccountGlobalConfig](docs/ModelsAccountGlobalConfig.md)
- [ModelsAccountRoleInvitation](docs/ModelsAccountRoleInvitation.md)
Expand Down Expand Up @@ -405,6 +410,7 @@ Class | Method | HTTP request | Description
- [RequestsDeleteRoleBindingRequest](docs/RequestsDeleteRoleBindingRequest.md)
- [RequestsDeploymentEvent](docs/RequestsDeploymentEvent.md)
- [RequestsDeploymentScheduledBackup](docs/RequestsDeploymentScheduledBackup.md)
- [RequestsIAMRequest](docs/RequestsIAMRequest.md)
- [RequestsInvitationAccountRequest](docs/RequestsInvitationAccountRequest.md)
- [RequestsK8sEvent](docs/RequestsK8sEvent.md)
- [RequestsPatchAccountRoleInvitationRequest](docs/RequestsPatchAccountRoleInvitationRequest.md)
Expand Down
149 changes: 147 additions & 2 deletions pds/v1alpha1/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,89 @@ paths:
summary: List IAM
tags:
- IAM
post:
description: Creates a new IAM rolebinding
parameters:
- description: Account ID (must be valid UUID)
in: path
name: id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/requests.IAMRequest'
description: Request body contains actor ID
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/models.IAM'
description: The created IAM will be returned
security:
- ApiKeyAuth: []
summary: Create IAM
tags:
- IAM
x-codegen-request-body-name: body
put:
description: Updates a IAM rolebinding
parameters:
- description: Account ID (must be valid UUID)
in: path
name: id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/requests.IAMRequest'
description: Request body contains actor ID
required: true
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/models.IAM'
description: The updated IAM will be returned
security:
- ApiKeyAuth: []
summary: Update IAM
tags:
- IAM
x-codegen-request-body-name: body
/api/accounts/{id}/iam/{actor-id}:
delete:
description: Removes a single AccountIAM
parameters:
- description: Account ID (must be valid UUID)
in: path
name: id
required: true
schema:
type: string
- description: Actor ID (must be valid UUID)
in: path
name: actor-id
required: true
schema:
type: string
responses:
"204":
content: {}
description: No Content
security:
- ApiKeyAuth: []
summary: Delete IAM
tags:
- IAM
get:
description: Fetches an IAM record
parameters:
Expand Down Expand Up @@ -2202,6 +2284,36 @@ paths:
tags:
- DeploymentTargets
x-codegen-request-body-name: body
/api/deployments:
post:
description: Creates a new data service Deployment
parameters:
- description: Set to true to only create the Deployment object in the database
(does not create any actual resources)
in: header
name: Local-Only
schema:
type: boolean
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/requests.CreateProjectDeploymentRequest'
description: Request body containing the deployment config
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/models.Deployment'
description: The created Deployment will be returned
security:
- ApiKeyAuth: []
summary: Create Deployment
tags:
- Deployments
x-codegen-request-body-name: body
/api/deployments/{id}:
delete:
description: Deletes an existing database Deployment
Expand Down Expand Up @@ -3520,7 +3632,7 @@ paths:
tags:
- ServiceIdentity
x-codegen-request-body-name: Body
/api/service-identity:regenerate/{id}:
/api/service-identity/{id}/regenerate:
get:
description: Revokes existing credentials and regenerate new ClientID and ClientToken
parameters:
Expand Down Expand Up @@ -6127,6 +6239,29 @@ components:
type: string
type: object
models.AccessPolicy:
properties:
account:
items:
type: string
type: array
global:
items:
type: string
type: array
namespace:
items:
$ref: '#/components/schemas/models.Binding'
type: array
project:
items:
$ref: '#/components/schemas/models.Binding'
type: array
tenant:
items:
$ref: '#/components/schemas/models.Binding'
type: array
type: object
models.AccessPolicyWithAccountID:
example:
account_id: account_id
namespace:
Expand Down Expand Up @@ -7574,7 +7709,7 @@ components:
id: id
properties:
access_policy:
$ref: '#/components/schemas/models.AccessPolicy'
$ref: '#/components/schemas/models.AccessPolicyWithAccountID'
account_id:
type: string
actor_id:
Expand Down Expand Up @@ -9596,6 +9731,16 @@ components:
description: BackupTargetID and BackupPolicyID must be both specified.
type: string
type: object
requests.IAMRequest:
properties:
actor_id:
type: string
data:
$ref: '#/components/schemas/models.AccessPolicy'
required:
- actor_id
- data
type: object
requests.InvitationAccountRequest:
properties:
email:
Expand Down
134 changes: 134 additions & 0 deletions pds/v1alpha1/api_deployments.go

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

Loading

0 comments on commit 4faacf0

Please sign in to comment.