support
package v2.23.0
Go to latest Published: Jun 3, 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¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAgent¶added inv2.10.0
type Agent struct {Agent *codersdk.WorkspaceAgent `json:"agent"`ConnectionInfo *workspacesdk.AgentConnectionInfo `json:"connection_info"`ListeningPorts *codersdk.WorkspaceAgentListeningPortsResponse `json:"listening_ports"`Logs []byte `json:"logs"`ClientMagicsockHTML []byte `json:"client_magicsock_html"`AgentMagicsockHTML []byte `json:"agent_magicsock_html"`Manifest *agentsdk.Manifest `json:"manifest"`PeerDiagnostics *tailnet.PeerDiagnostics `json:"peer_diagnostics"`PingResult *ipnstate.PingResult `json:"ping_result"`Prometheus []byte `json:"prometheus"`StartupLogs []codersdk.WorkspaceAgentLog `json:"startup_logs"`}
typeBundle¶
type Bundle struct {DeploymentDeployment `json:"deployment"`NetworkNetwork `json:"network"`WorkspaceWorkspace `json:"workspace"`AgentAgent `json:"agent"`Logs []string `json:"logs"`CLILogs []byte `json:"cli_logs"`}
Bundle is a set of information discovered about a deployment.Even though we do attempt to sanitize data, it may still containsensitive information and should thus be treated as secret.
typeDeployment¶
type Deployment struct {BuildInfo *codersdk.BuildInfoResponse `json:"build"`Config *codersdk.DeploymentConfig `json:"config"`Experimentscodersdk.Experiments `json:"experiments"`HealthReport *healthsdk.HealthcheckReport `json:"health_report"`}
funcDeploymentInfo¶
typeDeps¶
type Deps struct {// Source from which to obtain information.Client *codersdk.Client// Log is where to log any informational or warning messages.Logslog.Logger// WorkspaceID is the optional workspace against which to run connection tests.WorkspaceIDuuid.UUID// AgentID is the optional agent ID against which to run connection tests.// Defaults to the first agent of the workspace, if not specified.AgentIDuuid.UUID}
Deps is a set of dependencies for discovering information
typeNetwork¶
type Network struct {ConnectionInfoworkspacesdk.AgentConnectionInfoCoordinatorDebugstring `json:"coordinator_debug"`Netcheck *derphealth.Report `json:"netcheck"`TailnetDebugstring `json:"tailnet_debug"`Interfaceshealthsdk.InterfacesReport `json:"interfaces"`}
typeWorkspace¶
type Workspace struct {Workspacecodersdk.Workspace `json:"workspace"`Parameters []codersdk.WorkspaceBuildParameter `json:"parameters"`Templatecodersdk.Template `json:"template"`TemplateVersioncodersdk.TemplateVersion `json:"template_version"`TemplateFileBase64string `json:"template_file_base64"`BuildLogs []codersdk.ProvisionerJobLog `json:"build_logs"`}
Click to show internal directories.
Click to hide internal directories.