Movatterモバイル変換


[0]ホーム

URL:


Alert  Affected byGO-2024-3228 and 2 other vulnerabilities
Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Alert GO-2025-3921: Coder accepts an APIKey beyond the linked OIDC expiry if there is no refresh token in github.com/coder/coder
Alert GO-2025-3938: Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder
Notice  The highest tagged major version isv2.

agenttest

package
v0.27.3Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License:AGPL-3.0Imports:12Imported 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

typeClient

type Client struct {LastWorkspaceAgent   func()PatchWorkspaceLogs   func()errorGetServiceBannerFunc func() (codersdk.ServiceBannerConfig,error)// contains filtered or unexported fields}

funcNewClient

func NewClient(ttesting.TB,loggerslog.Logger,agentIDuuid.UUID,manifestagentsdk.Manifest,statsChan chan *agentsdk.Stats,coordinatortailnet.Coordinator,) *Client

func (*Client)GetLifecycleStates

func (c *Client) GetLifecycleStates() []codersdk.WorkspaceAgentLifecycle

func (*Client)GetMetadata

func (c *Client) GetMetadata() map[string]agentsdk.PostMetadataRequest

func (*Client)GetServiceBanner

func (c *Client) GetServiceBanner(ctxcontext.Context) (codersdk.ServiceBannerConfig,error)

func (*Client)GetStartup

func (c *Client) GetStartup()agentsdk.PostStartupRequest

func (*Client)GetStartupLogs

func (c *Client) GetStartupLogs() []agentsdk.StartupLog

func (*Client)Listen

func (c *Client) Listen(_context.Context) (net.Conn,error)

func (*Client)Manifest

func (c *Client) Manifest(_context.Context) (agentsdk.Manifest,error)

func (*Client)PatchStartupLogs

func (c *Client) PatchStartupLogs(ctxcontext.Context, logsagentsdk.PatchStartupLogs)error

func (*Client)PostAppHealth

func (c *Client) PostAppHealth(ctxcontext.Context, reqagentsdk.PostAppHealthsRequest)error

func (*Client)PostLifecycle

func (c *Client) PostLifecycle(ctxcontext.Context, reqagentsdk.PostLifecycleRequest)error

func (*Client)PostMetadata

func (c *Client) PostMetadata(ctxcontext.Context, keystring, reqagentsdk.PostMetadataRequest)error

func (*Client)PostStartup

func (c *Client) PostStartup(ctxcontext.Context, startupagentsdk.PostStartupRequest)error

func (*Client)ReportStats

func (c *Client) ReportStats(ctxcontext.Context, _slog.Logger, statsChan <-chan *agentsdk.Stats, setInterval func(time.Duration)) (io.Closer,error)

func (*Client)SetServiceBannerFunc

func (c *Client) SetServiceBannerFunc(f func() (codersdk.ServiceBannerConfig,error))

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