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: 11 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 {
	Client apiClient
}

func (*API) AddHandlers

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

type Client

type Client struct {
	*otfhttp.Client
}

Client is an HTTP client for the SSH key API, used by agent runners.

func (*Client) GetSSHKeyPrivateKey

func (c *Client) GetSSHKeyPrivateKey(ctx context.Context, id resource.TfeID) ([]byte, error)

type SSHKeyClient

type SSHKeyClient = Client

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

type TFEAPI

type TFEAPI struct {
	*tfeapi.Responder
	Client tfeClient
}

func (*TFEAPI) AddHandlers

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

Jump to

Keyboard shortcuts

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