Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facade ¶
type Facade interface { Ping() error ConfirmVersionMatch(version string) error GetTempDir() (string, error) GetOsType() (osvisitors.OsType, error) // Start() (*StartedDetails, error) StartDetached(workingDir string, commandLine ...string) (*StartedDetails, error) CheckPathsAreInSync(logger logger.Logger, localPath, remotePath string) (bool, error) Upload(localPath, remotePath string) error DownloadDir(remotePath, localPath string) error ReadFileContent(remotePath string) ([]byte, error) UploadFileContent(remotePath string, content []byte) error Stats(remotePath string) (*dtos.StatsDto, error) Copy(srcRemotePath, destRemotePath string) error Symlink(srcRemotePath, destRemoteSymlinkPath string) error Move(oldRemotePath, newRemotePath string) error Delete(remotePath string) error }
type Factory ¶
type Factory interface {
NewFacade(hostDetails host_details.HostDetails) Facade
}
Factory will create instances of Facade
func NewFactory ¶
func NewFactory(logger logger.Logger, gopsexecClient *gpClient.Client, filepathSummaryService filepath_summary.Service) Factory
NewFactory creates a new Factory instance
type Result ¶
func (*Result) AppendError ¶
func (*Result) AppendFeedback ¶
func (*Result) CombinedErrorLines ¶
func (*Result) CombinedFeedbackLines ¶
func (*Result) ErrorStrings ¶
type StartedDetails ¶
func (*StartedDetails) Wait ¶
func (s *StartedDetails) Wait() *Result
Click to show internal directories.
Click to hide internal directories.