Documentation ¶
Index ¶
- type Service
- func (t *Service) Close() error
- func (t *Service) CopyFile(ctx context.Context, local, remote string) error
- func (t *Service) GetDevice() *service.GenericDevice
- func (t *Service) GetPasswords() []string
- func (t *Service) GetPort() string
- func (t *Service) GetService(config *schema.GeneralConfig, host schema.Host) service.Service
- func (t *Service) GetUser() string
- func (t *Service) HandleSequence(ctx context.Context, handler service.HandlerFunc) error
- func (t *Service) RunCmd(val string, re *regexp.Regexp) (string, error)
- func (t *Service) SetConfig(config *schema.GeneralConfig)
- func (t *Service) SetHost(host schema.Host)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { CommandsExecuted []string FilesCopied []string AppConfig *schema.GeneralConfig Host schema.Host }
Service mocked.
func (*Service) GetDevice ¶
func (t *Service) GetDevice() *service.GenericDevice
func (*Service) GetPasswords ¶
func (*Service) GetService ¶
func (*Service) HandleSequence ¶
func (*Service) SetConfig ¶
func (t *Service) SetConfig(config *schema.GeneralConfig)
Click to show internal directories.
Click to hide internal directories.