Skip to main content

Module variables

Module variables 

Source
Expand description

DTOs for the variables API.

Variables are plaintext key-value pairs for template substitution in deployment specs. Unlike secrets, variable values are NOT encrypted and are fully visible in API responses.

Variables can be global (scope = None) or project-scoped (scope = Some(project_id)).

Structs§

CreateVariableRequest
Body for POST /api/v1/variables.
ListVariablesQuery
Query for GET /api/v1/variables.
UpdateVariableRequest
Body for PATCH /api/v1/variables/{id}. All fields are optional.