Documentation
¶
Index ¶
- func DeleteFileOrDirectory(client *winrm.Client, filePath string) error
- func DirectoryExists(client *winrm.Client, directoryPath string) (bool, error)
- func FileExists(client *winrm.Client, filePath string) (bool, error)
- func ResolvePath(client *winrm.Client, filePath string) (string, error)
- func RunPowershell(client *winrm.Client, elevatedUser string, elevatedPassword string, ...) (exitStatus int, stdout string, stderr string, err error)
- func TimeOrderedUUID() string
- func UploadDirectory(client *winrm.Client, rootPath string, excludeList []string) (remoteRootPath string, remoteAbsolutePaths []string, err error)
- func UploadFile(client *winrm.Client, filePath string, remoteFilePath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFileOrDirectory ¶ added in v1.2.0
func DirectoryExists ¶ added in v1.2.0
func FileExists ¶ added in v1.2.0
func RunPowershell ¶
func RunPowershell(client *winrm.Client, elevatedUser string, elevatedPassword string, vars string, commandText string) (exitStatus int, stdout string, stderr string, err error)
Run powershell
func TimeOrderedUUID ¶
func TimeOrderedUUID() string
func UploadDirectory ¶ added in v1.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.