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.

echo

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

View Source
var (// ParseComplete is a helper to indicate an empty parse completion.ParseComplete = []*proto.Parse_Response{{Type: &proto.Parse_Response_Complete{Complete: &proto.Parse_Complete{},},}}// ProvisionComplete is a helper to indicate an empty provision completion.ProvisionComplete = []*proto.Provision_Response{{Type: &proto.Provision_Response_Complete{Complete: &proto.Provision_Complete{},},}}// ProvisionFailed is a helper to convey a failed provision// operation.ProvisionFailed = []*proto.Provision_Response{{Type: &proto.Provision_Response_Complete{Complete: &proto.Provision_Complete{Error: "failed!",},},}})

Functions

funcProvisionApplyWithAgentadded inv0.20.0

func ProvisionApplyWithAgent(authTokenstring) []*proto.Provision_Response

ProvisionApplyWithAgent returns provision responses that will mock a fake"aws_instance" resource with an agent that has the given auth token.

funcServe

func Serve(ctxcontext.Context, filesystemafero.Fs, options *provisionersdk.ServeOptions)error

Serve starts the echo provisioner.

funcTar

func Tar(responses *Responses) ([]byte,error)

Tar returns a tar archive of responses to provisioner operations.

Types

typeResponses

type Responses struct {Parse          []*proto.Parse_ResponseProvisionApply []*proto.Provision_ResponseProvisionPlan  []*proto.Provision_Response}

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