API Documentation
service/v1alpha1
Stability is not guaranteed.
AbortPromotionRequest
AbortPromotionRequest is the request for canceling a running promotion process.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion. |
| name | string | name is the name of the promotion to abort. |
AbortPromotionResponse
AbortPromotionResponse is the response after aborting a promotion. explicitly empty
AbortVerificationRequest
AbortVerificationRequest is the request for canceling running verification processes for a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| stage | string | stage is the name of the stage whose verification should be aborted. |
AbortVerificationResponse
AbortVerificationResponse is the response after aborting verification. explicitly empty
AdminLoginRequest
AdminLoginRequest contains credentials for admin authentication.
| Field | Type | Description |
|---|---|---|
| password | string | password is the admin password. |
AdminLoginResponse
AdminLoginResponse contains the authentication token for admin access.
| Field | Type | Description |
|---|---|---|
| id_token | string | id_token is the JWT token for authenticated admin access. |
ApproveFreightRequest
ApproveFreightRequest is the request for approving freight for promotion to a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to approve. |
| alias | string | alias is the alias of the freight to approve. |
| stage | string | stage is the name of the stage for which to approve the freight. |
ApproveFreightResponse
ApproveFreightResponse is the response after approving freight. explicitly empty
ArgoCDShard
ArgoCDShard represents configuration for a specific ArgoCD shard.
| Field | Type | Description |
|---|---|---|
| url | string | url is the base URL of the ArgoCD server. |
| namespace | string | namespace is the Kubernetes namespace where ArgoCD is installed. |
Claims
Claims represents a collection of OIDC claims.
| Field | Type | Description |
|---|---|---|
| claims | github.com.akuity.kargo.api.rbac.v1alpha1.Claim | Note: oneof and repeated do not work together claims is a list of OIDC claims. |
ComponentVersions
ComponentVersions contains version information for different Kargo components.
| Field | Type | Description |
|---|---|---|
| server | VersionInfo | server contains version information for the Kargo server. |
| cli | VersionInfo | cli contains version information for the Kargo CLI. |
CreateAPITokenRequest
CreateAPITokenRequest is a request to generate a new bearer token associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the Kargo Role virtual resource for which a new token is being created. This value is ignored if system_level is true. |
| role_name | string | role_name is the name of the Kargo Role virtual resource for which to generate a new bearer token. |
| name | string | name is the name for the bearer token to be created. |
CreateAPITokenResponse
CreateAPITokenResponse contains a newly generated bearer token in the form of a Kubernetes Secret.
| Field | Type | Description |
|---|---|---|
| token_secret | k8s.io.api.core.v1.Secret | token_secret is a Kubernetes Secret containing the token. |
CreateGenericCredentialsRequest
CreateGenericCredentialsRequest is the request for creating new generic credentials within a project, shared namespace, or system namespace.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create generic credentials in the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project where the generic credentials will be created. If empty and system_level is false, creates generic credentials in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the generic credentials to create. |
| description | string | description is a human-readable description of the generic credentials. |
| data | CreateGenericCredentialsRequest.DataEntry | data contains the key-value pairs that make up the generic credentials data. |
CreateGenericCredentialsRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
CreateGenericCredentialsResponse
CreateGenericCredentialsResponse contains the newly created generic credentials.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the created Kubernetes Secret containing generic credentials within the project. |
CreateOrUpdateResourceRequest
CreateOrUpdateResourceRequest contains Kubernetes resource manifests to be created or updated.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
CreateOrUpdateResourceResponse
CreateOrUpdateResourceResponse contains the results of creating or updating multiple resources.
| Field | Type | Description |
|---|---|---|
| results | CreateOrUpdateResourceResult | results contains the outcome for each resource create or update attempt. |
CreateOrUpdateResourceResult
CreateOrUpdateResourceResult represents the result of attempting to create or update a single resource.
| Field | Type | Description |
|---|---|---|
| created_resource_manifest | bytes | created_resource_manifest contains the newly created resource manifest. |
| updated_resource_manifest | bytes | updated_resource_manifest contains the updated existing resource manifest. |
| error | string | error contains the error message if the operation failed. |
CreateRepoCredentialsRequest
CreateRepoCredentialsRequest is the request for creating new credentials for accessing external repositories.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project where the credentials will be stored. |
| name | string | name is the name of the credentials. |
| description | string | description is a human-readable description of the credentials. |
| type | string | type specifies the credential type (git, helm, image). |
| repo_url | string | repo_url is the URL of the repository or registry these credentials apply to. |
| repo_url_is_regex | bool | repo_url_is_regex indicates whether repo_url should be treated as a regular expression. |
| username | string | username is the username for authentication. |
| password | string | password is the password or token for authentication. |
CreateRepoCredentialsResponse
CreateRepoCredentialsResponse contains the newly created repository credentials.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the created Kubernetes Secret containing the credentials. |
CreateResourceRequest
CreateResourceRequest contains Kubernetes resource manifests to be created.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
CreateResourceResponse
CreateResourceResponse contains the results of creating multiple resources.
| Field | Type | Description |
|---|---|---|
| results | CreateResourceResult | results contains the outcome for each resource creation attempt. |
CreateResourceResult
CreateResourceResult represents the result of attempting to create a single resource.
| Field | Type | Description |
|---|---|---|
| created_resource_manifest | bytes | created_resource_manifest contains the successfully created resource manifest. |
| error | string | error contains the error message if resource creation failed. |
CreateRoleRequest
CreateRoleRequest is a request to create a new Kargo Role virtual resource by creating its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource to create. |
CreateRoleResponse
CreateRoleResponse contains the details of a newly created Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the newly created Kargo Role virtual resource. |
DeleteAPITokenRequest
DeleteAPITokenRequest is a request to delete a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the token that is to be deleted. This value is ignored if system_level is true. |
| name | string | name is the name of the token to delete. |
DeleteAPITokenResponse
DeleteAPITokenResponse is the response returned after deleting a bearer token associated with a Kargo Role virtual resource. explicitly empty
DeleteAnalysisTemplateRequest
DeleteAnalysisTemplateRequest is the request for deleting an analysis template.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the analysis template. |
| name | string | name is the name of the analysis template to delete. |
DeleteAnalysisTemplateResponse
DeleteAnalysisTemplateResponse is the response returned after deleting an analysis template. explicitly empty
DeleteClusterAnalysisTemplateRequest
DeleteClusterAnalysisTemplateRequest is the request for deleting a cluster analysis template.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the cluster analysis template to delete. |
DeleteClusterAnalysisTemplateResponse
DeleteClusterAnalysisTemplateResponse is the response returned after deleting a cluster analysis template. explicitly empty
DeleteClusterConfigRequest
explicitly empty
DeleteClusterConfigResponse
explicitly empty
DeleteFreightRequest
DeleteFreightRequest is the request for deleting freight.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to delete. |
| alias | string | alias is the alias of the freight to delete. |
DeleteFreightResponse
DeleteFreightResponse is the response after deleting freight. explicitly empty
DeleteGenericCredentialsRequest
DeleteGenericCredentialsRequest is the request for deleting generic credentials.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete generic credentials from the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project containing the generic credentials. If empty and system_level is false, deletes generic credentials from the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the generic credentials to delete. |
DeleteGenericCredentialsResponse
DeleteGenericCredentialsResponse is the response returned after deleting generic credentials. explicitly empty
DeleteProjectConfigRequest
DeleteProjectConfigRequest is the request for removing project-level configuration.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project to delete configuration for. |
DeleteProjectConfigResponse
DeleteProjectConfigResponse is the response after deleting project configuration. explicitly empty
DeleteProjectRequest
DeleteProjectRequest is the request for deleting a project and all associated resources.
| Field | Type | Description |
|---|---|---|
| name | string | name is the name of the project to delete. |
DeleteProjectResponse
DeleteProjectResponse is the response after deleting a project. explicitly empty
DeleteRepoCredentialsRequest
DeleteRepoCredentialsRequest is the request for deleting existing repository credentials.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the credentials. |
| name | string | name is the name of the credentials to delete. |
DeleteRepoCredentialsResponse
DeleteRepoCredentialsResponse is the response returned after deleting repository credentials. explicitly empty
DeleteResourceRequest
DeleteResourceRequest contains Kubernetes resource manifests to be deleted.
| Field | Type | Description |
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. |
DeleteResourceResponse
DeleteResourceResponse contains the results of deleting multiple resources.
| Field | Type | Description |
|---|---|---|
| results | DeleteResourceResult | results contains the outcome for each resource deletion attempt. |
DeleteResourceResult
DeleteResourceResult represents the result of attempting to delete a single resource.
| Field | Type | Description |
|---|---|---|
| deleted_resource_manifest | bytes | deleted_resource_manifest contains the successfully deleted resource manifest. |
| error | string | error contains the error message if resource deletion failed. |
DeleteRoleRequest
DeleteRoleRequest is a request to delete a Kargo Role virtual resource by deleting its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role to be deleted. |
| name | string | name is the name of the Kargo Role to deleted. |
DeleteRoleResponse
DeleteRoleResponse is the response returned after deleting a Kargo Role virtual resource. explicitly empty
DeleteStageRequest
DeleteStageRequest is the request for deleting a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| name | string | name is the name of the stage to delete. |
DeleteStageResponse
DeleteStageResponse is the response after deleting a stage. explicitly empty
DeleteWarehouseRequest
DeleteWarehouseRequest is the request for deleting a warehouse.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the warehouse. |
| name | string | name is the name of the warehouse to delete. |
DeleteWarehouseResponse
DeleteWarehouseResponse is the response after deleting a warehouse. explicitly empty
FreightList
FreightList contains a list of freight resources.
| Field | Type | Description |
|---|---|---|
| freight | github.com.akuity.kargo.api.v1alpha1.Freight | freight is the list of Freight resources. |
GetAPITokenRequest
GetAPITokenRequest is a request to retrieve details of a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is for a token associated with a system-level Kargo Role virtual resource instead of one at the project-level. |
| project | string | project is the name of the project containing the requested token. This value is ignored if system_level is true. |
| name | string | name is the name of the token to retrieve. |
| format | RawFormat | format specifies the format for raw resource representation. |
GetAPITokenResponse
GetAPITokenResponse contains contains the details of a bearer token associated with a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| token_secret | k8s.io.api.core.v1.Secret | token_secret is a Kubernetes Secrets containing a redacted token associated with a Kargo Role virtual resource. |
| raw | bytes | raw is a raw YAML or JSON representation of the requested resource. |
GetAnalysisRunLogsRequest
GetAnalysisRunLogsRequest is the request for retrieving logs from an analysis run.
| Field | Type | Description |
|---|---|---|
| namespace | string | namespace is the namespace containing the analysis run. |
| name | string | name is the name of the analysis run whose logs to retrieve. |
| metric_name | string | metric_name is the specific metric whose logs to retrieve. |
| container_name | string | container_name is the specific container whose logs to retrieve. |
GetAnalysisRunLogsResponse
GetAnalysisRunLogsResponse contains a chunk of logs from the analysis run.
| Field | Type | Description |
|---|---|---|
| chunk | string | chunk is a portion of the log output from the analysis run. |
GetAnalysisRunRequest
GetAnalysisRunRequest is the request for retrieving a specific analysis run.
| Field | Type | Description |
|---|---|---|
| namespace | string | namespace is the namespace containing the analysis run. |
| name | string | name is the name of the analysis run to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetAnalysisRunResponse
GetAnalysisRunResponse contains the requested analysis run information.
| Field | Type | Description |
|---|---|---|
| analysis_run | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisRun | analysis_run is the structured AnalysisRun resource. |
| raw | bytes | raw is the raw YAML representation of the analysis run. |
GetAnalysisTemplateRequest
GetAnalysisTemplateRequest is the request for retrieving a specific analysis template.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the analysis template. |
| name | string | name is the name of the analysis template to retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |