Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/mod.ts>VariableService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class VariableService
Re-export
import { VariableService } from "https://deno.land/x/windmill@v1.323.3/mod.ts";

Static Methods

createVariable(unnamed 0: { workspace: string; requestBody: CreateVariable; alreadyEncrypted?: boolean; }): CancelablePromise<string>

create variable

deleteVariable(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

delete variable

encryptValue(unnamed 0: { workspace: string; requestBody: string; }): CancelablePromise<string>

encrypt value

existsVariable(unnamed 0: { workspace: string; path: string; }): CancelablePromise<boolean>

does variable exists at path

getVariable(unnamed 0: { workspace: string; path: string; decryptSecret?: boolean; includeEncrypted?: boolean; }): CancelablePromise<ListableVariable>

get variable

getVariableValue(unnamed 0: { workspace: string; path: string; }): CancelablePromise<string>

get variable value

listContextualVariables(unnamed 0: { workspace: string; }): CancelablePromise<Array<ContextualVariable>>

list contextual variables

listVariable(unnamed 0: { workspace: string; }): CancelablePromise<Array<ListableVariable>>

list variables

updateVariable(unnamed 0: { workspace: string; path: string; requestBody: EditVariable; alreadyEncrypted?: boolean; }): CancelablePromise<string>

update variable