gRPC API Documentation (Deprecated)
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. |
CreateConfigMapRequest
CreateConfigMapRequest is the request for creating a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project where the ConfigMap will be created. If empty and system_level is false, creates the ConfigMap in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to create. |
| description | string | description is a human-readable description of the ConfigMap. |
| data | CreateConfigMapRequest.DataEntry | data contains the key-value pairs that make up the ConfigMap. |
CreateConfigMapRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
CreateConfigMapResponse
CreateConfigMapResponse is the response containing the ConfigMap that was created.
| Field | Type | Description |
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the ConfigMap that was created. |
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
DeleteConfigMapRequest
DeleteConfigMapRequest is the request for deleting a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to delete a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project in which to delete a ConfigMap. If empty and system_level is false, deletes a shared ConfigMap. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to delete. |
DeleteConfigMapResponse
DeleteConfigMapResponse is the response returned after deleting a ConfigMap. 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. If project is left empty, it will default to the "shared resources" namespace. |
| 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). |
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 getting a specific project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to get a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project in which to get the ConfigMap. If empty and system_level is false, gets a shared ConfigMap. This value is ignored if system_level is true. |
| 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.
| 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. |
| system_resources_namespace | string | system_resources_namespace is the namespace used for "cluster-scoped" system 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 |
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. |
GetRepoCredentialsRequest
GetRepoCredentialsRequest is the request for retrieving 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 retrieve. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML). |
GetRepoCredentialsResponse
GetRepoCredentialsResponse contains the requested repository 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. |
GetRoleRequest
GetRoleRequest is a request to retrieve the details of a Kargo Role virtual resource or its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to retrieve a system-level role instead of a project-level one. |
| project | string | project is the name of the project containing the Kargo Role to be retrieved. |
| name | string | name is the name of the Kargo Role to retrieve. |
| as_resources | bool | as_resources indicates whether to return the Kargo Role's underlying Kubernetes resources instead of the Kargo Role virtual resource. |
| format | RawFormat | format specifies the desired response format (structured object or raw YAML or JSON). |
GetRoleResponse
GetRoleResponse contains the details of a Kargo Role virtual resource or its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is a structured Kargo Role virtual resource. |
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is a structured RoleResources object encapsulating the Kargo Role's underlying Kubernetes resources. |
| raw | bytes | raw is a raw YAML or JSON representation of the requested resource(s). |
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 a request to assign permissions to a Kargo Role virtual resource or to bind users having specific ODIC claims to a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role that is the subject of the grant. |
| role | string | role is the name of the Kargo Role that is the subject of the grant. |
| user_claims | Claims | user_claims are OIDC claims to which the Kargo Role should be mapped. |
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of permissions to be granted to the Kargo Role. |
GrantResponse
GrantResponse contains the details of a Kargo Role virtual resource after a new grant.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role that was the subject of the grant. |
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 |
ListAPITokensRequest
ListAPITokensRequest is a request to list bearer tokens associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether to list tokens associated with system-level Kargo Role virtual resources instead of ones at the project-level. |
| project | string | project is the name of the project containing the tokens. |
| role_name | string | role_name is the name of the Kargo Role virtual resource for which to list associated tokens. |
ListAPITokensResponse
ListAPITokensResponse contains a list of bearer tokens associated with a specified Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| token_secrets | k8s.io.api.core.v1.Secret | token_secrets is the list of Kubernetes Secrets containing redacted tokens associated with a Kargo Role virtual resource. |
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. |
ListConfigMapsRequest
ListConfigMapsRequest is the request for listing all project-level, system-level, or shared ConfigMaps.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list system-level ConfigMaps instead of project-level or shared ones. |
| project | string | project is the name of the project in which to list ConfigMaps. If empty and system_level is false, lists shared ConfigMaps. This value is ignored if system_level is true. |
ListConfigMapsResponse
ListConfigMapsResponse contains the list of ConfigMaps.
| Field | Type | Description |
|---|---|---|
| config_maps | k8s.io.api.core.v1.ConfigMap | config_maps is the list of ConfigMaps. |
ListGenericCredentialsRequest
ListGenericCredentialsRequest is the request for listing all generic credentials in a project, shared namespace, or system namespace.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list generic credentials from the system-level namespace instead of a project-level or shared namespace. |
| project | string | project is the name of the project whose generic credentials will be listed. If empty and system_level is false, lists generic credentials from the shared resources namespace. This value is ignored if system_level is true. |
ListGenericCredentialsResponse
ListGenericCredentialsResponse contains a list of generic credentials for the specified project.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the list of Kubernetes Secrets containing generic credentials within the project. |
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. |
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 |
| mine | bool | When true, filter results to only projects where the authenticated user has been mapped to a ServiceAccount in the project's namespace. |
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. |
ListRepoCredentialsRequest
ListRepoCredentialsRequest is the request for listing all repository credentials in a project.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose credentials will be listed. |
ListRepoCredentialsResponse
ListRepoCredentialsResponse contains a list of repository 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. |
ListRolesRequest
ListRolesRequests is a request to retrieve the details of all Kargo Role virtual resources or their underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to list system-level roles instead of project-level roles. |
| project | string | project is the name of the project for which to list all Kargo Roles. |
| as_resources | bool | as_resources indicates whether to return each Kargo Role's underlying Kubernetes resources instead of the Kargo Role virtual resource(s). |
ListRolesResponse
ListRolesResponse contains a list of Kargo Role virtual resources or their underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| roles | github.com.akuity.kargo.api.rbac.v1alpha1.Role | Note: oneof and repeated do not work together roles is a list of Kargo Role virtual resources. |
| resources | github.com.akuity.kargo.api.rbac.v1alpha1.RoleResources | resources is a list of RoleResource objects encapsulating the Kargo Roles' underlying Kubernetes 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 |
RefreshResourceRequest
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the object to refresh. leave blank if refreshing a cluster-config. |
| name | string | name is the name of the object to refresh. leave blank if refreshing a project or cluster config. |
| resource_type | string | resource_type is the kind of resource to refresh. should be one of: ProjectConfig, ClusterConfig, Warehouse, or Stage. |
RefreshResourceResponse
| Field | Type | Description |
|---|---|---|
| resource | google.protobuf.Any |
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 a request to remove permissions from a Kargo Role virtual resource or to unbind users having specific OIDC claims from a Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the Kargo Role that is the subject of the revocation. |
| role | string | role is the name of the Kargo Role that is the subject of the revocation. |
| user_claims | Claims | user_claims are OIDC claims from which the Kargo Role virtual resource will be unmapped. |
| resource_details | github.com.akuity.kargo.api.rbac.v1alpha1.ResourceDetails | resource_details are the details of permissions to be revoked from the Kargo Role. |
RevokeResponse
RevokeResponse contains the details of a Kargo Role virtual resource after a revocation.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource that was the subject of the revocation. |
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 |
UpdateConfigMapRequest
UpdateConfigMapRequest is the request for updating a project-level, system-level, or shared ConfigMap.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to update a system-level ConfigMap instead of a project-level or shared one. |
| project | string | project is the name of the project containing the ConfigMap to be updated. If empty and system_level is false, updates the ConfigMap in the shared resources namespace. This value is ignored if system_level is true. |
| name | string | name is the name of the ConfigMap to be updated. |
| description | string | description is a human-readable description of the ConfigMap. |
| data | UpdateConfigMapRequest.DataEntry | data contains the key-value pairs that make up the ConfigMap. |
UpdateConfigMapRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
UpdateConfigMapResponse
UpdateConfigMapResponse is the response containing the updated ConfigMap.
| Field | Type | Description |
|---|---|---|
| config_map | k8s.io.api.core.v1.ConfigMap | config_map is the updated ConfigMap. |
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
UpdateGenericCredentialsRequest
UpdateGenericCredentialsRequest is the request for updating existing generic credentials.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to update generic credentials in 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, updates 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 update. |
| description | string | description is a human-readable description of the generic credentials. |
| data | UpdateGenericCredentialsRequest.DataEntry | data contains the key-value pairs that make up the generic credentials data. |
UpdateGenericCredentialsRequest.DataEntry
| Field | Type | Description |
|---|---|---|
| key | string | |
| value | string |
UpdateGenericCredentialsResponse
UpdateGenericCredentialsResponse contains the updated generic credentials information.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the updated Kubernetes Secret containing generic credentials within the project. |
UpdateRepoCredentialsRequest
UpdateRepoCredentialsRequest is the request for updating 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 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. |
UpdateRepoCredentialsResponse
UpdateRepoCredentialsResponse contains the updated repository credentials information.
| Field | Type | Description |
|---|---|---|
| credentials | k8s.io.api.core.v1.Secret | credentials is the updated Kubernetes Secret containing the credentials. |
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. |
UpdateRoleRequest
UpdateRoleRequest is a request to modify an existing Kargo Role virtual resource by updating its underlying Kubernetes resources.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the Kargo Role virtual resource to update. |
UpdateRoleResponse
UpdateRoleResponse contains the details of the updated Kargo Role virtual resource.
| Field | Type | Description |
|---|---|---|
| role | github.com.akuity.kargo.api.rbac.v1alpha1.Role | role is the updated Kargo Role virtual resource. |
VersionInfo
VersionInfo contains detailed version and build information for a Kargo component.
| Field | Type | Description |
|---|---|---|
| version | string | version is the semantic version string. |
| git_commit | string | git_commit is the Git commit hash used for the build. |
| git_tree_dirty | bool | git_tree_dirty indicates whether the Git working tree was dirty during build. |
| build_time | google.protobuf.Timestamp | build_time is the timestamp when the build was created. |
| go_version | string | go_version is the Go version used for the build. |
| compiler | string | compiler is the compiler used for the build. |
| platform | string | platform is the target platform for the build. |
WatchClusterConfigRequest
explicitly empty
WatchClusterConfigResponse
| Field | Type | Description |
|---|---|---|
| cluster_config | github.com.akuity.kargo.api.v1alpha1.ClusterConfig | |
| type | string | ADDED / MODIFIED / DELETED |
WatchFreightRequest
WatchFreightRequest is the request for watching freight changes via streaming.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project whose freight should be watched. |