Movatterモバイル変換


[0]ホーム

URL:


support

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:21Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAgentadded 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"`}

funcAgentInfoadded inv2.10.0

func AgentInfo(ctxcontext.Context, client *codersdk.Client, logslog.Logger, agentIDuuid.UUID)Agent

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.

funcRun

func Run(ctxcontext.Context, d *Deps) (*Bundle,error)

Run generates a support bundle with the given dependencies.

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

func DeploymentInfo(ctxcontext.Context, client *codersdk.Client, logslog.Logger)Deployment

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

typeNetcheckadded inv2.11.0

type Netcheck struct {Report *netcheck.Report `json:"report"`Errorstring           `json:"error"`Logs   []string         `json:"logs"`}

typeNetwork

type Network struct {ConnectionInfoworkspacesdk.AgentConnectionInfoCoordinatorDebugstring                     `json:"coordinator_debug"`Netcheck         *derphealth.Report         `json:"netcheck"`TailnetDebugstring                     `json:"tailnet_debug"`Interfaceshealthsdk.InterfacesReport `json:"interfaces"`}

funcNetworkInfo

func NetworkInfo(ctxcontext.Context, client *codersdk.Client, logslog.Logger)Network

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"`}

funcWorkspaceInfo

func WorkspaceInfo(ctxcontext.Context, client *codersdk.Client, logslog.Logger, workspaceIDuuid.UUID)Workspace

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp