Movatterモバイル変換


[0]ホーム

URL:


autobuild

package
v2.23.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:24Imported 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.

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.DurationErrors      map[uuid.UUID]error}

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