client

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package client provides remote access to the OTF API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*otfhttp.Client

	Organizations *organization.Client
	Workspaces    *workspace.Client
	Runs          *run.Client
	Teams         *team.Client
	Users         *user.Client
	States        *state.Client
	Configs       *configversion.Client
	Variables     *variable.Client
	Runners       *runner.Client
}

func New

func New(config otfhttp.ClientConfig) (*Client, error)

func (*Client) UseToken added in v0.5.1

func (c *Client) UseToken(token string) *Client

UseToken returns a shallow copy of the client with a different auth token.

Jump to

Keyboard shortcuts

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