Versions in this module Expand all Collapse all v1 v1.5.0 Nov 24, 2021 Changes in this version + func ParseRepoTable(text []byte) []map[string]string + func TryExecTrdl(cmd TrdlCommand, autoInstallTrdl bool) (bool, error) + type TrdlCommand interface + ConstructCommandError func(error) error + Exec func(isTrdlEnabled bool) error + GetChannel func() string + GetGroup func() string + GetLogWriter func() io.Writer + LogCommandError func(error) + type TrdlCommandCommonParams struct + Channel string + Group string + LogWriter io.Writer + Stdout io.Writer + func (command *TrdlCommandCommonParams) GetChannel() string + func (command *TrdlCommandCommonParams) GetGroup() string + type TrdlWerfBinPathCommand struct + func NewTrdlWerfBinPathCommand(group, channel string, stdout, logWriter io.Writer) *TrdlWerfBinPathCommand + func (command *TrdlWerfBinPathCommand) ConstructCommandError(err error) error + func (command *TrdlWerfBinPathCommand) Exec(isTrdlEnabled bool) error + func (command *TrdlWerfBinPathCommand) GetLogWriter() io.Writer + func (command *TrdlWerfBinPathCommand) LogCommandError(err error) + func (command *TrdlWerfBinPathCommand) Write(p []byte) (int, error) + type TrdlWerfExecCommand struct + WerfArgs []string + func NewTrdlWerfExecCommand(group, channel string, werfArgs []string, stdout, logWriter io.Writer) *TrdlWerfExecCommand + func (command *TrdlWerfExecCommand) ConstructCommandError(err error) error + func (command *TrdlWerfExecCommand) Exec(isTrdlEnabled bool) error + func (command *TrdlWerfExecCommand) GetLogWriter() io.Writer + func (command *TrdlWerfExecCommand) LogCommandError(err error) + func (command *TrdlWerfExecCommand) Write(p []byte) (int, error) + type TrdlWerfUpdateCommand struct + func NewTrdlWerfUpdateCommand(group, channel string, stdout, logWriter io.Writer) *TrdlWerfUpdateCommand + func (command *TrdlWerfUpdateCommand) ConstructCommandError(err error) error + func (command *TrdlWerfUpdateCommand) Exec(isTrdlEnabled bool) error + func (command *TrdlWerfUpdateCommand) GetLogWriter() io.Writer + func (command *TrdlWerfUpdateCommand) LogCommandError(err error) + func (command *TrdlWerfUpdateCommand) Write(p []byte) (int, error) + type TrdlWerfUseCommand struct + AsFile bool + func NewTrdlWerfUseCommand(group, channel string, stdout, logWriter io.Writer, asFile bool) *TrdlWerfUseCommand + func (command *TrdlWerfUseCommand) ConstructCommandError(err error) error + func (command *TrdlWerfUseCommand) Exec(isTrdlEnabled bool) error + func (command *TrdlWerfUseCommand) GetLogWriter() io.Writer + func (command *TrdlWerfUseCommand) LogCommandError(err error) + func (command *TrdlWerfUseCommand) Write(p []byte) (int, error) v1.5.0-beta1 Nov 22, 2021