windmill

package module
v1.886.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 9 Imported by: 6 modules, 7 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

windmill-go-client

Go client for the windmill platform.

Import

Import user-friendly client:

import wmill "github.com/windmill-labs/windmill-go-client"

Import full api from the autogenerated openapi client:

import api "github.com/windmill-labs/windmill-go-client/api"

Usage

a, _ := wmill.GetResource("u/ruben-user/test")
a, _ := wmill.GetVariable("u/ruben-user/test")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResource

func GetResource(path string) (interface{}, error)

func GetState added in v1.48.2

func GetState(pathOpt ...string) (interface{}, error)

func GetStatePath added in v1.48.2

func GetStatePath() string

func GetVariable

func GetVariable(path string) (string, error)

func SetResource added in v1.48.2

func SetResource(path string, value interface{}, resourceTypeOpt ...string) error

func SetState added in v1.48.2

func SetState(state interface{}, pathOpt ...string) error

func SetVariable added in v1.48.2

func SetVariable(path string, value string) error

Types

type ClientWithWorkspace

type ClientWithWorkspace struct {
	Client    *api.ClientWithResponses
	Workspace string
}

func GetClient

func GetClient() (ClientWithWorkspace, error)

type ResumeUrls added in v1.337.0

type ResumeUrls struct {
	ApprovalPage string `json:"approvalPage"`
	Cancel       string `json:"cancel"`
	Resume       string `json:"resume"`
}

func GetResumeUrls added in v1.337.0

func GetResumeUrls(approver string) (ResumeUrls, error)

Directories

Path Synopsis
Package windmill_api provides primitives to interact with the openapi HTTP API.
Package windmill_api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL