Documentation ¶
Index ¶
- type BrewExec
- func (instance *BrewExec) ExecuteCommand(arguments ...string) (out string, err error)
- func (instance *BrewExec) FlushLog()
- func (instance *BrewExec) GetDir() string
- func (instance *BrewExec) Install(arguments ...string) (out string, err error)
- func (instance *BrewExec) IsInstalled() bool
- func (instance *BrewExec) Pid() int
- func (instance *BrewExec) SetDir(dir string) *BrewExec
- func (instance *BrewExec) TryKill() error
- func (instance *BrewExec) Version() (response string, err error)
- type BrewHelper
- func (instance *BrewHelper) GetPath(path string) (response string)
- func (instance *BrewHelper) GetTempPath(subPath string) (response string)
- func (instance *BrewHelper) IsInstalled() bool
- func (instance *BrewHelper) LogDisableRotation()
- func (instance *BrewHelper) LogFlush()
- func (instance *BrewHelper) NewExec() *BrewExec
- func (instance *BrewHelper) Root() string
- func (instance *BrewHelper) SetRoot(root string)
- func (instance *BrewHelper) Temp() string
- func (instance *BrewHelper) Version() (version string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrewExec ¶
type BrewExec struct {
// contains filtered or unexported fields
}
func (*BrewExec) ExecuteCommand ¶
func (*BrewExec) IsInstalled ¶
type BrewHelper ¶
type BrewHelper struct {
// contains filtered or unexported fields
}
var (
Brew *BrewHelper
)
func (*BrewHelper) GetPath ¶
func (instance *BrewHelper) GetPath(path string) (response string)
func (*BrewHelper) GetTempPath ¶
func (instance *BrewHelper) GetTempPath(subPath string) (response string)
func (*BrewHelper) IsInstalled ¶
func (instance *BrewHelper) IsInstalled() bool
func (*BrewHelper) LogDisableRotation ¶
func (instance *BrewHelper) LogDisableRotation()
func (*BrewHelper) LogFlush ¶
func (instance *BrewHelper) LogFlush()
func (*BrewHelper) NewExec ¶
func (instance *BrewHelper) NewExec() *BrewExec
NewExec Creates new exec command with default password
func (*BrewHelper) Root ¶
func (instance *BrewHelper) Root() string
func (*BrewHelper) SetRoot ¶
func (instance *BrewHelper) SetRoot(root string)
func (*BrewHelper) Temp ¶
func (instance *BrewHelper) Temp() string
func (*BrewHelper) Version ¶
func (instance *BrewHelper) Version() (version string, err error)
Click to show internal directories.
Click to hide internal directories.