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.

provisionersdk

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:22Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

View Source
const (// MaxMessageSize is the maximum payload size that can be// transported without error.MaxMessageSize = 4 << 20)
View Source
const (// TemplateArchiveLimit represents the maximum size of a template in bytes.TemplateArchiveLimit = 1 << 20)

Variables

This section is empty.

Functions

funcAgentScriptEnv

func AgentScriptEnv() map[string]string

AgentScriptEnv returns a key-pair of scripts that are consumedby the Coder Terraform Provider. See:https://github.com/coder/terraform-provider-coder/blob/main/internal/provider/provider.go#L97

funcDirHasLockfileadded inv0.25.0

func DirHasLockfile(dirstring) (bool,error)

funcMemTransportPipeadded inv0.13.0

func MemTransportPipe() (drpc.Conn,net.Listener)

funcMultiplexedConnadded inv0.13.0

func MultiplexedConn(session *yamux.Session)drpc.Conn

MultiplexedConn returns a multiplexed dRPC connection from a yamux session.

funcProvisionerJobLogsNotifyChanneladded inv0.24.0

func ProvisionerJobLogsNotifyChannel(jobIDuuid.UUID)string

ProvisionerJobLogsNotifyChannel is the PostgreSQL NOTIFY channelto publish updates to job logs on.

funcServe

Serve starts a dRPC connection for the provisioner and transport provided.

funcTar

func Tar(wio.Writer, directorystring, limitint64)error

Tar archives a Terraform directory.

funcUntar

func Untar(directorystring, rio.Reader)error

Untar extracts the archive to a provided directory.

Types

typeProvisionerJobLogsNotifyMessageadded inv0.24.0

type ProvisionerJobLogsNotifyMessage struct {CreatedAfterint64 `json:"created_after"`EndOfLogsbool  `json:"end_of_logs,omitempty"`}

ProvisionerJobLogsNotifyMessage is the payload published onthe provisioner job logs notify channel.

typeServeOptions

type ServeOptions struct {// Conn specifies a custom transport to serve the dRPC connection.Listenernet.Listener}

ServeOptions are configurations to serve a provisioner.

Source Files

View all Source files

Directories

PathSynopsis

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