package vmcompute
import "github.com/Microsoft/hcsshim/internal/vmcompute"
Index ¶
- func HcsCloseComputeSystem(ctx gcontext.Context, computeSystem HcsSystem) (hr error)
- func HcsCloseProcess(ctx gcontext.Context, process HcsProcess) (hr error)
- func HcsCreateProcess(ctx gcontext.Context, computeSystem HcsSystem, processParameters string) (processInformation HcsProcessInformation, process HcsProcess, result string, hr error)
- func HcsEnumerateComputeSystems(ctx gcontext.Context, query string) (computeSystems, result string, hr error)
- func HcsGetComputeSystemProperties(ctx gcontext.Context, computeSystem HcsSystem, propertyQuery string) (properties, result string, hr error)
- func HcsGetProcessProperties(ctx gcontext.Context, process HcsProcess) (processProperties, result string, hr error)
- func HcsGetServiceProperties(ctx gcontext.Context, propertyQuery string) (properties, result string, hr error)
- func HcsModifyComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, configuration string) (result string, hr error)
- func HcsModifyProcess(ctx gcontext.Context, process HcsProcess, settings string) (result string, hr error)
- func HcsModifyServiceSettings(ctx gcontext.Context, settings string) (result string, hr error)
- func HcsPauseComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsResumeComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsSaveComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsShutdownComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsSignalProcess(ctx gcontext.Context, process HcsProcess, options string) (result string, hr error)
- func HcsStartComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsTerminateComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
- func HcsTerminateProcess(ctx gcontext.Context, process HcsProcess) (result string, hr error)
- func HcsUnregisterComputeSystemCallback(ctx gcontext.Context, callbackHandle HcsCallback) (hr error)
- func HcsUnregisterProcessCallback(ctx gcontext.Context, callbackHandle HcsCallback) (hr error)
- type HcsCallback
- func HcsRegisterComputeSystemCallback(ctx gcontext.Context, computeSystem HcsSystem, callback uintptr, context uintptr) (callbackHandle HcsCallback, hr error)
- func HcsRegisterProcessCallback(ctx gcontext.Context, process HcsProcess, callback uintptr, context uintptr) (callbackHandle HcsCallback, hr error)
- type HcsProcess
- type HcsProcessInformation
- type HcsSystem
Functions ¶
func HcsCloseComputeSystem ¶
func HcsCloseProcess ¶
func HcsCloseProcess(ctx gcontext.Context, process HcsProcess) (hr error)
func HcsCreateProcess ¶
func HcsCreateProcess(ctx gcontext.Context, computeSystem HcsSystem, processParameters string) (processInformation HcsProcessInformation, process HcsProcess, result string, hr error)
func HcsEnumerateComputeSystems ¶
func HcsEnumerateComputeSystems(ctx gcontext.Context, query string) (computeSystems, result string, hr error)
func HcsGetComputeSystemProperties ¶
func HcsGetComputeSystemProperties(ctx gcontext.Context, computeSystem HcsSystem, propertyQuery string) (properties, result string, hr error)
func HcsGetProcessProperties ¶
func HcsGetProcessProperties(ctx gcontext.Context, process HcsProcess) (processProperties, result string, hr error)
func HcsGetServiceProperties ¶
func HcsGetServiceProperties(ctx gcontext.Context, propertyQuery string) (properties, result string, hr error)
func HcsModifyComputeSystem ¶
func HcsModifyComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, configuration string) (result string, hr error)
func HcsModifyProcess ¶
func HcsModifyProcess(ctx gcontext.Context, process HcsProcess, settings string) (result string, hr error)
func HcsModifyServiceSettings ¶
func HcsPauseComputeSystem ¶
func HcsPauseComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsResumeComputeSystem ¶
func HcsResumeComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsSaveComputeSystem ¶
func HcsSaveComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsShutdownComputeSystem ¶
func HcsShutdownComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsSignalProcess ¶
func HcsSignalProcess(ctx gcontext.Context, process HcsProcess, options string) (result string, hr error)
func HcsStartComputeSystem ¶
func HcsStartComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsTerminateComputeSystem ¶
func HcsTerminateComputeSystem(ctx gcontext.Context, computeSystem HcsSystem, options string) (result string, hr error)
func HcsTerminateProcess ¶
func HcsTerminateProcess(ctx gcontext.Context, process HcsProcess) (result string, hr error)
func HcsUnregisterComputeSystemCallback ¶
func HcsUnregisterComputeSystemCallback(ctx gcontext.Context, callbackHandle HcsCallback) (hr error)
func HcsUnregisterProcessCallback ¶
func HcsUnregisterProcessCallback(ctx gcontext.Context, callbackHandle HcsCallback) (hr error)
Types ¶
type HcsCallback ¶
HcsCallback is the handle associated with the function to call when events occur.
func HcsRegisterComputeSystemCallback ¶
func HcsRegisterComputeSystemCallback(ctx gcontext.Context, computeSystem HcsSystem, callback uintptr, context uintptr) (callbackHandle HcsCallback, hr error)
func HcsRegisterProcessCallback ¶
func HcsRegisterProcessCallback(ctx gcontext.Context, process HcsProcess, callback uintptr, context uintptr) (callbackHandle HcsCallback, hr error)
type HcsProcess ¶
HcsProcess is the handle associated with a created process in a compute system.
func HcsOpenProcess ¶
func HcsOpenProcess(ctx gcontext.Context, computeSystem HcsSystem, pid uint32) (process HcsProcess, result string, hr error)
type HcsProcessInformation ¶
type HcsProcessInformation struct { // ProcessId is the pid of the created process. ProcessId uint32 // StdInput is the handle associated with the stdin of the process. StdInput syscall.Handle // StdOutput is the handle associated with the stdout of the process. StdOutput syscall.Handle // StdError is the handle associated with the stderr of the process. StdError syscall.Handle // contains filtered or unexported fields }
HcsProcessInformation is the structure used when creating or getting process info.
func HcsGetProcessInfo ¶
func HcsGetProcessInfo(ctx gcontext.Context, process HcsProcess) (processInformation HcsProcessInformation, result string, hr error)
type HcsSystem ¶
HcsSystem is the handle associated with a created compute system.
func HcsCreateComputeSystem ¶
func HcsCreateComputeSystem(ctx gcontext.Context, id string, configuration string, identity syscall.Handle) (computeSystem HcsSystem, result string, hr error)
func HcsOpenComputeSystem ¶
func HcsOpenComputeSystem(ctx gcontext.Context, id string) (computeSystem HcsSystem, result string, hr error)
Source Files ¶
doc.go vmcompute.go zsyscall_windows.go
- Version
- v0.13.0 (latest)
- Published
- Apr 21, 2025
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 12 hours ago –
Tools for package owners.