workspaceupdates
package v2.28.4
Go to latest Published: Nov 27, 2025 License:AGPL-3.0
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:21 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
View Source
const (WorkspaceUpdatesLatencyMetric = "workspace_updates_latency_seconds")Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeConfig¶
type Config struct {// User is the configuration for the user to create.Usercreateusers.Config `json:"user"`// Workspace is the configuration for the workspace to create. The workspace// will be built using the new user.//// OrganizationID is ignored and set to the new user's organization ID.Workspaceworkspacebuild.Config `json:"workspace"`// WorkspaceCount is the number of workspaces to create.WorkspaceCountint64 `json:"power_user_workspaces"`// WorkspaceUpdatesTimeout is how long to wait for all expected workspace updates.WorkspaceUpdatesTimeouttime.Duration `json:"workspace_updates_timeout"`// DialTimeout is how long to wait to successfully dial the Coder Connect// endpoint.DialTimeouttime.Duration `json:"dial_timeout"`Metrics *Metrics `json:"-"`// DialBarrier is used to ensure all runners have dialed the Coder Connect// endpoint before creating their workspace(s).DialBarrier *sync.WaitGroup `json:"-"`}typeMetrics¶
type Metrics struct {WorkspaceUpdatesLatencySecondsprometheus.HistogramVecWorkspaceUpdatesErrorsTotalprometheus.CounterVec}funcNewMetrics¶
func NewMetrics(regprometheus.Registerer) *Metrics
Click to show internal directories.
Click to hide internal directories.