package timeout

import "github.com/Microsoft/hcsshim/internal/timeout"

Index

Variables

var (
	// SystemCreate is the timeout for creating a compute system
	SystemCreate time.Duration = defaultTimeout

	// SystemStart is the timeout for starting a compute system
	SystemStart time.Duration = defaultTimeout

	// SystemPause is the timeout for pausing a compute system
	SystemPause time.Duration = defaultTimeout

	// SystemResume is the timeout for resuming a compute system
	SystemResume time.Duration = defaultTimeout

	// SystemSave is the timeout for saving a compute system
	SystemSave time.Duration = defaultTimeout

	// SyscallWatcher is the timeout before warning of a potential stuck platform syscall.
	SyscallWatcher time.Duration = defaultTimeout

	// Tar2VHD is the timeout for the tar2vhd operation to complete
	Tar2VHD time.Duration = defaultTimeout

	// ExternalCommandToStart is the timeout for external commands to start
	ExternalCommandToStart = defaultTimeout

	// ExternalCommandToComplete is the timeout for external commands to complete.
	// Generally this means copying data from their stdio pipes.
	ExternalCommandToComplete = defaultTimeout

	// TestDRetryLoop is the timeout for testd retry loop when onlining a SCSI disk in LCOW
	TestDRetryLoop = defaultTimeoutTestdRetry
)

External variables for HCSShim consumers to use.

Source Files

timeout.go

Version
v0.12.9 (latest)
Published
Oct 30, 2024
Platform
linux/amd64
Imports
3 packages
Last checked
14 hours ago

Tools for package owners.