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
- func ConnectionSteps(current ConnectionStep) templ.Component
- func Icon() templ.Component
- func RepoURL(provider *vcs.Provider, repo vcs.Repo) templ.SafeURL
- func WorkspaceHeaderLinks(workspaceID resource.TfeID, canUpdate bool) templ.Component
- type ConnectionStep
- type Handlers
- type ReposTable
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
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 ¶
AddHandlers registers all UI handlers with the router
Source Files
¶
- connections_templ.go
- github.go
- github_view_templ.go
- handlers.go
- module.go
- module_view_templ.go
- organization.go
- organization_view_templ.go
- run.go
- run_cache.go
- run_view_templ.go
- runner.go
- runner_view_templ.go
- sse_connection.go
- state.go
- state_view_templ.go
- team.go
- team_view_templ.go
- uitlab_view_templ.go
- user.go
- user_login.go
- user_login_templ.go
- user_view_templ.go
- variable.go
- variable_view_templ.go
- vcs.go
- vcs_view_templ.go
- workspace.go
- workspace_helpers.go
- workspace_tags.go
- workspace_view_templ.go
Click to show internal directories.
Click to hide internal directories.