Documentation ¶
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, ...)
- 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 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
- type HcsProcess
- type HcsProcessInformation
- type HcsSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 HcsGetProcessProperties ¶
func HcsGetProcessProperties(ctx gcontext.Context, process HcsProcess) (processProperties, result string, hr error)
func HcsGetServiceProperties ¶
func HcsModifyComputeSystem ¶
func HcsModifyProcess ¶
func HcsPauseComputeSystem ¶
func HcsResumeComputeSystem ¶
func HcsSignalProcess ¶
func HcsStartComputeSystem ¶
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 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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.