...

Package timeout

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

Overview ▾

Index ▾

Package files

timeout.go

Variables

External variables for HCSShim consumers to use.

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
)