Documentation ¶
Index ¶
- type TsNodeExec
- func (instance *TsNodeExec) ErrWriterAppend(w io.Writer)
- func (instance *TsNodeExec) GetPath(path string) (response string)
- func (instance *TsNodeExec) GetTempPath(subPath string) (response string)
- func (instance *TsNodeExec) GetWorkPath(subPath string) (response string)
- func (instance *TsNodeExec) IsInstalled() bool
- func (instance *TsNodeExec) LogDisableRotation()
- func (instance *TsNodeExec) LogFlush()
- func (instance *TsNodeExec) OutWriterAppend(w io.Writer)
- func (instance *TsNodeExec) Root() string
- func (instance *TsNodeExec) Run(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *TsNodeExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *TsNodeExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)
- func (instance *TsNodeExec) SetLogger(logger gg_log.ILogger) *TsNodeExec
- func (instance *TsNodeExec) SetRoot(dir string) *TsNodeExec
- func (instance *TsNodeExec) SetSubTemp(enabled bool) *TsNodeExec
- func (instance *TsNodeExec) SetTemp(dir string) *TsNodeExec
- func (instance *TsNodeExec) Temp() string
- func (instance *TsNodeExec) Version() (string, error)
- func (instance *TsNodeExec) Work() string
- type TsNodeHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TsNodeExec ¶
type TsNodeExec struct {
// contains filtered or unexported fields
}
func NewTsNodeExec ¶
func NewTsNodeExec(execPath string, logger gg_log.ILogger, filename string) *TsNodeExec
func (*TsNodeExec) ErrWriterAppend ¶
func (instance *TsNodeExec) ErrWriterAppend(w io.Writer)
func (*TsNodeExec) GetPath ¶
func (instance *TsNodeExec) GetPath(path string) (response string)
func (*TsNodeExec) GetTempPath ¶
func (instance *TsNodeExec) GetTempPath(subPath string) (response string)
func (*TsNodeExec) GetWorkPath ¶
func (instance *TsNodeExec) GetWorkPath(subPath string) (response string)
func (*TsNodeExec) IsInstalled ¶
func (instance *TsNodeExec) IsInstalled() bool
func (*TsNodeExec) LogDisableRotation ¶
func (instance *TsNodeExec) LogDisableRotation()
func (*TsNodeExec) LogFlush ¶
func (instance *TsNodeExec) LogFlush()
func (*TsNodeExec) OutWriterAppend ¶
func (instance *TsNodeExec) OutWriterAppend(w io.Writer)
func (*TsNodeExec) Root ¶
func (instance *TsNodeExec) Root() string
func (*TsNodeExec) Run ¶
func (instance *TsNodeExec) Run(args ...string) (*executor.ConsoleProgramSession, error)
func (*TsNodeExec) RunAsync ¶
func (instance *TsNodeExec) RunAsync(args ...string) (*executor.ConsoleProgramSession, error)
func (*TsNodeExec) RunWrapped ¶
func (instance *TsNodeExec) RunWrapped(args ...string) (*executor.ConsoleProgramSession, error)
func (*TsNodeExec) SetLogger ¶
func (instance *TsNodeExec) SetLogger(logger gg_log.ILogger) *TsNodeExec
func (*TsNodeExec) SetRoot ¶
func (instance *TsNodeExec) SetRoot(dir string) *TsNodeExec
func (*TsNodeExec) SetSubTemp ¶
func (instance *TsNodeExec) SetSubTemp(enabled bool) *TsNodeExec
func (*TsNodeExec) SetTemp ¶
func (instance *TsNodeExec) SetTemp(dir string) *TsNodeExec
func (*TsNodeExec) Temp ¶
func (instance *TsNodeExec) Temp() string
func (*TsNodeExec) Version ¶
func (instance *TsNodeExec) Version() (string, error)
func (*TsNodeExec) Work ¶
func (instance *TsNodeExec) Work() string
type TsNodeHelper ¶
type TsNodeHelper struct { }
var (
TsNode *TsNodeHelper
)
func (*TsNodeHelper) Install ¶
func (instance *TsNodeHelper) Install() (version string, err error)
func (*TsNodeHelper) IsInstalled ¶
func (instance *TsNodeHelper) IsInstalled() bool
func (*TsNodeHelper) NewExec ¶
func (instance *TsNodeHelper) NewExec(args ...string) *TsNodeExec
NewExec Creates new exec command with default password
func (*TsNodeHelper) Version ¶
func (instance *TsNodeHelper) Version() (version string, err error)
Click to show internal directories.
Click to hide internal directories.