Documentation ¶
Index ¶
- type YarnExec
- func (instance *YarnExec) ExecuteCommand(arguments ...string) (out string, err error)
- func (instance *YarnExec) FlushLog()
- func (instance *YarnExec) GetPath(path string) (response string)
- func (instance *YarnExec) GetTempPath(subPath string) (response string)
- func (instance *YarnExec) GetWorkPath(subPath string) (response string)
- func (instance *YarnExec) IsInstalled() bool
- func (instance *YarnExec) LogDisableRotation()
- func (instance *YarnExec) LogFlush()
- func (instance *YarnExec) Pid() int
- func (instance *YarnExec) Root() string
- func (instance *YarnExec) SetLogger(logger gg_log.ILogger) *YarnExec
- func (instance *YarnExec) SetRoot(dir string) *YarnExec
- func (instance *YarnExec) SetSubTemp(enabled bool) *YarnExec
- func (instance *YarnExec) SetTemp(dir string) *YarnExec
- func (instance *YarnExec) Temp() string
- func (instance *YarnExec) TryKill() error
- func (instance *YarnExec) Version() (response string, err error)
- func (instance *YarnExec) Work() string
- type YarnHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YarnExec ¶
type YarnExec struct {
// contains filtered or unexported fields
}
func (*YarnExec) ExecuteCommand ¶
func (*YarnExec) GetTempPath ¶
func (*YarnExec) GetWorkPath ¶
func (*YarnExec) IsInstalled ¶
func (*YarnExec) LogDisableRotation ¶
func (instance *YarnExec) LogDisableRotation()
func (*YarnExec) SetSubTemp ¶
type YarnHelper ¶
type YarnHelper struct { }
var (
Yarn *YarnHelper
)
func (*YarnHelper) IsInstalled ¶
func (instance *YarnHelper) IsInstalled() bool
func (*YarnHelper) NewExec ¶
func (instance *YarnHelper) NewExec() *YarnExec
NewExec Creates new yarn exec
func (*YarnHelper) Version ¶
func (instance *YarnHelper) Version() (version string, err error)
Click to show internal directories.
Click to hide internal directories.