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