API Documentation
service/v1alpha1
Stability is not guaranteed.
AbortPromotionRequest
AbortPromotionRequest is the request for canceling a running promotion process.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the promotion. |
| name | string | name is the name of the promotion to abort. |
AbortPromotionResponse
AbortPromotionResponse is the response after aborting a promotion. explicitly empty
AbortVerificationRequest
AbortVerificationRequest is the request for canceling running verification processes for a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the stage. |
| stage | string | stage is the name of the stage whose verification should be aborted. |
AbortVerificationResponse
AbortVerificationResponse is the response after aborting verification. explicitly empty
AdminLoginRequest
AdminLoginRequest contains credentials for admin authentication.
| Field | Type | Description |
|---|---|---|
| password | string | password is the admin password. |
AdminLoginResponse
AdminLoginResponse contains the authentication token for admin access.
| Field | Type | Description |
|---|---|---|
| id_token | string | id_token is the JWT token for authenticated admin access. |
ApproveFreightRequest
ApproveFreightRequest is the request for approving freight for promotion to a stage.
| Field | Type | Description |
|---|---|---|
| project | string | project is the name of the project containing the freight. |
| name | string | name is the name of the freight to approve. |
| alias | string | alias is the alias of the freight to approve. |
| stage | string | stage is the name of the stage for which to approve the freight. |
ApproveFreightResponse
ApproveFreightResponse is the response after approving freight. explicitly empty
ArgoCDShard
ArgoCDShard represents configuration for a specific ArgoCD shard.
| Field | Type | Description |
|---|---|---|
| url | string | url is the base URL of the ArgoCD server. |
| namespace | string | namespace is the Kubernetes namespace where ArgoCD is installed. |
Claims
Claims represents a collection of OIDC claims.
| Field | Type | Description |
|---|---|---|
| claims | github.com.akuity.kargo.api.rbac.v1alpha1.Claim | Note: oneof and repeated do not work together claims is a list of OIDC claims. |
ComponentVersions
ComponentVersions contains version information for different Kargo components.
| Field | Type | Description |
|---|---|---|
| server | VersionInfo | server contains version information for the Kargo server. |
| cli | VersionInfo | cli contains version information for the Kargo CLI. |
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 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. |
CreateServiceAccountRequest
CreateServiceAccountRequest is a request to create a new Kargo ServiceAccount resource.
| Field | Type | Description |
|---|---|---|
| service_account | k8s.io.api.core.v1.ServiceAccount | service_account is the Kargo ServiceAccount to create. |
CreateServiceAccountResponse
CreateServiceAccountResponse contains the details of a newly created Kargo ServiceAccount resource.
| Field | Type | Description |
|---|---|---|
| service_account | k8s.io.api.core.v1.ServiceAccount | service_account is the newly created Kargo ServiceAccount resource. |
CreateServiceAccountTokenRequest
CreateServiceAccountTokenRequest is a request to generate a new bearer token associated with a specified Kargo ServiceAccount.
| Field | Type | Description |
|---|---|---|
| system_level | bool | system_level indicates whether the request is to create a token associated with a system-level Kargo Service Account instead of one at the project-level. |
| project | string | project is the name of the project containing the Kargo ServiceAccount resource for which a new token is being created. This value is ignored if system_level is true. |
| service_account_name | string | service_account_name is the name of the Kargo ServiceAccount for which to generate a new bearer token. |
| name | string | name is the name for the bearer token to be created. |
CreateServiceAccountTokenResponse
CreateServiceAccountTokenResponse 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. |
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. |