ui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MPL-2.0 Imports: 47 Imported by: 0

Documentation

Overview

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

templ: version: v0.3.943

Index

Constants

View Source
const (
	EventLogChunk    sseEvent = "log_update"
	EventLogFinished sseEvent = "log_finished"
)
View Source
const (

	//
	// VCS trigger strategies to present to the user.
	//
	// every vcs event trigger runs
	VCSTriggerAlways string = "always"
	// only vcs events with changed files matching a set of glob patterns
	// triggers run
	VCSTriggerPatterns string = "patterns"
	// only push tag vcs events trigger runs
	VCSTriggerTags string = "tags"
)

Variables

This section is empty.

Functions

func ConnectionSteps

func ConnectionSteps(current ConnectionStep) templ.Component

func Icon

func Icon() templ.Component

func RepoURL

func RepoURL(provider *vcs.Provider, repo vcs.Repo) templ.SafeURL
func WorkspaceHeaderLinks(workspaceID resource.TfeID, canUpdate bool) templ.Component

Types

type ConnectionStep

type ConnectionStep int
const (
	ConnectStep ConnectionStep = iota
	SelectRepoStep
)

steps for connecting a workspace/module to repo

type Handlers

type Handlers struct {
	Logger                       logr.Logger
	Runs                         *run.Service
	Workspaces                   *workspace.Service
	Users                        *user.Service
	Teams                        *team.Service
	Organizations                *organization.Service
	Modules                      *module.Service
	VCSProviders                 *vcs.Service
	State                        *state.Service
	Runners                      *runner.Service
	GithubApp                    *github.Service
	EngineService                *engine.Service
	Configs                      *configversion.Service
	HostnameService              *internal.HostnameService
	Tokens                       *tokens.Service
	Authorizer                   *authz.Authorizer
	AuthenticatorService         *authenticator.Service
	VariablesService             *variable.Service
	GithubHostname               *internal.WebURL
	SkipTLSVerification          bool
	SiteToken                    string
	RestrictOrganizationCreation bool
}

Handlers registers all UI handlers

func (*Handlers) AddHandlers

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

AddHandlers registers all UI handlers with the router

type ReposTable

type ReposTable struct {
	Actions func(repo vcs.Repo) templ.Component
}

func (ReposTable) Header

func (t ReposTable) Header() templ.Component

func (ReposTable) Row

func (t ReposTable) Row(repo vcs.Repo) templ.Component

Jump to

Keyboard shortcuts

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