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.

autobuild

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

Details

Repository

github.com/coder/coder

Links

Documentation

Overview

Package autobuild contains logic for scheduling workspacebuilds in the background.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeExecutor

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

Executor automatically starts or stops workspaces.

funcNewExecutor

New returns a new wsactions executor.

func (*Executor)Run

func (e *Executor) Run()

Run will cause executor to start or stop workspaces on everytick from its channel. It will stop when its context is Done, or whenits channel is closed.

func (*Executor)WithStatsChannel

func (e *Executor) WithStatsChannel(ch chan<-Stats) *Executor

WithStatsChannel will cause Executor to push a RunStats to ch afterevery tick.

typeStats

type Stats struct {Transitions map[uuid.UUID]database.WorkspaceTransitionElapsedtime.DurationErrorerror}

Stats contains information about one run of Executor.

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