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 for role-based access control.
| Field | Type | Description | 
|---|---|---|
| claims | github.com.akuity.kargo.api.rbac.v1alpha1.Claim | Note: oneof and repeated do not work together claims is the list of claims associated with a user or service account. | 
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. | 
CreateClusterSecretRequest
CreateClusterSecretRequest is the request for creating a new cluster-level secret.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the cluster secret to create. | 
| data | CreateClusterSecretRequest.DataEntry | data contains the key-value pairs that make up the secret data. | 
CreateClusterSecretRequest.DataEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | string | 
CreateClusterSecretResponse
CreateClusterSecretResponse contains the newly created cluster secret.
| Field | Type | Description | 
|---|---|---|
| secret | k8s.io.api.core.v1.Secret | secret is the created cluster-level Kubernetes Secret. | 
CreateCredentialsRequest
CreateCredentialsRequest is the request for creating new credentials for accessing external resources.
| 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. | 
CreateCredentialsResponse
CreateCredentialsResponse contains the newly created credentials.
| Field | Type | Description | 
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the created Kubernetes Secret containing the credentials. | 
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. | 
CreateProjectSecretRequest
CreateProjectSecretRequest is the request for creating a new secret within a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project where the secret will be created. | 
| name | string | name is the name of the secret to create. | 
| description | string | description is a human-readable description of the secret. | 
| data | CreateProjectSecretRequest.DataEntry | data contains the key-value pairs that make up the secret data. | 
CreateProjectSecretRequest.DataEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | string | 
CreateProjectSecretResponse
CreateProjectSecretResponse contains the newly created project secret.
| Field | Type | Description | 
|---|---|---|
| secret | k8s.io.api.core.v1.Secret | secret is the created Kubernetes Secret within the project. | 
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 the request for creating a new RBAC role.
| Field | Type | Description | 
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Role resource to create. | 
CreateRoleResponse
CreateRoleResponse contains the newly created role information.
| Field | Type | Description | 
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the created Role resource. | 
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
DeleteClusterSecretRequest
DeleteClusterSecretRequest is the request for deleting a cluster secret.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the cluster secret to delete. | 
DeleteClusterSecretResponse
DeleteClusterSecretResponse is the response returned after deleting a cluster secret. explicitly empty
DeleteCredentialsRequest
DeleteCredentialsRequest is the request for deleting existing 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. | 
DeleteCredentialsResponse
DeleteCredentialsResponse is the response returned after deleting credentials. 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
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
DeleteProjectSecretRequest
DeleteProjectSecretRequest is the request for deleting a project secret.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the secret. | 
| name | string | name is the name of the secret to delete. | 
DeleteProjectSecretResponse
DeleteProjectSecretResponse is the response returned after deleting a project secret. 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 the request for deleting an RBAC role.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the role. | 
| name | string | name is the name of the role to delete. | 
DeleteRoleResponse
DeleteRoleResponse is the response returned after deleting a role. 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. | 
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). | 
GetAnalysisTemplateResponse
GetAnalysisTemplateResponse contains the requested analysis template information.
| Field | Type | Description | 
|---|---|---|
| analysis_template | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisTemplate | analysis_template is the structured AnalysisTemplate resource. | 
| raw | bytes | raw is the raw YAML representation of the analysis template. | 
GetClusterAnalysisTemplateRequest
GetClusterAnalysisTemplateRequest is the request for retrieving a specific cluster analysis template.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the cluster analysis template to retrieve. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetClusterAnalysisTemplateResponse
GetClusterAnalysisTemplateResponse contains the requested cluster analysis template information.
| Field | Type | Description | 
|---|---|---|
| cluster_analysis_template | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.ClusterAnalysisTemplate | cluster_analysis_template is the structured ClusterAnalysisTemplate resource. | 
| raw | bytes | raw is the raw YAML representation of the cluster analysis template. | 
GetClusterConfigRequest
| Field | Type | Description | 
|---|---|---|
| format | RawFormat | 
GetClusterConfigResponse
| Field | Type | Description | 
|---|---|---|
| cluster_config | github.com.akuity.kargo.api.v1alpha1.ClusterConfig | |
| raw | bytes | 
GetClusterPromotionTaskRequest
GetClusterPromotionTaskRequest is the request for retrieving a specific cluster promotion task.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the cluster promotion task to retrieve. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetClusterPromotionTaskResponse
GetClusterPromotionTaskResponse contains the requested cluster promotion task information.
| Field | Type | Description | 
|---|---|---|
| promotion_task | github.com.akuity.kargo.api.v1alpha1.ClusterPromotionTask | promotion_task is the structured ClusterPromotionTask resource. | 
| raw | bytes | raw is the raw YAML representation of the cluster promotion task. | 
GetConfigMapRequest
GetConfigMapRequest is the request for retrieving a specific ConfigMap.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the ConfigMap. | 
| name | string | name is the name of the ConfigMap to retrieve. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetConfigMapResponse
GetConfigMapResponse contains the requested ConfigMap information.
| Field | Type | Description | 
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the structured Kubernetes ConfigMap object. | 
| raw | bytes | raw is the raw YAML representation of the ConfigMap. | 
GetConfigRequest
GetConfigRequest is the request message for retrieving server configuration.
GetConfigResponse
GetConfigResponse contains server configuration information.
| Field | Type | Description | 
|---|---|---|
| argocd_shards | GetConfigResponse.ArgocdShardsEntry | argocd_shards maps shard names to their ArgoCD configuration. | 
| secret_management_enabled | bool | secret_management_enabled indicates if secret management features are available. | 
| cluster_secrets_namespace | string | cluster_secrets_namespace is the namespace used for cluster-scoped secrets. | 
| has_analysis_run_logs_url_template | bool | has_analysis_run_logs_url_template indicates if an analysis run logs URL template is configured. | 
GetConfigResponse.ArgocdShardsEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | ArgoCDShard | 
GetCredentialsRequest
GetCredentialsRequest is the request for retrieving existing 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 retrieve. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetCredentialsResponse
GetCredentialsResponse contains the requested credentials information.
| Field | Type | Description | 
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the structured Kubernetes Secret containing the credentials. | 
| raw | bytes | raw is the raw YAML representation of the credentials. | 
GetFreightRequest
GetFreightRequest is the request for retrieving details of specific 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 retrieve. | 
| alias | string | alias is the alias of the freight to retrieve. | 
| format | RawFormat | format specifies the format for raw resource representation. | 
GetFreightResponse
GetFreightResponse contains the requested freight information.
| Field | Type | Description | 
|---|---|---|
| freight | github.com.akuity.kargo.api.v1alpha1.Freight | freight contains the Freight resource in structured format. | 
| raw | bytes | raw contains the Freight resource in the requested raw format. | 
GetProjectConfigRequest
GetProjectConfigRequest is the request for retrieving project-level configuration settings.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project to retrieve configuration for. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetProjectConfigResponse
GetProjectConfigResponse contains the requested project configuration.
| Field | Type | Description | 
|---|---|---|
| project_config | github.com.akuity.kargo.api.v1alpha1.ProjectConfig | project_config is the structured ProjectConfig object. | 
| raw | bytes | raw is the raw YAML representation of the project configuration. | 
GetProjectRequest
GetProjectRequest is the request for retrieving details of a specific project.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the project to retrieve. | 
| format | RawFormat | format specifies the format for raw resource representation. | 
GetProjectResponse
GetProjectResponse contains the requested project information.
| Field | Type | Description | 
|---|---|---|
| project | github.com.akuity.kargo.api.v1alpha1.Project | project contains the Project resource in structured format. | 
| raw | bytes | raw contains the Project resource in the requested raw format. | 
GetPromotionRequest
GetPromotionRequest is the request for retrieving details of a specific promotion.
| 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 retrieve. | 
| format | RawFormat | format specifies the format for raw resource representation. | 
GetPromotionResponse
GetPromotionResponse contains the requested promotion information.
| Field | Type | Description | 
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion contains the Promotion resource in structured format. | 
| raw | bytes | raw contains the Promotion resource in the requested raw format. | 
GetPromotionTaskRequest
GetPromotionTaskRequest is the request for retrieving a specific promotion task.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the promotion task. | 
| name | string | name is the name of the promotion task to retrieve. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetPromotionTaskResponse
GetPromotionTaskResponse contains the requested promotion task information.
| Field | Type | Description | 
|---|---|---|
| promotion_task | github.com.akuity.kargo.api.v1alpha1.PromotionTask | promotion_task is the structured PromotionTask resource. | 
| raw | bytes | raw is the raw YAML representation of the promotion task. | 
GetPublicConfigRequest
GetPublicConfigRequest is the request message for retrieving public configuration.
GetPublicConfigResponse
GetPublicConfigResponse contains publicly accessible configuration settings.
| Field | Type | Description | 
|---|---|---|
| oidc_config | OIDCConfig | oidc_config contains OpenID Connect configuration for authentication. | 
| admin_account_enabled | bool | admin_account_enabled indicates if admin account authentication is available. | 
| skip_auth | bool | skip_auth indicates if authentication should be bypassed. | 
GetRoleRequest
GetRoleRequest is the request for retrieving a specific RBAC role.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the role. | 
| name | string | name is the name of the role to retrieve. | 
| as_resources | bool | as_resources indicates whether to return the role as resources or as a role object. | 
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). | 
GetRoleResponse
GetRoleResponse contains the requested role information.
| Field | Type | Description | 
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the structured Role resource. | 
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is the structured RoleResources containing the role's resources. | 
| raw | bytes | raw is the raw YAML representation of the role. | 
GetStageRequest
GetStageRequest is the request for retrieving details of a specific 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 retrieve. | 
| format | RawFormat | format specifies the format for raw resource representation. | 
GetStageResponse
GetStageResponse contains the requested stage information.
| Field | Type | Description | 
|---|---|---|
| stage | github.com.akuity.kargo.api.v1alpha1.Stage | stage contains the Stage resource in structured format. | 
| raw | bytes | raw contains the Stage resource in the requested raw format. | 
GetVersionInfoRequest
GetVersionInfoRequest is the request message for retrieving version information.
GetVersionInfoResponse
GetVersionInfoResponse contains the server's version information.
| Field | Type | Description | 
|---|---|---|
| version_info | VersionInfo | version_info contains detailed version and build information. | 
GetWarehouseRequest
GetWarehouseRequest is the request for retrieving details of a specific 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 retrieve. | 
| format | RawFormat | format specifies the format for raw resource representation. | 
GetWarehouseResponse
GetWarehouseResponse contains the requested warehouse information.
| Field | Type | Description | 
|---|---|---|
| warehouse | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouse contains the Warehouse resource in structured format. | 
| raw | bytes | raw contains the Warehouse resource in the requested raw format. | 
GrantRequest
GrantRequest is the request for granting a role to a user or resource.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project where the role will be granted. | 
| role | string | role is the name of the role to grant. | 
| user_claims | Claims | user_claims are the OIDC claims for the user being granted the role. | 
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of the resource being granted the role. | 
GrantResponse
GrantResponse contains information about the granted role.
| Field | Type | Description | 
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Role resource that was granted. | 
ImageStageMap
ImageStageMap represents the mapping of stages to the order in which an image was promoted.
| Field | Type | Description | 
|---|---|---|
| stages | ImageStageMap.StagesEntry | stages maps stage names to the order in which an image was promoted to that stage. | 
ImageStageMap.StagesEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | int32 | 
ListAnalysisTemplatesRequest
ListAnalysisTemplatesRequest is the request for listing all analysis templates in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose analysis templates will be listed. | 
ListAnalysisTemplatesResponse
ListAnalysisTemplatesResponse contains a list of analysis templates for the specified project.
| Field | Type | Description | 
|---|---|---|
| analysis_templates | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.AnalysisTemplate | analysis_templates is the list of AnalysisTemplate resources within the project. | 
ListClusterAnalysisTemplatesRequest
ListClusterAnalysisTemplatesRequest is the request for listing all cluster-level analysis templates.
ListClusterAnalysisTemplatesResponse
ListClusterAnalysisTemplatesResponse contains a list of cluster-level analysis templates.
| Field | Type | Description | 
|---|---|---|
| cluster_analysis_templates | github.com.akuity.kargo.api.stubs.rollouts.v1alpha1.ClusterAnalysisTemplate | cluster_analysis_templates is the list of ClusterAnalysisTemplate resources. | 
ListClusterPromotionTasksRequest
ListClusterPromotionTasksRequest is the request for listing all cluster-level promotion tasks.
ListClusterPromotionTasksResponse
ListClusterPromotionTasksResponse contains a list of cluster-level promotion tasks.
| Field | Type | Description | 
|---|---|---|
| cluster_promotion_tasks | github.com.akuity.kargo.api.v1alpha1.ClusterPromotionTask | cluster_promotion_tasks is the list of ClusterPromotionTask resources. | 
ListClusterSecretsRequest
ListClusterSecretsRequest is the request for listing all cluster-level secrets. explicitly empty
ListClusterSecretsResponse
ListClusterSecretsResponse contains a list of cluster-level secrets.
| Field | Type | Description | 
|---|---|---|
| secrets | k8s.io.api.core.v1.Secret | secrets is the list of cluster-level Kubernetes Secrets. | 
ListConfigMapsRequest
ListConfigMapsRequest is the request for retrieving all ConfigMaps in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project to list ConfigMaps from. | 
ListConfigMapsResponse
ListConfigMapsResponse contains the list of ConfigMaps in a project.
| Field | Type | Description | 
|---|---|---|
| config_maps | k8s.io.api.core.v1.ConfigMap | config_maps is the list of ConfigMaps found in the project. | 
ListCredentialsRequest
ListCredentialsRequest is the request for listing all credentials in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose credentials will be listed. | 
ListCredentialsResponse
ListCredentialsResponse contains a list of credentials for the specified project.
| Field | Type | Description | 
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the list of Kubernetes Secrets containing the credentials. | 
ListImagesRequest
ListImagesRequest is the request for listing images and their usage across stages.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose images should be listed. | 
ListImagesResponse
ListImagesResponse contains information about images and their usage across stages.
| Field | Type | Description | 
|---|---|---|
| images | ListImagesResponse.ImagesEntry | images maps image repository names to their tags and stage usage information. | 
ListImagesResponse.ImagesEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | TagMap | 
ListProjectEventsRequest
ListProjectEventsRequest is the request for listing events in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose events will be listed. | 
ListProjectEventsResponse
ListProjectEventsResponse contains a list of events for the specified project.
| Field | Type | Description | 
|---|---|---|
| events | k8s.io.api.core.v1.Event | events is the list of Kubernetes Events within the project. | 
ListProjectSecretsRequest
ListProjectSecretsRequest is the request for listing all secrets in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose secrets will be listed. | 
ListProjectSecretsResponse
ListProjectSecretsResponse contains a list of secrets for the specified project.
| Field | Type | Description | 
|---|---|---|
| secrets | k8s.io.api.core.v1.Secret | secrets is the list of Kubernetes Secrets within the project. | 
ListProjectsRequest
ListProjectsRequest is the request for listing all projects with optional filtering and pagination.
| Field | Type | Description | 
|---|---|---|
| page_size | int32 | page_size specifies the maximum number of projects to return per page. | 
| page | int32 | page specifies which page of results to return. | 
| filter | string | filter specifies an optional filter expression for projects. | 
| uid | string | ui store starred projects uids, so it needs to filter it when looking at starred projects | 
ListProjectsResponse
ListProjectsResponse contains the list of projects and pagination information.
| Field | Type | Description | 
|---|---|---|
| projects | github.com.akuity.kargo.api.v1alpha1.Project | projects is the list of Project resources matching the request criteria. | 
| total | int32 | total is the total number of projects available (across all pages). | 
ListPromotionTasksRequest
ListPromotionTasksRequest is the request for listing promotion tasks in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose promotion tasks will be listed. | 
ListPromotionTasksResponse
ListPromotionTasksResponse contains a list of promotion tasks for the specified project.
| Field | Type | Description | 
|---|---|---|
| promotion_tasks | github.com.akuity.kargo.api.v1alpha1.PromotionTask | promotion_tasks is the list of PromotionTask resources within the project. | 
ListPromotionsRequest
ListPromotionsRequest is the request for retrieving all promotions, optionally filtered by stage.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose promotions should be listed. | 
| stage | string | stage is an optional stage name to filter promotions by. | 
ListPromotionsResponse
ListPromotionsResponse contains a list of promotions within a project.
| Field | Type | Description | 
|---|---|---|
| promotions | github.com.akuity.kargo.api.v1alpha1.Promotion | promotions is the list of Promotion resources found in the project. | 
ListRolesRequest
ListRolesRequest is the request for listing all roles in a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose roles will be listed. | 
| as_resources | bool | as_resources indicates whether to return roles as resources or as role objects. | 
ListRolesResponse
ListRolesResponse contains a list of roles for the specified project.
| Field | Type | Description | 
|---|---|---|
| roles | github.com.akuity.kargo.api.rbac.v1alpha1.Role | Note: oneof and repeated do not work together roles is the list of Role resources when requested as roles. | 
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is the list of RoleResources when requested as resources. | 
ListStagesRequest
ListStagesRequest is the request for listing stages within a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose stages should be listed. | 
ListStagesResponse
ListStagesResponse contains a list of stages within a project.
| Field | Type | Description | 
|---|---|---|
| stages | github.com.akuity.kargo.api.v1alpha1.Stage | stages is the list of Stage resources found in the project. | 
ListWarehousesRequest
ListWarehousesRequest is the request for listing warehouses within a project.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project whose warehouses should be listed. | 
ListWarehousesResponse
ListWarehousesResponse contains a list of warehouses within a project.
| Field | Type | Description | 
|---|---|---|
| warehouses | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouses is the list of Warehouse resources found in the project. | 
OIDCConfig
OIDCConfig contains OpenID Connect configuration for authentication.
| Field | Type | Description | 
|---|---|---|
| issuer_url | string | issuer_url is the OIDC provider's issuer URL. | 
| client_id | string | client_id is the OIDC client identifier for web applications. | 
| scopes | string | scopes are the OIDC scopes to request during authentication. | 
| cli_client_id | string | cli_client_id is the OIDC client identifier for CLI applications. | 
PromoteDownstreamRequest
PromoteDownstreamRequest is the request for automatically promoting freight to downstream stages.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the stage and freight. | 
| stage | string | stage is the name of the source stage from which to promote downstream. | 
| freight | string | freight is the name of the freight to promote downstream. | 
| freight_alias | string | freight_alias is the alias of the freight to promote downstream. | 
PromoteDownstreamResponse
PromoteDownstreamResponse contains the promotions created for downstream freight promotions.
| Field | Type | Description | 
|---|---|---|
| promotions | github.com.akuity.kargo.api.v1alpha1.Promotion | promotions are the Promotion resources created for downstream freight promotions. | 
PromoteToStageRequest
PromoteToStageRequest is the request for promoting freight to a specific stage.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the stage and freight. | 
| stage | string | stage is the name of the stage to promote freight to. | 
| freight | string | freight is the name of the freight to promote. | 
| freight_alias | string | freight_alias is the alias of the freight to promote. | 
PromoteToStageResponse
PromoteToStageResponse contains the promotion created for the freight promotion.
| Field | Type | Description | 
|---|---|---|
| promotion | github.com.akuity.kargo.api.v1alpha1.Promotion | promotion is the Promotion resource created for this freight promotion. | 
QueryFreightRequest
QueryFreightRequest is the request for searching freight based on specified criteria.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project to search for freight. | 
| stage | string | stage is the name of the stage to filter freight by. | 
| group_by | string | group_by specifies how to group the freight results. | 
| group | string | group specifies which group to return results for. | 
| order_by | string | order_by specifies how to order the freight results. | 
| reverse | bool | reverse indicates whether to reverse the order of results. | 
| origins | string | origins filters freight by their origins (e.g., warehouse names). | 
QueryFreightResponse
QueryFreightResponse contains the grouped freight search results.
| Field | Type | Description | 
|---|---|---|
| groups | QueryFreightResponse.GroupsEntry | groups maps group names to their corresponding freight lists. | 
QueryFreightResponse.GroupsEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | FreightList | 
RefreshClusterConfigRequest
explicitly empty
RefreshClusterConfigResponse
| Field | Type | Description | 
|---|---|---|
| cluster_config | github.com.akuity.kargo.api.v1alpha1.ClusterConfig | 
RefreshProjectConfigRequest
RefreshProjectConfigRequest is the request for triggering a refresh of project configuration.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project to refresh configuration for. | 
RefreshProjectConfigResponse
RefreshProjectConfigResponse contains the refreshed project configuration.
| Field | Type | Description | 
|---|---|---|
| project_config | github.com.akuity.kargo.api.v1alpha1.ProjectConfig | project_config is the refreshed ProjectConfig object. | 
RefreshStageRequest
RefreshStageRequest is the request for refreshing a stage's status.
| 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 refresh. | 
RefreshStageResponse
RefreshStageResponse contains the refreshed stage information.
| Field | Type | Description | 
|---|---|---|
| stage | github.com.akuity.kargo.api.v1alpha1.Stage | stage is the refreshed Stage resource. | 
RefreshWarehouseRequest
RefreshWarehouseRequest is the request for refreshing a warehouse's status and freight discovery.
| 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 refresh. | 
RefreshWarehouseResponse
RefreshWarehouseResponse contains the refreshed warehouse information.
| Field | Type | Description | 
|---|---|---|
| warehouse | github.com.akuity.kargo.api.v1alpha1.Warehouse | warehouse is the refreshed Warehouse resource. | 
ReverifyRequest
ReverifyRequest is the request for triggering re-execution of 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 to reverify. | 
ReverifyResponse
ReverifyResponse is the response after triggering reverification. explicitly empty
RevokeRequest
RevokeRequest is the request for revoking a role from a user or resource.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project where the role will be revoked. | 
| role | string | role is the name of the role to revoke. | 
| user_claims | Claims | user_claims are the OIDC claims for the user whose role is being revoked. | 
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of the resource whose role is being revoked. | 
RevokeResponse
RevokeResponse contains information about the revoked role.
| Field | Type | Description | 
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Role resource that was revoked. | 
TagMap
TagMap represents the mapping of image tags to stages that have used them.
| Field | Type | Description | 
|---|---|---|
| tags | TagMap.TagsEntry | tags maps image tag names to stages which have previously used that tag. | 
TagMap.TagsEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | ImageStageMap | 
UpdateClusterSecretRequest
UpdateClusterSecretRequest is the request for updating an existing cluster secret.
| Field | Type | Description | 
|---|---|---|
| name | string | name is the name of the cluster secret to update. | 
| data | UpdateClusterSecretRequest.DataEntry | data contains the key-value pairs that make up the secret data. | 
UpdateClusterSecretRequest.DataEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | string | 
UpdateClusterSecretResponse
UpdateClusterSecretResponse contains the updated cluster secret information.
| Field | Type | Description | 
|---|---|---|
| secret | k8s.io.api.core.v1.Secret | secret is the updated cluster-level Kubernetes Secret. | 
UpdateCredentialsRequest
UpdateCredentialsRequest is the request for updating existing 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 update. | 
| 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. | 
UpdateCredentialsResponse
UpdateCredentialsResponse contains the updated credentials information.
| Field | Type | Description | 
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the updated Kubernetes Secret containing the credentials. | 
UpdateFreightAliasRequest
UpdateFreightAliasRequest is the request for updating a freight's alias.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the freight. | 
| name | string | name is the name of the freight whose alias should be updated. | 
| old_alias | string | old_alias is the current alias of the freight. | 
| new_alias | string | new_alias is the new alias to assign to the freight. | 
UpdateFreightAliasResponse
UpdateFreightAliasResponse is the response after updating a freight's alias. explicitly empty
UpdateProjectSecretRequest
UpdateProjectSecretRequest is the request for updating an existing project secret.
| Field | Type | Description | 
|---|---|---|
| project | string | project is the name of the project containing the secret. | 
| name | string | name is the name of the secret to update. | 
| description | string | description is a human-readable description of the secret. | 
| data | UpdateProjectSecretRequest.DataEntry | data contains the key-value pairs that make up the secret data. | 
UpdateProjectSecretRequest.DataEntry
| Field | Type | Description | 
|---|---|---|
| key | string | |
| value | string | 
UpdateProjectSecretResponse
UpdateProjectSecretResponse contains the updated project secret information.
| Field | Type | Description | 
|---|---|---|
| secret | k8s.io.api.core.v1.Secret | secret is the updated Kubernetes Secret within the project. | 
UpdateResourceRequest
UpdateResourceRequest contains Kubernetes resource manifests to be updated.
| Field | Type | Description | 
|---|---|---|
| manifest | bytes | manifest contains the raw Kubernetes resource manifests in YAML or JSON format. | 
UpdateResourceResponse
UpdateResourceResponse contains the results of updating multiple resources.
| Field | Type | Description | 
|---|---|---|
| results | UpdateResourceResult | results contains the outcome for each resource update attempt. | 
UpdateResourceResult
UpdateResourceResult represents the result of attempting to update a single resource.
| Field | Type | Description | 
|---|---|---|
| updated_resource_manifest | bytes | updated_resource_manifest contains the successfully updated resource manifest. | 
| error | string | error contains the error message if resource update failed. |