Versions in this module Expand all Collapse all v0 v0.0.11 Jun 28, 2022 Changes in this version + type CallbackFuncPtr struct + FuncPtr func(runspace Runspace, message string, input []Object, ...) + func (callback CallbackFuncPtr) Callback(runspace Runspace, message string, input []Object, ...) + type CallbackHolder interface + Callback func(runspace Runspace, message string, input []Object, ...) + type CallbackResultsWriter interface + Write func(object Object, needsClose bool) + WriteString func(string) + type InvokeResults struct + Exception Object + Objects []Object + func (results *InvokeResults) Close() + func (results *InvokeResults) RemoveObjectFromClose(index int) + func (results *InvokeResults) Success() bool + type Object struct + func (obj Object) AddRef() Object + func (obj Object) Close() + func (obj Object) IsNull() bool + func (obj Object) JSONUnmarshal(userObject interface{}) error + func (obj Object) ToString() string + func (obj Object) Type() string + type Runspace struct + func CreateRemoteRunspace(loggerCallback logger.Simple, remoteMachine string, username string, ...) Runspace + func CreateRunspace(loggerCallback logger.Simple, callback CallbackHolder) Runspace + func CreateRunspaceSimple() Runspace + func (runspace Runspace) Close() + func (runspace Runspace) ExecCommand(commandStr string, useLocalScope bool, namedArgs map[string]interface{}, ...) *InvokeResults + func (runspace Runspace) ExecCommandJSONMarshalUnknown(commandStr string, useLocalScope bool, namedArgs map[string]interface{}, ...) *InvokeResults + func (runspace Runspace) ExecScript(commandStr string, useLocalScope bool, namedArgs map[string]interface{}, ...) *InvokeResults + func (runspace Runspace) ExecScriptJSONMarshalUnknown(commandStr string, useLocalScope bool, namedArgs map[string]interface{}, ...) *InvokeResults