smb

package
v1.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSmbMapped

func IsSmbMapped(remotePath string) (bool, error)

func NewSmbGlobalMapping

func NewSmbGlobalMapping(remotePath, username, password string) error
func NewSmbLink(remotePath, localPath string) error

NewSmbLink - creates a directory symbolic link to the remote share. The os.Symlink was having issue for cases where the destination was an SMB share - the container runtime would complain stating "Access Denied". Because of this, we had to perform this operation with powershell commandlet creating an directory softlink. Since os.Symlink is currently being used in working code paths, no attempt is made in alpha to merge the paths.

func RemoveSmbGlobalMapping

func RemoveSmbGlobalMapping(remotePath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL