Skip to main content
Module

x/windmill/mod.ts>VariableApi

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 VariableApi
Re-export
import { VariableApi } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

Constructors

new
VariableApi(
configuration: Configuration,
requestFactory?: VariableApiRequestFactory,
responseProcessor?: VariableApiResponseProcessor,
)

Properties

private
api: ObservableVariableApi

Methods

createVariable(
workspace: string,
createVariable: CreateVariable,
_options?: Configuration,
): Promise<string>

create variable

deleteVariable(
workspace: string,
path: string,
_options?: Configuration,
): Promise<string>

delete variable

existsVariable(
workspace: string,
path: string,
_options?: Configuration,
): Promise<boolean>

does variable exists at path

getVariable(
workspace: string,
path: string,
decryptSecret?: boolean,
_options?: Configuration,
): Promise<ListableVariable>

get variable

listContextualVariables(workspace: string, _options?: Configuration): Promise<Array<ContextualVariable>>

list contextual variables

listVariable(workspace: string, _options?: Configuration): Promise<Array<ListableVariable>>

list variables

updateVariable(
workspace: string,
path: string,
editVariable: EditVariable,
_options?: Configuration,
): Promise<string>

update variable