Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Notice  The highest tagged major version isv2.

workspacebuild

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:13Imported 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

typeCleanupRunner

type CleanupRunner struct {// contains filtered or unexported fields}

CleanupRunner is a runner that deletes a workspace in the Run phase.

funcNewCleanupRunner

func NewCleanupRunner(client *codersdk.Client, workspaceIDuuid.UUID) *CleanupRunner

func (*CleanupRunner)Run

Run implements Runnable.

typeConfig

type Config struct {// OrganizationID is the ID of the organization to create the workspace in.OrganizationIDuuid.UUID `json:"organization_id"`// UserID is the ID of the user to run the test as.UserIDstring `json:"user_id"`// Request is the request to send to the Coder API to create the workspace.// request.template_id must be set. A name will be generated if not// specified.Requestcodersdk.CreateWorkspaceRequest `json:"request"`// NoWaitForAgents determines whether the test should wait for the workspace// agents to connect before returning.NoWaitForAgentsbool `json:"no_wait_for_agents"`}

func (Config)Validate

func (cConfig) Validate()error

typeRunner

type Runner struct {// contains filtered or unexported fields}

funcNewRunner

func NewRunner(client *codersdk.Client, cfgConfig) *Runner

func (*Runner)Cleanup

func (r *Runner) Cleanup(ctxcontext.Context, idstring)error

Cleanup implements Cleanable by wrapping CleanupRunner.

func (*Runner)Run

func (r *Runner) Run(ctxcontext.Context, _string, logsio.Writer)error

Run implements Runnable.

func (*Runner)WorkspaceID

func (r *Runner) WorkspaceID() (uuid.UUID,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