api

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	*tfeapi.Responder
	Client apiClient
}

func (*API) AddHandlers

func (a *API) AddHandlers(r *mux.Router)

type Client

type Client struct {
	*otfhttp.Client
}

func (*Client) ListEffectiveVariables

func (c *Client) ListEffectiveVariables(ctx context.Context, runID resource.TfeID) ([]*variable.Variable, error)

type TFEAPI

type TFEAPI struct {
	*tfeapi.Responder
	Client tfeClient
}

Implements TFC workspace variables and variable set APIs:

https://developer.hashicorp.com/terraform/cloud-docs/api-docs/workspace-variables https://developer.hashicorp.com/terraform/cloud-docs/api-docs/variable-sets

func (*TFEAPI) AddHandlers

func (a *TFEAPI) AddHandlers(r *mux.Router)

type VariableClient

type VariableClient = Client

Alias client to permit embedding it with other clients in a struct without a name clash.

Jump to

Keyboard shortcuts

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