Documentation
¶
Index ¶
- func ParseRepoTable(text []byte) []map[string]string
- func TryExecTrdl(cmd TrdlCommand, autoInstallTrdl bool) (bool, error)
- type TrdlCommand
- type TrdlCommandCommonParams
- type 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
- 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
- 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
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRepoTable ¶
func TryExecTrdl ¶
func TryExecTrdl(cmd TrdlCommand, autoInstallTrdl bool) (bool, error)
Types ¶
type TrdlCommand ¶
type TrdlCommandCommonParams ¶
type TrdlCommandCommonParams struct { Group string Channel string Stdout io.Writer LogWriter io.Writer }
func (*TrdlCommandCommonParams) GetChannel ¶
func (command *TrdlCommandCommonParams) GetChannel() string
func (*TrdlCommandCommonParams) GetGroup ¶
func (command *TrdlCommandCommonParams) GetGroup() string
type TrdlWerfBinPathCommand ¶
type TrdlWerfBinPathCommand struct { TrdlCommandCommonParams // contains filtered or unexported fields }
func NewTrdlWerfBinPathCommand ¶
func NewTrdlWerfBinPathCommand(group, channel string, stdout, logWriter io.Writer) *TrdlWerfBinPathCommand
func (*TrdlWerfBinPathCommand) ConstructCommandError ¶
func (command *TrdlWerfBinPathCommand) ConstructCommandError(err error) error
func (*TrdlWerfBinPathCommand) Exec ¶
func (command *TrdlWerfBinPathCommand) Exec(isTrdlEnabled bool) error
func (*TrdlWerfBinPathCommand) GetLogWriter ¶
func (command *TrdlWerfBinPathCommand) GetLogWriter() io.Writer
func (*TrdlWerfBinPathCommand) LogCommandError ¶
func (command *TrdlWerfBinPathCommand) LogCommandError(err error)
type TrdlWerfExecCommand ¶
type TrdlWerfExecCommand struct { TrdlCommandCommonParams WerfArgs []string // contains filtered or unexported fields }
func NewTrdlWerfExecCommand ¶
func NewTrdlWerfExecCommand(group, channel string, werfArgs []string, stdout, logWriter io.Writer) *TrdlWerfExecCommand
func (*TrdlWerfExecCommand) ConstructCommandError ¶
func (command *TrdlWerfExecCommand) ConstructCommandError(err error) error
func (*TrdlWerfExecCommand) Exec ¶
func (command *TrdlWerfExecCommand) Exec(isTrdlEnabled bool) error
func (*TrdlWerfExecCommand) GetLogWriter ¶
func (command *TrdlWerfExecCommand) GetLogWriter() io.Writer
func (*TrdlWerfExecCommand) LogCommandError ¶
func (command *TrdlWerfExecCommand) LogCommandError(err error)
type TrdlWerfUpdateCommand ¶
type TrdlWerfUpdateCommand struct {
TrdlCommandCommonParams
}
func NewTrdlWerfUpdateCommand ¶
func NewTrdlWerfUpdateCommand(group, channel string, stdout, logWriter io.Writer) *TrdlWerfUpdateCommand
func (*TrdlWerfUpdateCommand) ConstructCommandError ¶
func (command *TrdlWerfUpdateCommand) ConstructCommandError(err error) error
func (*TrdlWerfUpdateCommand) Exec ¶
func (command *TrdlWerfUpdateCommand) Exec(isTrdlEnabled bool) error
func (*TrdlWerfUpdateCommand) GetLogWriter ¶
func (command *TrdlWerfUpdateCommand) GetLogWriter() io.Writer
func (*TrdlWerfUpdateCommand) LogCommandError ¶
func (command *TrdlWerfUpdateCommand) LogCommandError(err error)
type TrdlWerfUseCommand ¶
type TrdlWerfUseCommand struct { TrdlCommandCommonParams AsFile bool // contains filtered or unexported fields }
func NewTrdlWerfUseCommand ¶
func NewTrdlWerfUseCommand(group, channel string, stdout, logWriter io.Writer, asFile bool) *TrdlWerfUseCommand
func (*TrdlWerfUseCommand) ConstructCommandError ¶
func (command *TrdlWerfUseCommand) ConstructCommandError(err error) error
func (*TrdlWerfUseCommand) Exec ¶
func (command *TrdlWerfUseCommand) Exec(isTrdlEnabled bool) error
func (*TrdlWerfUseCommand) GetLogWriter ¶
func (command *TrdlWerfUseCommand) GetLogWriter() io.Writer
func (*TrdlWerfUseCommand) LogCommandError ¶
func (command *TrdlWerfUseCommand) LogCommandError(err error)
Click to show internal directories.
Click to hide internal directories.