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.

provisionerd

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

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcIsMissingParameterErrorCodeadded inv0.19.0

func IsMissingParameterErrorCode(codestring)bool

IsMissingParameterErrorCode returns whether the error is a missing parameter error.This can indicate to consumers that they should check parameters.

Types

typeDialer

Dialer represents the function to create a daemon client connection.

typeMetricsadded inv0.12.3

type Metrics struct {Runnerrunner.Metrics}

funcNewMetricsadded inv0.12.3

func NewMetrics(regprometheus.Registerer)Metrics

typeOptions

type Options struct {Filesystemafero.FsLoggerslog.LoggerTracerProvidertrace.TracerProviderMetrics        *MetricsForceCancelIntervaltime.DurationUpdateIntervaltime.DurationLogBufferIntervaltime.DurationJobPollIntervaltime.DurationJobPollJittertime.DurationJobPollDebouncetime.DurationProvisionersProvisioners// WorkDirectory must not be used by multiple processes at once.WorkDirectorystring}

Options provides customizations to the behavior of a provisioner daemon.

typeProvisioners

type Provisioners map[string]sdkproto.DRPCProvisionerClient

Provisioners maps provisioner ID to implementation.

typeServer

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

funcNew

func New(clientDialerDialer, opts *Options) *Server

New creates and starts a provisioner daemon.

func (*Server)Close

func (p *Server) Close()error

Close ends the provisioner. It will mark any running jobs as failed.

func (*Server)CommitQuotaadded inv0.12.7

func (*Server)CompleteJobadded inv0.7.7

func (p *Server) CompleteJob(ctxcontext.Context, in *proto.CompletedJob)error

func (*Server)FailJobadded inv0.7.7

func (p *Server) FailJob(ctxcontext.Context, in *proto.FailedJob)error

func (*Server)Shutdown

func (p *Server) Shutdown(ctxcontext.Context)error

Shutdown triggers a graceful exit of each registered provisioner.It exits when an active job stops.

func (*Server)UpdateJobadded inv0.7.7

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