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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const IncludeSourceable tfeapi.IncludeName = "sourceable"

Variables

This section is empty.

Functions

This section is empty.

Types

type TFEAPI

type TFEAPI struct {
	*tfeapi.Responder
	Client     tfeClient
	Authorizer *authz.Authorizer
}

func NewTFEAPI

func NewTFEAPI(
	client tfeClient,
	authorizer *authz.Authorizer,
	responder *tfeapi.Responder,
) *TFEAPI

func (*TFEAPI) AddHandlers

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

type TFERunTrigger

type TFERunTrigger struct {
	ID         resource.TfeID          `jsonapi:"primary,run-triggers"`
	CreatedAt  time.Time               `jsonapi:"attribute" json:"created-at"`
	Workspace  *workspace.TFEWorkspace `jsonapi:"relationship" json:"workspace"`
	Sourceable *workspace.TFEWorkspace `jsonapi:"relationship" json:"sourceable"`
}

TFERunTrigger represents a run trigger in the TFE API.

Jump to

Keyboard shortcuts

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