ui

package
v0.5.24 Latest Latest
Warning

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

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

Documentation

Overview

templ: version: v0.3.1001

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CreateRunTrigger(ctx context.Context, workspaceID, triggeringWorkspaceID resource.TfeID) (*trigger.Trigger, error)
	ListRunTriggers(ctx context.Context, opts trigger.ListOptions) ([]*trigger.Trigger, error)
	GetRunTrigger(ctx context.Context, triggerID resource.TfeID) (*trigger.Trigger, error)
	DeleteRunTrigger(ctx context.Context, triggerID resource.TfeID) error
	ListWorkspaces(ctx context.Context, opts workspace.ListOptions) (*resource.Page[*workspace.Workspace], error)
	GetWorkspace(context.Context, resource.TfeID) (*workspace.Workspace, error)
	UpdateWorkspace(ctx context.Context, workspaceID resource.TfeID, opts workspace.UpdateOptions) (*workspace.Workspace, error)
}

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func NewHandlers

func NewHandlers(
	logger logr.Logger,
	client Client,
	authorizer authz.Interface,
) *Handlers

func (*Handlers) AddHandlers

func (h *Handlers) AddHandlers(r *mux.Router)

Jump to

Keyboard shortcuts

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