Versions in this module Expand all Collapse all v0 v0.2.0 Mar 28, 2024 v0.1.0 Sep 27, 2023 Changes in this version + const DefaultDirMode + const DefaultPort + const DirToken + const EndDirToken + const ErrorToken + const FileToken + const StatusOK + const TimestampToken + const WarningToken + func ParseFileInfo(resp string, modified *time.Time) (os.FileInfo, error) + func ParseTimeResponse(response string) (*time.Time, error) + type SCP struct + func New(client *ssh.Client, fs afero.Fs, logger logr.Logger) *SCP + func (s *SCP) Download(ctx context.Context, remote, local string) error + func (s *SCP) Open(dst string) (os.FileInfo, io.Reader, error) + func (s *SCP) Stat(dst string) (os.FileInfo, error) + func (s *SCP) Upload(ctx context.Context, local, remote string) error